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

Disassembly:
sub esp, 0x7f8
mov eax, dword [0x537eb4]
xor eax, esp
mov dword [esp + 0x7f4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x804]
lea eax, [esp + 0x78]
push esi
push edi
mov edi, dword [esp + 0x810]
xor esi, esi
push 0x44
push esi
push eax
mov dword [esp + 0x3c], ebp
call fcn.004e4ba0
push 0x48
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004e4ba0
push ebp
call fcn.004c3e6e
movzx ebx, al
add esp, 0x1c
mov dword [esp + 0x18], eax
lea eax, [ebp + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
cmp ebx, 0x10
ja 0x4de667
push dword [esp + 0x814]
lea eax, [esp + 0x28]
push edi
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x518]
push pe_nt_image_headers32
push eax
call fcn.004de683
add esp, 0x1c
mov dword [esp + 0x34], eax
cmp eax, 0xffffff88
ja 0x4de66a
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
ja 0x4de667
mov edi, ebp
cmp dword [esp + ebp*4 + 0x80], esi
jne 0x4de510
dec edi
cmp dword [esp + edi*4 + 0x80], esi
je 0x4de506
xor ecx, ecx
mov dword [esp + 0x28], esi
lea edx, [edi + 1]
inc ecx
mov ebx, esi
cmp edx, ecx
jbe 0x4de536
mov eax, ebx
add ebx, dword [esp + ecx*4 + 0x80]
mov dword [esp + ecx*4 + 0x3c], eax
inc ecx
cmp ecx, edx
jb 0x4de520
mov dword [esp + 0x28], ebx
mov eax, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], eax
jbe 0x4de57b
mov bl, byte [esp + eax + 0x504]
movzx ecx, bl
mov edx, dword [esp + ecx*4 + 0x3c]
lea eax, [edx + 1]
mov byte [esp + edx*2 + 0x605], bl
mov dword [esp + ecx*4 + 0x3c], eax
mov eax, dword [esp + 0x10]
mov byte [esp + edx*2 + 0x604], al
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x4de546
lea edx, [edi + 1]
xor ebx, ebx
mov dword [esp + 0x3c], esi
inc ebx
cmp edx, ebx
jbe 0x4de5a9
mov ecx, dword [esp + 0x1c]
sub ecx, ebp
mov eax, dword [esp + ebx*4 + 0x80]
mov edx, esi
shl eax, cl
add esi, eax
mov dword [esp + ebx*4 + 0xc4], edx
inc ebx
lea edx, [edi + 1]
inc ecx
cmp ebx, edx
jb 0x4de58c
mov ebx, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, edi
mov eax, ebx
inc ecx
sub eax, ecx
inc eax
mov dword [esp + 0x14], eax
cmp ecx, eax
jae 0x4de61d
imul eax, ecx, 0x44
lea ebx, [esp + 0xc8]
add eax, ebx
mov ebx, dword [esp + 0x14]
imul esi, ecx, 0xffffffbc
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], esi
cmp edx, 1
jbe 0x4de602
mov ebx, dword [esp + 0x10]
mov esi, eax
mov ebp, edi
mov eax, dword [ebx + esi]
shr eax, cl
mov dword [esi], eax
lea esi, [esi + 4]
sub ebp, 1
jne 0x4de5e7
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc ecx
add eax, 0x44
sub esi, 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], esi
cmp ecx, ebx
jb 0x4de5da
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
lea eax, [ebp + 1]
push eax
push edi
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x618]
push eax
push ebx
push dword [esp + 0x48]
call fcn.004db7cd
push 4
lea eax, [esp + 0x3c]
mov byte [esp + 0x3e], bl
push eax
push dword [esp + 0x58]
mov byte [esp + 0x45], 1
call fcn.004e4d00
mov eax, dword [esp + 0x60]
add esp, 0x2c
jmp 0x4de66a
push 0xffffffffffffffd4
pop eax
mov ecx, dword [esp + 0x804]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e424b
add esp, 0x7f8
ret