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

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0xb4]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0xb4]
push 0
call fcn.0044a180
mov ecx, dword [0x5a2f7c]
call fcn.004d7450
lea edi, [ebx + 0x14]
mov dword [esp + 0x10], 4
cmp dword [edi], 0
je 0x4df03f
mov esi, 0x10
mov ebp, 4
mov ecx, dword [edi]
lea eax, [esi + ecx]
mov ecx, dword [esi + ecx]
test ecx, ecx
je 0x4df039
push 0
call fcn.00485230
add esi, 4
dec ebp
jne 0x4df026
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4df017
mov edx, dword [ebx + 0x14]
lea esi, [ebx + 0x14]
mov ecx, dword [edx + 0xc]
call fcn.0047ed50
mov cx, word [ebx + 0x50]
mov word [eax], cx
mov edx, dword [ebx + 0x9c]
mov dword [eax + 4], edx
mov eax, dword [0x5a3410]
test eax, eax
jne 0x4df09c
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call fcn.0047edf0
mov eax, dword [0x5a3410]
test eax, eax
jne 0x4df09c
mov ecx, ebx
call fcn.004dcf80
mov ecx, dword [ebx + 0x4c]
mov dx, word [ebx + 0x50]
mov dword [ebx + 0x48], ecx
mov word [ebx + 8], dx
mov cx, word [ebx + 0x54]
mov ax, word [ebx + 0x52]
push 0
push ecx
mov ecx, ebx
mov word [ebx + 0xa], ax
call fcn.004dd980
xor edi, edi
mov ebp, 4
mov eax, dword [0x5a3410]
test eax, eax
jne 0x4df0ff
mov edx, dword [0x5a2f7c]
push edi
mov ecx, dword [edx + 0x3c]
call fcn.00498fc0
test eax, eax
jne 0x4df0e0
mov eax, dword [esi]
mov dword [eax + 0x24], 0
jmp 0x4df0ff
mov eax, dword [0x5a3410]
test eax, eax
jne 0x4df0ff
mov ecx, dword [esi]
push 1
push edi
mov dword [ecx + 0x24], 1
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
call fcn.0047ef20
inc edi
add esi, 4
dec ebp
jne 0x4df0b9
mov eax, dword [0x5a3410]
test eax, eax
jne 0x4df17f
movsx eax, word [ebx + 8]
sub eax, 2
je 0x4df15b
dec eax
je 0x4df13d
dec eax
jne 0x4df17f
mov esi, 1
lea edi, [ebx + 0x18]
mov ebp, 3
mov ecx, dword [edi]
push esi
push esi
call fcn.004e1dd0
inc esi
add edi, 4
dec ebp
jne 0x4df12b
jmp 0x4df17f
mov ecx, dword [ebx + 0x18]
push 1
push 1
call fcn.004e1dd0
mov ecx, dword [ebx + 0x1c]
push 2
push 3
call fcn.004e1dd0
push 3
push 2
jmp 0x4df177
mov ecx, dword [ebx + 0x18]
push 1
push 2
call fcn.004e1dd0
mov ecx, dword [ebx + 0x1c]
push 2
push 1
call fcn.004e1dd0
push 3
push 3
mov ecx, dword [ebx + 0x20]
call fcn.004e1dd0
lea ecx, [ebx + 0x56]
lea eax, [ebx + 0x64]
lea edx, [ebx + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 4
mov esi, dword [esp + 0x10]
mov ecx, dword [edx]
mov si, word [esi]
mov word [ecx + 0x20], si
mov ecx, 0x10
mov esi, 4
mov edi, dword [edx]
mov bp, word [eax]
add eax, 2
mov edi, dword [edi + ecx]
add ecx, 4
dec esi
mov word [edi + 0x8c], bp
jne 0x4df1ab
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edi, 2
add edx, 4
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jne 0x4df194
movsx edx, word [ebx + 0x5e]
mov eax, dword [ebx + 0xbc]
lea ebp, [ebx + 0x34]
lea esi, [ebx + 0x88]
mov edi, ebp
mov dword [eax + 0x6c], edx
mov edx, dword [ebx + 0xc0]
movsx ecx, word [ebx + 0x60]
mov dword [edx + 0x6c], ecx
mov cx, word [ebx + 0x84]
mov ax, word [ebx + 0x62]
mov dx, word [ebx + 0x86]
mov word [ebx + 0x24], cx
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov cx, word [ebx + 0xa0]
mov word [ebx + 0xc], ax
mov eax, dword [ebx + 0x9c]
mov word [ebx + 0x28], cx
mov dword [ebx + 0x10], eax
mov word [ebx + 0x26], dx
lea eax, [ebx + 0x2a]
mov ecx, 4
mov dx, word [eax + 0x78]
mov word [eax], dx
add eax, 2
dec ecx
jne 0x4df242
mov ecx, ebx
call fcn.004de7c0
mov ax, word [ebx + 0xe]
cmp ax, 1
je 0x4df28c
cmp ax, 2
je 0x4df28c
mov ecx, dword [ebx + 0xbc]
mov eax, dword [ecx + 0x6c]
test eax, eax
je 0x4df279
push eax
call fcn.004e1bd0
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ecx + 0x6c]
test eax, eax
je 0x4df28c
push eax
call fcn.004e1bd0
mov ecx, ebx
call fcn.004de710
push 1
mov ecx, ebx
call fcn.004dd890
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4df302
lea ecx, [ebx + 0x14]
mov edx, 4
mov edi, 0x1e
mov esi, 0x14
mov eax, dword [ecx]
cmp dword [eax + 0x24], 0
jne 0x4df2c3
mov word [eax + 0x20], di
jmp 0x4df2c7
mov word [eax + 0x20], si
add ecx, 4
dec edx
jne 0x4df2b5
push 1
mov ecx, ebx
call fcn.004dd890
movsx eax, word [ebx + 0xa]
push 0
mov ecx, dword [ebx + eax*4 + 0x14]
mov ecx, dword [ecx + 0x28]
call fcn.004b5e40
mov ecx, ebx
mov word [ebx + 0xa], 0
mov word [ebx + 0xc], 1
mov dword [ebp], 0
call fcn.004de7c0
mov ecx, ebx
call fcn.004dec70
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret