Function at 0x57f940
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 0x57fc20
mov dword [esp], edx
call fcn.004ca190
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.004ca390
mov ebp, eax
test eax, eax
je 0x57fb17
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 0x57fb03
mov dword [ebp + 4], ebx
test ebx, ebx
jle 0x57f9bc
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 0x57f9b0
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 4]
test esi, esi
jle 0x57fb58
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 0x57fbf0
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x57fb47
mov edx, dword [esp + 0x20]
xor edx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov ebp, 1
xor esi, esi
jmp 0x57fadd
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.0057ef90
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
lea eax, [esp + 0x44]
call fcn.0057ef90
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.0057ef90
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 0x57fb40
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 0x57fa30
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
jmp 0x57fa39
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.004bcce0
test eax, eax
jne 0x57f997
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 0x14], eax
call fcn.004ca300
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 0x57f9e0
mov ebp, edi
mov eax, dword [ebp + 4]
test eax, eax
jle 0x57fb7d
mov edx, dword [ebp]
sub edx, 4
jmp 0x57fb73
dec eax
je 0x57fb7a
mov esi, dword [edx + eax*4]
test esi, esi
je 0x57fb70
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
test ebx, ebx
je 0x57fc48
cmp dword [esp + 0x70], ebp
je 0x57fbc5
mov edx, dword [esp + 0x70]
cmp dword [edx + 8], eax
jl 0x57fbfd
test eax, eax
jle 0x57fbbe
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 0x57fbb0
mov edx, dword [esp + 0x70]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
call fcn.0057f160
test eax, eax
je 0x57fb17
mov eax, 1
jmp 0x57fb19
mov dword [esp + 0x20], 0
jmp 0x57fa08
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004bcce0
test eax, eax
je 0x57fb17
mov eax, dword [ebp + 4]
jmp 0x57fb9a
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.0057f740
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.004bd250
jmp 0x57fbda