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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov edx, 0x3200000
test eax, eax
push ebx
mov ebx, dword [ebp + 8]
cmovne edx, eax
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebx]
lea edi, [edx + ebx]
lea edx, [ebx + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [edx]
mov dword [ecx + 0x24], eax
cmp eax, 0x1328f5c
je 0x504441
cmp eax, 0x13352ac
je 0x504441
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edx + 4]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 8]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x14]
add edx, 0x18
mov dword [ecx + 0x3c], eax
mov eax, dword [ecx + 0x34]
push esi
mov esi, dword [ecx + 0x28]
lea eax, [eax + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 0x30]
lea eax, [eax + esi*4]
mov esi, dword [ebp + 0xc]
lea eax, [eax + 0xedf12]
lea eax, [esi + eax*2]
add eax, edx
cmp eax, edi
jae 0x5045dd
mov esi, dword [ecx + 0x2c]
mov dword [ecx + 0x10], edx
add edx, 0x1dbe24
mov dword [ecx + 0x14], edx
lea eax, [esi + edx]
mov edx, dword [ecx + 0x28]
lea eax, [eax + esi*8]
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0xc], eax
shl esi, 4
lea eax, [eax + edx*8]
mov edx, dword [ecx + 0x30]
mov dword [ecx + 0x1c], eax
lea edx, [eax + edx*2]
mov dword [ecx + 0x18], edx
lea eax, [esi + 0xdb6]
add edx, dword [ebp + 0xc]
add eax, edx
cmp eax, edi
ja 0x5045dd
mov dword [ecx + 0x40], edx
add edx, 0xdb6
cmp dword [ecx + 0x2c], 0
mov dword [ecx + 0x44], edx
jbe 0x5045dd
cmp dword [ecx + 0x20], 0x1321760
jl 0x5045dd
sub esi, ebx
lea eax, [esi + edx]
mov dword [ecx + 0x38], eax
cmp eax, dword [ebp - 4]
ja 0x5045dd
mov byte [ecx + 4], 1
lea esi, [eax + ebx]
call fcn.004480b0
mov ebx, eax
test esi, esi
je 0x5045dd
test edi, edi
je 0x5045dd
lea ecx, [esi + 0x40]
cmp ecx, edi
ja 0x5045dd
mov edx, dword [esi]
test edx, edx
je 0x5045dd
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov dword [ebx + 4], eax
mov dword [ebx], edx
cmp edx, 0x132dbe3
jne 0x5045dd
lea eax, [esi + 0x28]
cmp eax, edi
jae 0x5045dd
mov eax, dword [esi]
mov dword [ebx + 0x70], eax
mov eax, dword [ecx]
add ecx, 4
mov dword [ebx + 0x74], eax
mov eax, dword [ecx]
mov dword [ebx + 0x78], eax
add ecx, 4
je 0x5045dd
lea eax, [eax + eax*4]
mov dword [ebx + 0xc], ecx
lea edx, [ecx + eax*2]
cmp edx, edi
jae 0x5045dd
xor esi, esi
lea eax, [ebx + 0x18]
lea ecx, [edx + 0x10]
cmp ecx, edi
jae 0x5045dd
test edx, edx
je 0x5045dd
mov ecx, dword [edx]
mov dword [eax - 8], ecx
mov ecx, dword [edx + 4]
mov dword [eax - 4], ecx
mov ecx, dword [edx + 8]
add edx, 0xc
mov dword [eax], ecx
mov ecx, dword [edx]
mov dword [eax + 4], ecx
add edx, 4
je 0x5045dd
mov ecx, dword [eax]
mov dword [eax + 8], edx
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x5045dd
mov edx, dword [eax + 4]
inc esi
mov dword [eax + 0xc], ecx
add ecx, edx
add eax, 0x18
lea edx, [ecx + edx*2]
cmp esi, 4
jl 0x504580
cmp edx, edi
ja 0x5045dd
mov eax, dword [ebx + 0x78]
pop esi
mov dword [ebx + 8], eax
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8