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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0xc], eax
add eax, 2
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov ebx, 0xffff8000
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x10057dbc
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x18], ebx
cmp dword [eax], ecx
je 0x10057dbc
nop
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x10057db0
mov dword [esp + 0x18], ebx
mov eax, dword [edx + 0x10]
mov esi, ebx
mov ecx, dword [esp + 0x10]
add esi, esi
mov edx, 0x1b
push dword [eax + esi*8]
push 0
push dword [ecx]
mov ecx, edi
call fcn.10051b80
add esp, 0xc
test eax, eax
jne 0x100582e1
cmp ebx, 1
je 0x10057e10
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x10057e10
mov eax, dword [esp + 0x1c]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.10051c20
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x10057e39
cmp dword [edi + 0x74], esi
jne 0x10057e28
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x10057e28
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.10028fb0
mov esi, eax
test esi, esi
je 0x100582e1
mov eax, dword [ebp + 8]
test eax, eax
js 0x10057e4a
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
jmp 0x10057e55
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x20], ecx
mov edx, eax
mov ecx, edi
call fcn.1005b100
mov ebx, eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test ebx, ebx
je 0x10057e73
inc dword [ebx]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x74]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x78], edx
jg 0x10057ea1
push eax
push 0
push dword [esp + 0x1c]
mov edx, 0x75
mov ecx, esi
call fcn.10029250
add esp, 0xc
mov edx, eax
jmp 0x10057ed8
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x10057efe
cmp dword [eax + 0x210], 0
jne 0x10057f32
test ebx, ebx
je 0x10057f32
add dword [ebx], 0xffffffff
jne 0x10057f32
mov ecx, dword [ebx + 0xc]
mov edx, ebx
call fcn.10004cc0
jmp 0x10057f32
test edx, edx
jns 0x10057f06
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10057f27
push 0xfffffffffffffff7
push ebx
mov edx, eax
mov ecx, esi
call fcn.1002a2c0
add esp, 8
jmp 0x10057f32
test ebx, ebx
je 0x10057f32
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf7
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0x64
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.10065820
add esp, 0xc
mov edx, 0x26
mov ecx, esi
push 0
push dword [esp + 0x10]
call fcn.100293c0
mov cl, byte [edi + 0x13]
add esp, 8
mov dword [esp + 0x24], eax
test cl, cl
jne 0x10057f72
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x10057f81
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
mov dword [esp + 0x1c], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x30]
push 0
push eax
push 0
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.1005d3a0
push dword [esp + 0x34]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x30]
call fcn.100293c0
mov edx, dword [esp + 0x4c]
add esp, 0x20
test edx, edx
je 0x10057ff7
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10057feb
push edx
mov edx, dword [edi + 8]
call fcn.10029c70
add esp, 4
jmp 0x10057ff7
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x24]
mov edx, 5
inc eax
mov ecx, esi
push eax
push dword [esp + 0x10]
call fcn.100293c0
mov ecx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x1005801e
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x1005802d
mov eax, 0x1011f1ec
jmp 0x10058036
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmp dword [ebp + 8], 0
mov dword [eax + 8], edx
jge 0x10058056
push dword [esp + 0x18]
mov edx, 0x8f
mov ecx, esi
push dword [esp + 0x24]
call fcn.100293c0
add esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x74]
inc edx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x78], ecx
jg 0x10058081
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x24]
push edx
mov edx, 0x65
call fcn.10029250
add esp, 0xc
jmp 0x100580b8
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
cmp byte [ecx + 0x53], 0
je 0x100580de
cmp dword [ecx + 0x210], 0
jne 0x10058112
test ebx, ebx
je 0x10058112
add dword [ebx], 0xffffffff
jne 0x10058112
mov ecx, dword [ebx + 0xc]
mov edx, ebx
call fcn.10004cc0
jmp 0x10058112
test eax, eax
jns 0x100580e6
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x10058107
push 0xfffffffffffffff7
push ebx
mov edx, eax
mov ecx, esi
call fcn.1002a2c0
add esp, 8
jmp 0x10058112
test ebx, ebx
je 0x10058112
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x10058135
cmp dword [ebp + 8], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.100293c0
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x36], 0
je 0x100581cd
mov edx, 1
mov ecx, esi
call fcn.10029430
mov ecx, dword [esi + 0x74]
mov edx, 0x82
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
movzx ecx, word [ecx + 0x32]
push ecx
push dword [esp + 0x20]
mov ecx, esi
push eax
push dword [esp + 0x20]
call fcn.10029b70
push dword [esp + 0x20]
mov edx, 2
mov ecx, edi
call fcn.1005a8d0
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x100581ac
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x100581be
mov eax, 0x1011f1ec
mov dword [eax + 8], edx
jmp 0x100581e2
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x100581e2
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov edx, 0x83
inc eax
mov ecx, esi
push eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.10029290
mov eax, dword [esp + 0x1c]
add esp, 0xc
test dword [eax + 0x38], 0x200
jne 0x10058221
mov eax, dword [esp + 0xc]
mov edx, 0x87
inc eax
mov ecx, esi
push eax
call fcn.10029360
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, 0x88
push dword [esp + 0x1c]
inc eax
mov ecx, esi
push eax
call fcn.100293c0
mov eax, dword [esi + 0x74]
add esp, 8
test eax, eax
jle 0x10058251
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1005826d
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1005826d
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
push dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov edx, 3
push edi
mov ecx, esi
call fcn.100293c0
mov edx, dword [esi + 0x74]
add esp, 8
test ebx, ebx
jns 0x1005828f
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x1005829e
mov eax, 0x1011f1ec
jmp 0x100582a7
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0xc]
mov ecx, esi
mov dword [eax + 8], edx
mov edx, 0x78
push ebx
call fcn.10029360
add esp, 4
lea eax, [ebx + 1]
mov edx, 0x78
mov ecx, esi
push eax
call fcn.10029360
add esp, 4
mov edx, 0x78
mov ecx, esi
push edi
call fcn.10029360
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret