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

Disassembly:
push 0xffffffffffffffff
push 0x477e31
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], eax
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xb8], 4
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
push eax
lea edx, [esp + 0xd0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], eax
push edx
mov byte [ecx + 4], al
call fcn.00401910
call fcn.0040eb60
mov dword [esp + 0x54], eax
mov eax, 8
add esp, 0x1c
mov word [esp + 0x44], ax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov ebx, dword [esp + 0x34]
lea esi, [esp + 0x70]
call fcn.0040eac0
mov byte [esp + 0x9c], 5
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
cmp eax, 0x10
jb 0x40870b
mov esi, edx
mov dword [esp + 0x18], esi
test edx, edx
je 0x4084aa
mov ecx, edx
cmp eax, 0x10
jae 0x40848e
lea ecx, [esp + 0x74]
cmp ecx, esi
ja 0x4084aa
mov ecx, edx
cmp eax, 0x10
jae 0x40849d
lea ecx, [esp + 0x74]
mov ebp, dword [esp + 0x84]
add ecx, ebp
cmp esi, ecx
jbe 0x4084c1
call fcn.0045e79a
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov ecx, edx
cmp eax, 0x10
jae 0x4084cc
lea ecx, [esp + 0x74]
lea edi, [ecx + ebp]
test edi, edi
je 0x4084f3
mov ecx, edx
cmp eax, 0x10
jae 0x4084de
lea ecx, [esp + 0x74]
cmp ecx, edi
ja 0x4084f3
mov ecx, edx
cmp eax, 0x10
jae 0x4084ed
lea ecx, [esp + 0x74]
add ecx, ebp
cmp edi, ecx
jbe 0x40850a
call fcn.0045e79a
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
lea ebx, [esp + 0x70]
cmp eax, 0x10
jb 0x408718
mov esi, edx
test edx, edx
je 0x40853d
mov ecx, edx
cmp eax, 0x10
jae 0x408528
lea ecx, [esp + 0x74]
cmp ecx, esi
ja 0x40853d
cmp eax, 0x10
mov eax, edx
jae 0x408537
lea eax, [esp + 0x74]
add eax, ebp
cmp esi, eax
jbe 0x408542
call fcn.0045e79a
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x74]
mov ecx, eax
push ecx
push edi
push ebx
push esi
push eax
lea edx, [esp + 0x54]
push fcn.0045ea02
push edx
call fcn.0040d9f0
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
add esp, 0x20
cmp ecx, 0x10
jb 0x408721
mov dword [esp + 0x14], edx
test edx, edx
je 0x4085b4
mov eax, edx
cmp ecx, 0x10
jae 0x408591
lea eax, [esp + 0xb0]
cmp eax, dword [esp + 0x14]
ja 0x4085b4
mov eax, edx
cmp ecx, 0x10
jae 0x4085a5
lea eax, [esp + 0xb0]
mov ebp, dword [esp + 0xc0]
add eax, ebp
cmp dword [esp + 0x14], eax
jbe 0x4085ce
call fcn.0045e79a
mov ecx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov edx, dword [esp + 0xb0]
mov eax, edx
cmp ecx, 0x10
jae 0x4085dc
lea eax, [esp + 0xb0]
lea edi, [eax + ebp]
test edi, edi
je 0x408609
mov eax, edx
cmp ecx, 0x10
jae 0x4085f1
lea eax, [esp + 0xb0]
cmp eax, edi
ja 0x408609
mov eax, edx
cmp ecx, 0x10
jae 0x408603
lea eax, [esp + 0xb0]
add eax, ebp
cmp edi, eax
jbe 0x408623
call fcn.0045e79a
mov ecx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov edx, dword [esp + 0xb0]
lea ebx, [esp + 0xac]
cmp ecx, 0x10
jb 0x408731
mov esi, edx
test edx, edx
je 0x40865f
mov eax, edx
cmp ecx, 0x10
jae 0x408647
lea eax, [esp + 0xb0]
cmp eax, esi
ja 0x40865f
mov eax, edx
cmp ecx, 0x10
jae 0x408659
lea eax, [esp + 0xb0]
add ebp, eax
cmp esi, ebp
jbe 0x408664
call fcn.0045e79a
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0xb0]
mov ecx, eax
push ecx
push edi
push ebx
push esi
push eax
lea edx, [esp + 0x54]
push fcn.0045ea02
push edx
call fcn.0040d9f0
mov ecx, dword [esp + 0xd0]
mov ebp, 0x10
add esp, 0x20
cmp dword [esp + 0xc4], ebp
jae 0x4086a5
lea ecx, [esp + 0xb0]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0xc0]
mov eax, esi
cmp esi, edi
jb 0x4086bb
mov eax, edi
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x4086cc
lea edx, [esp + 0x74]
call fcn.00401d10
test eax, eax
jne 0x40874f
cmp esi, edi
jb 0x40874f
cmp esi, edi
setne al
test eax, eax
jne 0x40874f
push 0x30
call fcn.0043968c
mov ebx, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x40873d
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov edi, dword [esp + 0xa8]
push edx
push ecx
mov esi, eax
call fcn.00401e20
jmp 0x40873f
lea esi, [esp + 0x74]
mov dword [esp + 0x18], esi
jmp 0x408483
lea esi, [esp + 0x74]
jmp 0x40851d
lea eax, [esp + 0xb0]
mov dword [esp + 0x14], eax
jmp 0x408583
lea esi, [esp + 0xb0]
jmp 0x408639
xor eax, eax
lea edi, [ebx + 0x20]
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.0040d100
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x174]
call eax
xor esi, esi
cmp eax, esi
jl 0x4089cc
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x4089cc
mov dword [esp + 0x18], esi
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0xa0], 6
mov ecx, dword [eax]
push 0x4822dc
push eax
mov eax, dword [ecx]
call eax
cmp eax, esi
jl 0x4089b4
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x4089b8
mov dword [esp + 0x2c], esi
mov byte [esp + 0x9c], 7
mov edi, dword [esp + 0x44]
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x64]
push ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0xc], edi
call ecx
cmp eax, esi
jl 0x40899c
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4089a0
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0xa0], 8
mov edx, dword [eax]
mov edx, dword [edx]
push 0x4822dc
push eax
call edx
cmp eax, esi
jl 0x40897d
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x408986
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, esi
jl 0x40897d
xor ebp, ebp
cmp dword [esp + 0x24], ebp
jle 0x40897d
mov dword [esp + 0x1c], esi
mov byte [esp + 0x9c], 9
mov ecx, 3
mov edx, ecx
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov word [esp + 0x58], dx
mov edi, dword [esp + 0x58]
mov dword [eax], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x64]
mov dword [eax + 0xc], edi
mov word [esp + 0x70], cx
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x84]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x8c]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], edi
call ecx
cmp eax, esi
jl 0x40895a
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40895e
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xa0], 0xa
mov edx, dword [eax]
mov edx, dword [edx]
push 0x4822cc
push eax
call edx
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x408946
cmp eax, esi
jl 0x408946
push 0x30
call fcn.0043968c
add esp, 4
cmp eax, esi
je 0x40892a
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov edi, dword [esp + 0x28]
push edx
push ecx
mov esi, eax
call fcn.00401e20
jmp 0x40892c
xor eax, eax
mov edi, dword [esp + 0x20]
add edi, 0x20
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.0040d100
mov ecx, dword [esp + 0x28]
xor esi, esi
mov byte [esp + 0x9c], 9
cmp ecx, esi
je 0x40895a
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9c], 8
cmp eax, esi
je 0x408972
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x408857
mov eax, dword [esp + 0x14]
mov ebp, 0x10
xor esi, esi
mov byte [esp + 0x9c], 7
cmp eax, esi
je 0x40899c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x9c], 6
cmp eax, esi
je 0x4089b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x9c], 5
cmp ecx, esi
je 0x4089cc
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x88], ebp
jb 0x4089ed
mov eax, dword [esp + 0x74]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], esi
mov byte [esp + 0x74], 0
cmp eax, esi
je 0x408a1c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x9c], 0
mov eax, dword [esp + 0xa8]
cmp eax, esi
je 0x408a37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0xc4], ebp
jb 0x408a50
mov eax, dword [esp + 0xb0]
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x8c
ret 0x24