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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1b0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp + 0x68], ebx
call fcn.0047cfd9
lea ecx, [ebx + 0x54]
call fcn.004da179
xor eax, eax
mov dword [ebp + 0x54], eax
cmp dword [0x88d718], eax
je 0x4df32b
mov dword [ebp + 0x64], eax
mov eax, dword [0x88d710]
mov ecx, dword [ebp + 0x64]
lea edi, [ecx + eax]
test byte [edi + 8], 4
je 0x4df315
mov ecx, dword [edi + 0x10]
call fcn.0049772c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4deff9
sub eax, edx
lea esi, [eax + 1]
call fcn.004a19fc
mov dword [eax + 0x18], esi
call fcn.004a19fc
mov eax, dword [eax + 0x18]
shr eax, 0x1f
test al, 1
jne 0x4df02f
call fcn.004a19fc
mov eax, dword [eax + 0x18]
call fcn.00401000
mov esi, esp
xor ebx, ebx
jmp 0x4df044
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov dword [0x89444c], eax
mov dword [0], ebx
xor esi, esi
call fcn.004a19fc
mov dword [eax + 0x1c], esi
call fcn.004a19fc
mov ecx, dword [edi + 0x10]
mov esi, dword [eax + 0x18]
call fcn.0049772c
mov dword [ebp + 0x6c], eax
call fcn.004a19fc
mov eax, dword [eax + 0x1c]
push esi
push dword [ebp + 0x6c]
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp + 0x70], eax
call fcn.004974fd
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x4df082
sub eax, ecx
sar eax, 1
lea esi, [eax + 1]
call fcn.004a19fc
mov dword [eax + 0x18], esi
call fcn.004a19fc
mov eax, dword [eax + 0x18]
shr eax, 0x1f
test al, 1
jne 0x4df0bd
call fcn.004a19fc
mov eax, dword [eax + 0x18]
add eax, eax
call fcn.00401000
mov esi, esp
jmp 0x4df0d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x89444c], eax
mov dword [0], ebx
xor esi, esi
call fcn.004a19fc
mov dword [eax + 0x1c], esi
call fcn.004a19fc
mov ecx, dword [edi + 0x10]
mov esi, dword [eax + 0x18]
call fcn.004974fd
mov dword [ebp + 0x6c], eax
call fcn.004a19fc
mov eax, dword [eax + 0x1c]
lea ecx, [esi + esi]
push ecx
push dword [ebp + 0x6c]
push eax
call sub.msvcrt.dll_memcpy
mov dword [ebp + 0x50], eax
add esp, 0xc
xor eax, eax
cmp dword [0x88de2c], ebx
jmp 0x4df14d
mov ecx, dword [0x88de24]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x478], ebx
jne 0x4df143
mov eax, dword [esi + 0x474]
cmp eax, ebx
je 0x4df143
push dword [ebp + 0x70]
push eax
call sub.msvcrt.dll__strcmpi
pop ecx
pop ecx
test eax, eax
jne 0x4df143
push dword [edi]
mov ecx, esi
call fcn.00496ac6
mov eax, dword [ebp + 0x74]
inc eax
cmp eax, dword [0x88de2c]
mov dword [ebp + 0x74], eax
jne 0x4df110
mov dword [ebp + 0x70], ebx
cmp dword [edi + 0x24], ebx
je 0x4df312
mov dword [ebp + 0x74], ebx
mov esi, dword [edi + 0x1c]
add esi, dword [ebp + 0x74]
xor eax, eax
cmp dword [0x88de2c], ebx
jmp 0x4df1ab
mov ecx, dword [0x88de24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x478]
cmp ecx, dword [edi]
jne 0x4df1a1
mov eax, dword [eax + 0x470]
cmp eax, ebx
je 0x4df1a1
push dword [esi + 8]
push eax
call sub.msvcrt.dll__strcmpi
pop ecx
pop ecx
test eax, eax
je 0x4df2ff
mov eax, dword [ebp + 0x6c]
inc eax
cmp eax, dword [0x88de2c]
mov dword [ebp + 0x6c], eax
jne 0x4df171
push 0x188
lea eax, [ebp - 0x138]
push ebx
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x11c], 1
mov ecx, dword [esi + 4]
add esp, 0xc
call fcn.0042876e
mov dword [ebp - 0x118], eax
test byte [esi + 0x3c], 2
je 0x4df1f2
mov ecx, dword [0x8968e0]
mov byte [ebp - 0xe0], 0xf
jmp 0x4df1ff
mov ecx, dword [0x8968dc]
mov byte [ebp - 0xe0], 0xe
call fcn.0042876e
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi]
shl eax, 0x10
or eax, dword [ebp + 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [esi + 8]
call fcn.0042897a
mov ecx, dword [ebp + 0x50]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x70], eax
movzx eax, word [esi + 0x30]
mov dword [ebp - 0x20], eax
movzx eax, word [esi + 0x32]
mov dword [ebp - 0x1c], eax
movzx eax, word [esi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
call fcn.0042876e
or dword [ebp + 0x44], 0xffffffff
or dword [ebp + 0x14], 0xffffffff
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 4], ebx
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x4df2e5
cmp word [eax], bx
je 0x4df2e5
lea eax, [ebp + 0x58]
push eax
mov ecx, 0x88ddec
call fcn.00409044
push dword [edi + 0x28]
mov ecx, dword [ebp + 0x58]
lea eax, [ebp + 0x60]
push eax
call fcn.0040863b
mov eax, dword [ebp + 0x60]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, fcn.00466ca2
je 0x4df2d9
lea ecx, [eax + 0x24]
call fcn.004a0ff9
mov ecx, eax
call fcn.0042876e
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax + 0x18]
mov dword [ebp + 0x14], ecx
lea ecx, [eax + 4]
call fcn.004a0ff9
mov ecx, eax
call fcn.0042876e
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 0x60]
cmp ecx, ebx
je 0x4df2e5
call fcn.00406bc3
mov ecx, dword [ebp + 0x68]
lea eax, [ebp + 0x5f]
push eax
lea eax, [ebp + 0x5e]
push eax
lea eax, [ebp - 0x138]
push eax
add ecx, 0x54
call fcn.004d9d27
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
add dword [ebp + 0x74], 0x54
cmp eax, dword [edi + 0x24]
jne 0x4df161
mov ebx, dword [ebp + 0x68]
inc dword [ebp + 0x54]
mov eax, dword [ebp + 0x54]
add dword [ebp + 0x64], 0x2c
cmp eax, dword [0x88d718]
jne 0x4defd9
xor edi, edi
xor esi, esi
cmp dword [ebx + 0x5c], edi
jle 0x4df362
add ebx, 0x68
mov eax, dword [ebp + 0x68]
add eax, 0x54
mov eax, dword [eax]
add eax, edi
push 4
mov dword [ebp + 0x58], eax
push 1
lea eax, [ebp + 0x58]
push eax
mov ecx, ebx
call fcn.004a117a
mov eax, dword [ebp + 0x68]
inc esi
add edi, 0x188
cmp esi, dword [eax + 0x5c]
jl 0x4df337
call fcn.0047cff8
lea esp, [ebp - 0x144]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret