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

Disassembly:
push 0xffffffffffffffff
push 0x44bc88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x54], ebp
mov eax, dword [ebp + 0x1c]
xor edi, edi
push eax
mov dword [esp + 0x7c], edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00437852
mov esi, eax
mov eax, dword [0x461cd8]
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
push ecx
push 0x433
mov ecx, ebp
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
push 0x3ed
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00424ea3
mov ebx, eax
mov eax, dword [esi + 0x88]
add esp, 4
mov dword [esp + 0x38], ebx
test eax, eax
mov dword [esp + 0x10], edi
jle 0x40d86e
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x84]
push ecx
lea ecx, [edx + edi*4]
call fcn.00434747
cmp eax, 0xffffffff
jne 0x40d856
mov eax, dword [esi + 0x88]
inc edi
cmp edi, eax
jl 0x40d82d
mov dword [esp + 0x10], edi
jmp 0x40d86e
mov eax, dword [esi + 0x98]
mov dword [esp + 0x10], edi
lea ecx, [eax + edi*4 + 4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00436ddf
mov edx, dword [esp + 0x14]
push 0x465fb0
push edx
call fcn.00424b35
add esp, 8
test eax, eax
je 0x40db59
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push 0x3ee
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00424ea3
mov edx, dword [ebp + 0xf4]
add esp, 4
mov dword [esp + 0x48], eax
push 0
push 0
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x40], eax
call fcn.00435db8
mov eax, dword [0x461cd8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x84], 7
call fcn.00436a1b
push ecx
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
mov byte [esp + 0x88], 8
call fcn.00436a1b
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 7
push ecx
mov ecx, esi
call fcn.00415050
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 9
call fcn.00436ddf
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 7
call fcn.00436ca6
xor ebp, ebp
test ebx, ebx
jle 0x40da13
mov dword [esp + 0x28], edi
lea ebx, [edi*4]
jmp 0x40d963
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x40daa5
mov edx, dword [esi + 0x98]
lea ecx, [esp + 0x30]
add edx, ebx
push edx
call fcn.00436a1b
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0xa
lea edi, [eax + 1]
push edi
push ecx
lea ecx, [esp + 0x38]
call fcn.00434631
xor esi, esi
mov byte [esp + 0x78], 0xb
test edi, edi
jle 0x40d9d4
mov edx, dword [esp + 0x2c]
mov al, byte [esi + edx]
mov byte [esp + 0x50], al
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043716d
cmp eax, 0xffffffff
je 0x40d9d4
cmp esi, dword [esp + 0x40]
je 0x40da5b
inc esi
cmp esi, edi
jl 0x40d9a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 7
call fcn.00436ca6
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
inc ebp
sub ebx, 4
dec ecx
cmp ebp, eax
mov dword [esp + 0x28], ecx
jl 0x40d95f
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x64]
push str.FAIL
sub edi, ebx
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], edi
call fcn.00435f94
mov edx, ebx
neg edx
cmp edi, edx
jl 0x40da48
mov eax, dword [esi + 0x98]
lea ecx, [eax + edi*4 + 4]
push ecx
lea ecx, [esp + 0x18]
call fcn.00436ddf
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 6
call fcn.00436ca6
jmp 0x40d8d4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
or edx, 0xffffffff
push 0x4614e0
sub edx, ebp
push eax
add esi, edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], esi
call fcn.00435f94
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 7
call fcn.00436ca6
mov ebx, dword [esp + 0x38]
mov edi, esi
mov esi, dword [esp + 0x34]
jmp 0x40da2c
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 6
call fcn.00436ca6
mov edx, dword [0x461cd8]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x64]
xor edi, edi
xor esi, esi
mov byte [esp + 0x78], 0xc
test eax, eax
mov dword [esp + 0x40], edi
jle 0x40daf9
mov eax, dword [esp + 0x60]
push 0x4614e0
mov eax, dword [eax + esi*4]
push eax
call fcn.00424b35
add esp, 8
test eax, eax
jne 0x40daec
inc edi
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x40dad2
mov dword [esp + 0x40], edi
fild dword [esp + 0x40]
sub esp, 8
lea ecx, [esp + 0x44]
fmul dword [0x450108]
fidiv dword [esp + 0x6c]
fstp qword [esp]
push 0x4614d8
push ecx
call fcn.00434acd
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x64]
add esp, 0x10
add ecx, 0x18c
push edx
push 2
push eax
call fcn.00434dd1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 6
call fcn.00436ca6
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 5
call fcn.00435deb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 4
call fcn.00436ca6
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.00436ca6
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00436ca6
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.00436ca6
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0
call fcn.00436ca6
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.00436ca6
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 8