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

Disassembly:
push 0xffffffffffffffff
push 0x4d17a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0x1b88]
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.0042d420
push 0x20
lea ecx, [esp + 0x20]
call fcn.004196c0
mov dword [esp + 0x1c], vtable.DirTable.0
xor ebx, ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x78], ebx
call fcn.0042d950
cmp ebp, ebx
jne 0x40be7d
xor eax, eax
jmp 0x40be80
mov eax, dword [ebp + 0x1c]
mov ecx, dword [0x4f5e08]
push ebx
push ebx
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00473c00
push 0x10b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.00473ee0
mov edx, dword [0x4ed220]
lea ecx, [esp + 0x38]
push edx
call fcn.00473e60
lea ecx, [esp + 0x38]
call fcn.00473fa0
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp eax, 1
mov dword [esp + 0x10], 1
setg cl
xor edi, edi
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x40bfd6
cmp ebx, eax
jge 0x40bfcd
test ebx, ebx
jl 0x40bfcd
mov edx, dword [esp + 0x20]
mov esi, dword [edx + ebx*4]
test esi, esi
je 0x40bfcd
mov ecx, esi
call fcn.00425f20
test eax, eax
je 0x40bfc9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40bf58
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
push eax
call fcn.0042db20
push edi
call fcn.004bd4c4
mov edi, dword [esi + 0x34]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00425340
mov edx, dword [ebp + 0xcc]
push eax
mov eax, dword [ebp + 0x144]
push edi
push edx
push eax
call fcn.004011d0
add esp, 0x14
mov edi, eax
jmp 0x40bf7d
lea ecx, [esp + 0x38]
call fcn.00473fd0
mov ecx, dword [esp + 0x24]
push ecx
push ebx
lea ecx, [esp + 0x40]
call fcn.00474000
lea ecx, [esp + 0x38]
call fcn.00473f20
test eax, eax
je 0x40bfd6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bf8d
mov dword [esp + 0x10], 0
test edi, edi
je 0x40bfd6
mov ecx, dword [esi + 0x24]
push edi
call fcn.00439870
mov ecx, dword [esi + 0x2c]
or ch, 1
mov dword [esi + 0x2c], ecx
mov ecx, esi
call fcn.00425540
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40bfc9
mov esi, dword [esi + 0x18]
mov edx, dword [ebp + 0xd0]
push esi
push esi
push 0x1015
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x40bee9
mov eax, dword [0x4f83ec]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x22c]
test al, al
je 0x40bffe
mov esi, dword [esp + 0x14]
push 5
mov ecx, esi
call fcn.0042ee00
jmp 0x40c002
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0042e0a0
mov ecx, esi
call fcn.0042d4d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.00473c60
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
test eax, eax
mov dword [esp + 0x1c], vtable.Table_class_DirEntry_.0
je 0x40c062
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x40c062
cmp esi, eax
jge 0x40c05d
test esi, esi
jl 0x40c05d
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x40c05d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x40c044
mov eax, dword [esp + 0x20]
push eax
call fcn.004bd4c4
mov ecx, dword [esp + 0x6c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret