Function at 0x408bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5593d2
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x56b800]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov edx, dword [0x56b808]
xor ebp, ebp
cmp esi, ebp
mov edi, ecx
mov ecx, dword [0x56b804]
mov dword [esp + 0x5c], eax
mov eax, dword [0x56b80c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
je 0x4090fe
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x44]
push edx
push esi
call eax
test eax, eax
jl 0x4090fe
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x5c]
push edx
push esi
call eax
test eax, eax
jl 0x4090fe
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
lea edx, [esp + 0x1c]
push edx
push esi
call eax
test eax, eax
jl 0x4090fe
push 1
lea ecx, [edi + 0x2c]
call fcn.0050f31c
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4090fe
mov eax, dword [esp + 0x44]
cmp eax, ebp
jne 0x408dc5
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x570288
push esi
mov dword [esp + 0x20], ebp
xor edi, edi
call eax
test eax, eax
jl 0x4090fe
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408d01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebp
cmp esi, ebp
jl 0x4090fe
cmp ebx, ebp
je 0x408d4b
mov eax, ebx
mov eax, dword [eax + 4]
mov ecx, 0x5703b8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408d3d
cmp dx, bp
je 0x408d39
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408d3d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x408d17
xor eax, eax
jmp 0x408d42
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x408d4b
mov edi, 1
mov eax, dword [esp + 0x30]
cmp eax, 4
je 0x408d61
cmp eax, 3
je 0x408d61
cmp edi, ebp
je 0x409090
mov eax, ebx
cmp eax, ebp
je 0x40917b
mov eax, dword [eax + 4]
mov ecx, 0x5703b8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408d99
cmp dx, bp
je 0x408d95
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408d99
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x408d73
xor eax, eax
jmp 0x408d9e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
mov edi, ebx
jne 0x408db2
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 8]
mov ecx, edi
call fcn.00464f90
mov edx, dword [esp + 0x1c]
mov esi, edi
mov dword [edi + 0x34], edx
call fcn.00464ef0
jmp 0x40917b
cmp eax, 1
jne 0x409090
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x48], ebp
call edx
test eax, eax
jl 0x4090fe
xor eax, eax
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x30], eax
jbe 0x409090
jmp 0x408e04
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
push esi
call eax
test eax, eax
jl 0x40907b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x408e41
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebp
cmp esi, ebp
jl 0x40907b
lea eax, [esp + 0x4c]
push eax
push 0x5702d8
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x408e8b
lea ecx, [esp + 0x4c]
push ecx
push 0x5702e8
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x408e8b
lea edx, [esp + 0x4c]
push edx
push 0x5702f8
call fcn.004030f0
add esp, 8
test eax, eax
je 0x408ed9
cmp ebx, ebp
jne 0x408ed9
push 0xc4
call fcn.00503623
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebp
mov dword [esp + 0x78], ebp
je 0x408eb8
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
push ecx
push eax
call fcn.00463f20
jmp 0x408eba
xor eax, eax
cmp eax, ebp
mov dword [esp + 0x78], 0xffffffff
mov ebx, eax
je 0x4090da
mov ecx, dword [esp + 0x3c]
push eax
add ecx, 0x6c
call fcn.0050bb0d
mov edi, dword [esp + 0x24]
cmp edi, ebp
je 0x408f2d
mov eax, dword [edi + 4]
mov ecx, 0x5703b8
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408f16
cmp dx, bp
je 0x408f12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408f16
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x408ef0
xor eax, eax
jmp 0x408f1b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x408f2d
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 8]
mov ecx, edi
call fcn.00464f90
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x40], ebp
call eax
push 0x5703b8
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0040c150
cmp esi, ebp
mov edi, 1
mov dword [esp + 0x78], edi
jl 0x408f78
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040c0d0
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [esp + 0x4c]
push eax
push 0x5702d8
call fcn.004030f0
add esp, 8
test eax, eax
je 0x408f9d
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], eax
jmp 0x40906a
lea ecx, [esp + 0x4c]
push ecx
push 0x5702e8
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40900e
mov esi, dword [esp + 0x14]
call fcn.0040a4c0
test eax, eax
je 0x408fcf
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x20], eax
jmp 0x40906a
mov esi, dword [esp + 0x14]
call fcn.0040a680
test eax, eax
je 0x408fe4
mov dword [ebx + 0xbc], edi
jmp 0x408ff7
mov esi, dword [esp + 0x14]
call fcn.0040a760
test eax, eax
je 0x408ff7
mov dword [ebx + 0xc0], edi
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov edi, dword [esp + 0x14]
mov eax, ebx
call fcn.00464a30
jmp 0x40906a
lea edx, [esp + 0x4c]
push edx
push 0x5702f8
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40903d
mov esi, dword [esp + 0x14]
call fcn.0040a4c0
test eax, eax
je 0x40903d
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
jmp 0x40906a
lea eax, [esp + 0x4c]
push eax
push 0x5702f8
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40906a
mov esi, dword [esp + 0x14]
call fcn.0040a5a0
test eax, eax
je 0x40906a
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x28], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call fcn.00401660
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
jb 0x408e00
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 0x1c], ebp
mov eax, dword [esp + 0x2c]
je 0x4090ac
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
jmp 0x4090b9
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp eax, ebp
jl 0x40917b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x409102
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4090ee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4090fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x409180
xor edi, edi
cmp dword [esp + 0x34], ebp
jbe 0x40917b
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x409172
cmp dword [esp + 0x34], 1
ja 0x40914b
lea ecx, [esp + 0x5c]
push 0x570308
push ecx
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40914b
mov eax, ebx
jmp 0x40914d
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push eax
push edx
call fcn.00408bd0
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40916e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebp
je 0x4090fe
add edi, 1
cmp edi, dword [esp + 0x34]
jb 0x409110
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0052944d
add esp, 0x68
ret 8