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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
cmp dword [esp + 0x74], eax
je 0x580020
mov dword [esp], edx
call fcn.004ca590
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.004ca790
mov ebp, eax
test eax, eax
je 0x57ff17
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 4]
mov edx, dword [esp + 0x78]
add ebx, dword [edx + 4]
add ebx, 4
cmp ebx, dword [ebp + 8]
jg 0x57ff03
mov dword [ebp + 4], ebx
test ebx, ebx
jle 0x57fdbc
mov edx, dword [ebp]
xor eax, eax
lea esi, [esi]
lea edi, [edi]
mov dword [edx + eax*4], 0
inc eax
cmp ebx, eax
jne 0x57fdb0
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 4]
test esi, esi
jle 0x57ff58
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], 0
mov edi, ebp
lea esi, [esi]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x2c]
shl ebx, 2
mov ecx, dword [edx + ebx]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, esi
je 0x57fff0
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x57ff47
mov edx, dword [esp + 0x20]
xor edx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov ebp, 1
xor esi, esi
jmp 0x57fedd
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x18], edx
mov ecx, edx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x4c]
call fcn.0057f390
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
lea eax, [esp + 0x44]
call fcn.0057f390
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
call fcn.0057f390
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x48]
xor eax, dword [esp + 0x38]
xor eax, ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x40]
xor ecx, dword [esp + 0x38]
xor ecx, edx
xor ecx, dword [esp + 0x3c]
xor ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [edi]
xor dword [eax + ebx], edx
mov edx, dword [esp + 0x44]
xor dword [eax + ebx + 4], edx
lea edx, [ebx + 8]
mov ecx, dword [esp + 0x48]
xor dword [eax + edx], ecx
mov ecx, dword [esp + 0x4c]
xor dword [eax + ebx + 0xc], ecx
add esi, 2
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
add ebp, 2
cmp eax, esi
jle 0x57ff40
mov ebx, edx
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, dword [edx + esi*4]
mov dword [esp + 0x1c], ecx
cmp eax, ebp
jne 0x57fe30
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
jmp 0x57fe39
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.004bd100
test eax, eax
jne 0x57fd97
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 0x14], eax
call fcn.004ca700
mov eax, dword [esp + 0x14]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x78]
mov esi, dword [edx + 4]
add dword [esp + 0x2c], 2
cmp esi, dword [esp + 0x2c]
jg 0x57fde0
mov ebp, edi
mov eax, dword [ebp + 4]
test eax, eax
jle 0x57ff7d
mov edx, dword [ebp]
sub edx, 4
jmp 0x57ff73
dec eax
je 0x57ff7a
mov esi, dword [edx + eax*4]
test esi, esi
je 0x57ff70
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
test ebx, ebx
je 0x580048
cmp dword [esp + 0x70], ebp
je 0x57ffc5
mov edx, dword [esp + 0x70]
cmp dword [edx + 8], eax
jl 0x57fffd
test eax, eax
jle 0x57ffbe
mov eax, dword [esp + 0x70]
mov ebx, dword [eax]
mov ecx, dword [ebp]
xor edx, edx
lea esi, [esi]
mov eax, dword [ecx + edx*4]
mov dword [ebx + edx*4], eax
inc edx
mov eax, dword [ebp + 4]
cmp edx, eax
jl 0x57ffb0
mov edx, dword [esp + 0x70]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
call fcn.0057f560
test eax, eax
je 0x57ff17
mov eax, 1
jmp 0x57ff19
mov dword [esp + 0x20], 0
jmp 0x57fe08
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004bd100
test eax, eax
je 0x57ff17
mov eax, dword [ebp + 4]
jmp 0x57ff9a
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0057fb40
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004bd670
jmp 0x57ffda