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

Disassembly:
push 0xffffffffffffffff
push 0x44bc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x4c], esi
mov eax, dword [esi + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x78], ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00437852
mov ebp, eax
mov eax, dword [0x461cd8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 5
push ecx
push 0x433
mov ecx, esi
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
lea edx, [esp + 0x20]
mov ecx, esi
push edx
push 0x3ed
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov eax, dword [esp + 0x20]
push eax
call fcn.00424ea3
mov edi, eax
mov eax, dword [ebp + 0x88]
add esp, 4
mov dword [esp + 0x30], edi
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x40d44a
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x84]
push ecx
lea ecx, [edx + ebx*4]
call fcn.00434747
cmp eax, 0xffffffff
jne 0x40d432
mov eax, dword [ebp + 0x88]
inc ebx
cmp ebx, eax
jl 0x40d409
mov dword [esp + 0x10], ebx
jmp 0x40d44a
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x10], ebx
lea ecx, [eax + ebx*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 0x40d70e
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push 0x3ee
call fcn.0043adc7
mov ecx, eax
call fcn.0043821d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00424ea3
mov edx, dword [esi + 0xf4]
add esp, 4
mov dword [esp + 0x3c], eax
push 0
push 0
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], eax
call fcn.00435db8
mov eax, dword [0x461cd8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x80], 7
call fcn.00436a1b
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
mov byte [esp + 0x84], 8
call fcn.00436a1b
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 7
push ecx
mov ecx, ebp
call fcn.00415050
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 9
call fcn.00436ddf
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 7
call fcn.00436ca6
xor esi, esi
test edi, edi
jle 0x40d5cb
lea edi, [ebx*4]
test ebx, ebx
jl 0x40d65b
mov edx, dword [ebp + 0x98]
lea ecx, [esp + 0x2c]
add edx, edi
push edx
call fcn.00436a1b
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x18]
inc eax
mov byte [esp + 0x74], 0xa
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00434631
mov edx, dword [esp + 0x18]
mov byte [esp + 0x74], 0xb
mov al, byte [edx]
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004343c3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
call fcn.00434747
cmp eax, 0xffffffff
jne 0x40d613
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 7
call fcn.00436ca6
mov eax, dword [esp + 0x30]
inc esi
sub edi, 4
dec ebx
cmp esi, eax
jl 0x40d535
mov ebx, dword [esp + 0x10]
mov edi, eax
mov edx, dword [esp + 0x60]
sub ebx, edi
push str.FAIL
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ebx
call fcn.00435f94
mov eax, edi
neg eax
cmp ebx, eax
jl 0x40d600
mov ecx, dword [ebp + 0x98]
lea edx, [ecx + ebx*4 + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.00436ddf
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call fcn.00436ca6
jmp 0x40d4b0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
or eax, 0xffffffff
push 0x4614e0
sub eax, esi
push ecx
add edx, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], edx
call fcn.00435f94
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 0xa
call fcn.00436ca6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 7
call fcn.00436ca6
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
jmp 0x40d5e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call fcn.00436ca6
mov eax, dword [0x461cd8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
xor edi, edi
xor esi, esi
mov byte [esp + 0x74], 0xc
test eax, eax
mov dword [esp + 0x30], edi
jle 0x40d6ae
mov ecx, dword [esp + 0x5c]
push 0x4614e0
mov eax, dword [ecx + esi*4]
push eax
call fcn.00424b35
add esp, 8
test eax, eax
jne 0x40d6a1
inc edi
mov eax, dword [esp + 0x60]
inc esi
cmp esi, eax
jl 0x40d687
mov dword [esp + 0x30], edi
fild dword [esp + 0x30]
sub esp, 8
lea edx, [esp + 0x3c]
fmul dword [0x450108]
fidiv dword [esp + 0x68]
fstp qword [esp]
push 0x4614d8
push edx
call fcn.00434acd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x5c]
add esp, 0x10
push eax
push 2
push ecx
lea ecx, [edx + 0x18c]
call fcn.00434dd1
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 6
call fcn.00436ca6
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 5
call fcn.00435deb
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.00436ca6
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 3
call fcn.00436ca6
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.00436ca6
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.00436ca6
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 0
call fcn.00436ca6
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00436ca6
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 8