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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faa4b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor esi, esi
push 0x94
mov dword [edi + 4], esi
call fcn.0048f9a3
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x4de9eb
push edi
mov ecx, eax
call fcn.004d8fa0
mov esi, eax
mov dword [ebp - 0x18], eax
jmp 0x4de9ee
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
mov ax, word [ebx + 0xa]
mov word [esi + 0xa], ax
mov cx, word [ebx + 0xe]
mov word [esi + 0xe], cx
mov dx, word [ebx + 0xc]
mov word [esi + 0xc], dx
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [ebx + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [ebx + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x70]
push ecx
lea ecx, [esi + 0x70]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov dword [esi + 0x64], eax
call fcn.004d8420
lea edx, [ebx + 0x80]
push edx
lea ecx, [esi + 0x80]
call fcn.004d8420
lea eax, [ebx + 0x2c]
lea ecx, [esi + 0x2c]
push eax
call fcn.004d9200
lea edx, [ebx + 0x44]
lea ecx, [esi + 0x44]
push edx
call fcn.004d9200
lea ecx, [esi + 0x44]
call fcn.004e5610
mov al, byte [ebx + 0x90]
mov byte [esi + 0x90], al
mov cl, byte [ebx + 0x62]
push 0
mov byte [esi + 0x62], cl
push 0
mov ecx, esi
call fcn.004d7a60
push 0
mov ecx, esi
call fcn.004d60a0
mov ecx, dword [edi + 0x24]
cmp byte [ecx + 0x14], 0
je 0x4deabd
mov eax, dword [edi + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x28]
add eax, dword [ecx + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x18]
push 0
push eax
call edx
mov eax, dword [edi + 0x24]
mov byte [eax + 0x14], 0
jmp 0x4deac5
mov ecx, dword [edi + 0x14]
call fcn.004e03a0
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
sar ecx, 2
cmp ax, cx
jae 0x4deae7
mov edx, 0xffff
mov byte [ebp + 0xb], 1
cmp ax, dx
jne 0x4deaeb
mov byte [ebp + 0xb], 0
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp + 0x10]
shr ecx, 4
and cl, 1
movzx edx, cl
push edx
push eax
mov ecx, esi
call fcn.004d8ac0
cmp byte [ebp + 0x14], 0
je 0x4deb1e
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [ebx + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
cmp byte [ebp + 0xb], 0
je 0x4debca
mov ebx, 0xffff
cmp dword [esi + 0x88], ebx
jg 0x4deb4b
cmp dword [esi + 0x78], ebx
jg 0x4deb4b
lea ecx, [esi + 0x2c]
call fcn.004e55c0
cmp eax, ebx
setle al
test al, al
jne 0x4deb57
push 0xd3
mov ecx, edi
call fcn.004dd4a0
mov ebx, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
movzx eax, word [ebp + 0xc]
sar ecx, 2
cmp eax, ecx
jb 0x4deb70
call fcn.0048d2af
movzx eax, word [ebp + 0xc]
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + eax*4]
mov eax, dword [ebx + 0x28]
mov ecx, dword [edi + 0x14]
push 0
push 0
push eax
call fcn.004e20d0
mov ecx, dword [ebp + 0xc]
push 0
push ecx
push ebx
mov ecx, edi
call fcn.004dc980
movzx eax, word [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
push eax
lea edx, [ebp - 0x24]
push edx
mov ecx, ebx
call fcn.004dc180
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.004dd370
movzx ebx, word [ebp + 0xc]
mov dword [edi + 4], esi
jmp 0x4dec04
mov ebx, dword [edi + 0x1c]
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.004ddaa0
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
test eax, eax
jne 0x4debf0
push eax
push 0xdf
call fcn.004c1d80
dec eax
movzx ebx, ax
mov eax, dword [edi + 0x14]
mov dword [edi + 4], esi
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [edi + 0x24]
cmp byte [ecx + 0x25], 0
mov dword [ebp - 4], 0xffffffff
je 0x4dec1d
push ebx
push esi
mov ecx, edi
call fcn.004ddd20
mov edx, dword [edi + 0x24]
mov word [edx + 0x26], bx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10