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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, eax
mov eax, dword [ebx]
push esi
mov esi, dword [ebx + 8]
push edi
xor edi, edi
mov dword [ebp - 0x1c], eax
add esi, 0x28
lea eax, [edi + 8]
mov ecx, esi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
call fcn.00479c10
xor edx, edx
cmp dword [ebx + 0x58], 7
mov dword [ebx + 0x14], edx
jne 0x48a3e9
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x38], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x1c]
and ecx, 3
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
cmp ecx, 1
jne 0x48a467
mov eax, dword [ebx + 8]
add eax, 0x168
test byte [eax + 0x1c], 0x10
mov dword [ebp - 0x14], eax
je 0x48a41d
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 4]
shr ecx, 2
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 8], 2
mov dword [ebp - 0x10], edx
jl 0x48a44e
lea ebx, [ebx]
mov edx, dword [edi + eax*4]
add ecx, dword [edx + 4]
mov edx, dword [edi + eax*4 + 4]
mov edx, dword [edx + 4]
add dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
add eax, 2
dec edx
cmp eax, edx
jl 0x48a430
cmp eax, dword [ebp - 8]
jge 0x48a45c
mov eax, dword [edi + eax*4]
mov edx, dword [eax + 4]
add dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
add eax, ecx
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x54]
lea edx, [eax + 1]
mov dword [ebx + 0x54], edx
cmp eax, dword [ebp - 4]
jge 0x48a4cc
cmp ecx, 2
jne 0x48a486
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4], 0x96
jne 0x48a464
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0xe0]
test ecx, ecx
je 0x48a4e1
mov dword [ebx + 0x58], 9
mov ecx, dword [str.interrupted]
mov edi, 1
mov eax, str.unknown_error
test ecx, ecx
je 0x48a4b0
mov eax, ecx
push eax
push 0x579720
add ebx, 0x34
mov esi, edx
call fcn.00488460
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x65
mov eax, edi
pop edi
pop esi
mov dword [ebx + 0x58], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jge 0x48a4f6
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
lea edx, [ecx + edx*4]
mov dword [ebp - 4], edx
jmp 0x48a51f
sub eax, ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
xor edx, edx
cmp eax, ecx
jl 0x48a511
sub eax, ecx
mov ecx, dword [edi + edx*4 + 4]
mov ecx, dword [ecx + 4]
inc edx
cmp eax, ecx
jge 0x48a503
mov edx, dword [edi + edx*4]
mov edx, dword [edx]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebx + 0x60]
and dl, 3
cmp dl, 1
jne 0x48a5e5
mov byte [esi + 0x1e], dl
cdq
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, 4
mov word [esi + 0x1c], cx
mov edx, 0xa02
mov word [esi + 0x44], dx
movzx ecx, byte [eax]
mov eax, dword [ecx*4 + 0x57f3a0]
mov dword [esi + 0x2c], eax
mov ecx, eax
test eax, eax
je 0x48a573
cmp byte [eax], 0
je 0x48a56b
inc ecx
cmp byte [ecx], 0
jne 0x48a565
sub ecx, eax
and ecx, 0x3fffffff
mov edx, dword [ebp - 4]
mov dword [esi + 0x40], ecx
mov word [esi + 0x46], 0x103
add esi, 0x50
cmp byte [edx + 1], 0xee
jne 0x48a5e5
mov edx, dword [ebp - 8]
lea eax, [edx*4 + 4]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
test edx, edx
jle 0x48a5ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [edi + ecx*4], eax
je 0x48a5ab
inc ecx
cmp ecx, edx
jl 0x48a5a1
cmp ecx, edx
jne 0x48a5e5
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
xor ecx, ecx
test edx, edx
setne cl
push ecx
call fcn.00479170
add esp, 4
test eax, eax
jne 0x48a5e5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov eax, edi
mov edx, dword [eax + 4]
mov edi, dword [ebp - 8]
mov dword [edx + edi*4], ecx
mov edx, dword [ebp - 0x1c]
or word [eax + 0x1c], 0x10
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 4]
mov eax, 4
mov word [esi + 0x1c], ax
mov eax, dword [ecx + 4]
cdq
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov byte [esi + 0x1e], 1
mov edx, 4
mov word [esi + 0x44], dx
mov eax, dword [ecx + 8]
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov byte [esi + 0x46], 1
mov eax, 4
mov word [esi + 0x6c], ax
mov eax, dword [ecx + 0xc]
cdq
mov dword [esi + 0x60], eax
push 0
mov eax, 0x20
lea edi, [esi + 0x78]
mov dword [esi + 0x64], edx
mov byte [esi + 0x6e], 1
call fcn.00479170
add esp, 4
test eax, eax
jne 0x48a3dd
mov edi, dword [esi + 0x7c]
mov eax, dword [ebp - 4]
mov ecx, 0x602
push 0x20
mov word [esi + 0x94], cx
call fcn.004821d0
mov ecx, dword [esi + 0x7c]
add esp, 4
cmp eax, ecx
je 0x48a67f
push 1
push eax
xor eax, eax
or ecx, 0xffffffff
lea edx, [esi + 0x78]
call fcn.0048a120
add esp, 8
jmp 0x48a6aa
mov eax, ecx
test ecx, ecx
je 0x48a69d
cmp byte [ecx], 0
je 0x48a696
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x48a690
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x90], eax
mov byte [esi + 0x97], 1
mov byte [esi + 0x96], 3
mov edx, dword [ebx + 0x60]
and dl, 3
cmp dl, 1
jne 0x48a729
push 0
mov eax, 4
lea edi, [esi + 0xa0]
call fcn.00479170
add esp, 4
test eax, eax
jne 0x48a3dd
mov ecx, dword [ebp - 4]
mov eax, 0x602
mov word [esi + 0xbc], ax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xb8], 2
movzx edx, byte [ecx + 3]
push edx
push str._.2x
push eax
push 3
call fcn.0047fd60
mov word [esi + 0xbe], 0x103
mov ecx, 1
add esp, 0x10
mov word [esi + 0xe4], cx
mov byte [esi + 0xe6], 5
mov dx, word [ebx + 0x60]
mov ecx, dword [ebx + 8]
and dx, 3
dec dx
mov eax, 2
sub ax, dx
add ax, ax
add ax, ax
mov edi, 0x64
mov word [ebx + 0x2c], ax
mov eax, edi
pop edi
add ecx, 0x28
pop esi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x58], 0
pop ebx
mov esp, ebp
pop ebp
ret