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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov edx, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
xor ebx, ebx
mov dword [esp + 0x24], esi
call fcn.00488d40
mov edi, dword [edi*8 + 0x668694]
cmp edi, esi
je 0x48c290
mov ebp, dword [edi + 0x14]
test ebp, ebp
je 0x48bece
mov ebx, dword [ebp + 0x10]
mov al, byte [edi + 0x18]
cmp al, byte [ebx + 0x4c]
jne 0x48bec7
mov esi, 1
push esi
mov ecx, ebx
call fcn.00415fd0
inc esi
cmp esi, 5
jb 0x48beb9
mov ebp, dword [ebp]
test ebp, ebp
jne 0x48bea9
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x48befb
mov eax, dword [edi + 0x24]
test eax, eax
je 0x48beed
test byte [eax + 0xdc], 1
jne 0x48beed
cmp word [eax + 0x64], 0x83
je 0x48bf0d
mov edx, 1
mov ecx, edi
call fcn.0048d2d0
jmp 0x48bf0d
mov cl, byte [edi + 0x1a]
mov al, byte [edi + 0x1b]
cmp cl, al
jbe 0x48bf0d
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], 0
lea ebx, [edi + 0x3c]
mov al, byte [ebx]
test al, 0xf8
je 0x48c133
mov cl, al
and cl, 6
jne 0x48bf61
test al, 1
je 0x48bf40
mov dl, byte [esp + 0x14]
mov cx, word [ebx + 2]
call fcn.0040f790
jmp 0x48bf4f
xor edx, edx
push 0
mov dx, word [ebx + 2]
mov ecx, edi
call fcn.0048cc50
mov esi, eax
mov al, byte [edi + 0x1e]
test al, al
jne 0x48c11e
jmp 0x48c016
cmp cl, 2
jne 0x48bfbf
xor ebp, ebp
xor ecx, ecx
mov bp, word [ebx + 2]
mov cl, byte [edi + 0x18]
mov edx, ebp
call fcn.004a1310
xor ecx, ecx
and eax, 0xff
mov cl, byte [edi + 0x18]
mov dword [esp + 0x18], eax
call fcn.00423360
mov esi, eax
test esi, esi
je 0x48bfb9
mov ecx, esi
call fcn.00419870
test eax, eax
jne 0x48bfb2
cmp byte [esi + 0x4d], 0x4c
jne 0x48bfb2
xor edx, edx
mov dl, byte [esi + 0xc9]
cmp edx, ebp
jne 0x48bfb2
inc dword [esp + 0x18]
mov esi, dword [esi + 0x6c]
test esi, esi
jne 0x48bf91
mov esi, dword [esp + 0x18]
jmp 0x48c016
xor ebp, ebp
xor ecx, ecx
mov bp, word [ebx + 2]
mov cl, byte [edi + 0x18]
mov edx, ebp
call fcn.004a11f0
test al, al
je 0x48bfdc
mov esi, 1
jmp 0x48c016
xor ecx, ecx
mov cl, byte [edi + 0x18]
call fcn.00423360
mov esi, eax
test esi, esi
je 0x48c014
mov ecx, esi
call fcn.00419870
test eax, eax
jne 0x48c00d
cmp byte [esi + 0x4d], 0x4b
jne 0x48c00d
xor eax, eax
mov al, byte [esi + 0xc8]
cmp eax, ebp
je 0x48c48f
mov esi, dword [esi + 0x6c]
test esi, esi
jne 0x48bfec
xor esi, esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [ebx]
lea ecx, [eax + eax*8]
shr edx, 3
mov cl, byte [ecx*4 + 0x65a851]
cmp cl, 1
jne 0x48c037
mov ecx, 7
jmp 0x48c041
neg cl
sbb ecx, ecx
and ecx, 0x17
add ecx, 0x29
xor eax, eax
mov ax, word [ebx + 2]
cmp eax, ecx
jne 0x48c056
xor eax, eax
mov al, byte [edi + 0x1b]
cmp edx, eax
jbe 0x48c056
mov edx, eax
cmp esi, edx
jae 0x48c11e
sub edx, esi
je 0x48c11e
mov ebp, edx
mov al, byte [ebx]
xor ecx, ecx
mov cl, byte [ebx + 1]
and al, 6
cmp al, 2
mov esi, ecx
je 0x48c07b
cmp al, 4
jne 0x48c0a6
mov ecx, dword [esp + 0x14]
call fcn.00488b40
test eax, eax
je 0x48c0a6
mov eax, dword [esp + 0x1c]
cmp eax, esi
jbe 0x48c094
xor esi, esi
jmp 0x48c09b
sub esi, eax
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.00488d40
xor ecx, ecx
mov cl, byte [edi + 0x18]
call fcn.00488b40
test eax, eax
jne 0x48c0fb
test byte [ebx], 6
jne 0x48c0fb
xor ecx, ecx
mov cl, byte [edi + 0x18]
lea edx, [ecx + ecx*8]
mov al, byte [edx*4 + 0x65a851]
cmp al, 1
jne 0x48c0d3
mov eax, 0x6a
jmp 0x48c0df
neg al
sbb eax, eax
and eax, 0x17
add eax, 0x83
xor edx, edx
mov dx, word [ebx + 2]
cmp edx, eax
jne 0x48c0fb
cmp dword [ecx*4 + 0x508718], 0x258
jge 0x48c0fb
mov esi, 0x96
mov cl, byte [ebx]
xor eax, eax
mov ax, word [ebx + 2]
push esi
shr ecx, 1
and ecx, 3
push eax
push ecx
xor ecx, ecx
mov cl, byte [edi + 0x18]
mov edx, edi
call fcn.00487660
dec ebp
jne 0x48c068
mov eax, dword [esp + 0x20]
add ebx, 4
inc eax
cmp eax, 0x64
mov dword [esp + 0x20], eax
jb 0x48bf1c
mov al, byte [edi + 0x1a]
cmp al, 1
ja 0x48c16a
jne 0x48c282
mov eax, dword [edi + 0x24]
test eax, eax
je 0x48c282
xor eax, eax
mov al, byte [edi + 0x18]
lea edx, [eax + eax*8]
mov al, byte [edx*4 + 0x65a851]
cmp al, 1
je 0x48c282
test al, al
jne 0x48c282
lea eax, [esp + 0x12]
xor ecx, ecx
mov cl, byte [edi + 0x18]
push eax
lea edx, [esp + 0x17]
call fcn.004879e0
mov al, byte [esp + 0x12]
test al, al
jne 0x48c190
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x48c282
mov edx, dword [edi + 0x30]
mov esi, 1
test edx, edx
mov ebx, 0xa0
je 0x48c1b5
xor ecx, ecx
mov cl, byte [edi + 0x18]
call fcn.0048c4a0
cmp eax, 3
jne 0x48c1b5
mov eax, dword [edi + 0x30]
jmp 0x48c1ed
mov edx, dword [edi + 0x34]
test edx, edx
je 0x48c1d0
xor ecx, ecx
mov cl, byte [edi + 0x18]
call fcn.0048c4a0
cmp eax, 3
jne 0x48c1d0
mov eax, dword [edi + 0x34]
jmp 0x48c1ed
mov edx, dword [edi + 0x38]
test edx, edx
je 0x48c1eb
xor ecx, ecx
mov cl, byte [edi + 0x18]
call fcn.0048c4a0
cmp eax, 3
jne 0x48c1eb
mov eax, dword [edi + 0x38]
jmp 0x48c1ed
xor eax, eax
test eax, eax
je 0x48c234
push 1
mov edx, 1
mov ecx, edi
mov ebx, 0x50
call fcn.0048a830
test eax, eax
jne 0x48c20c
xor esi, esi
jmp 0x48c24f
mov al, byte [edi + 0x1a]
mov cl, byte [edi + 0x1b]
cmp al, cl
jae 0x48c21e
cmp al, 0xf
jae 0x48c21e
xor esi, esi
jmp 0x48c24f
xor ecx, ecx
mov cl, byte [edi + 0x18]
cmp dword [ecx*4 + 0x508718], 0x1f4
jge 0x48c24f
xor esi, esi
jmp 0x48c24f
push 1
mov edx, 1
mov ecx, edi
call fcn.0048a830
test eax, eax
jne 0x48c24a
xor esi, esi
jmp 0x48c24f
mov ebx, 0x5a
test esi, esi
je 0x48c282
xor ecx, ecx
mov cl, byte [edi + 0x18]
lea edx, [ecx + ecx*8]
mov al, byte [edx*4 + 0x65a851]
cmp al, 1
jne 0x48c26d
mov eax, 0x6e
jmp 0x48c279
neg al
sbb eax, eax
and eax, 8
add eax, 0x95
push ebx
push eax
mov edx, edi
call fcn.00487750
mov edi, dword [edi]
test edi, edi
jne 0x48bea2
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x48c2d3
mov eax, dword [esp + 0x14]
mov esi, dword [eax*8 + 0x668694]
test esi, esi
je 0x48c2d3
mov eax, dword [esi + 0x24]
test eax, eax
je 0x48c2cd
test byte [eax + 0xdc], 1
je 0x48c2cd
mov cl, byte [esi + 0x1a]
mov al, byte [esi + 0x1b]
cmp cl, al
jae 0x48c2cd
mov edx, 1
mov ecx, esi
call fcn.0048d2d0
mov esi, dword [esi]
test esi, esi
jne 0x48c2a7
test ebx, ebx
je 0x48c487
mov dl, byte [ebx + 0x18]
mov eax, edx
and eax, 0xff
lea ecx, [eax + eax*8]
mov cl, byte [ecx*4 + 0x65a851]
cmp cl, 1
jne 0x48c2fb
mov ebp, 0x6d
jmp 0x48c307
neg cl
sbb ecx, ecx
and ecx, 0x72
add ecx, 0x2a
mov ebp, ecx
lea eax, [eax + eax*8]
mov al, byte [eax*4 + 0x65a851]
cmp al, 1
jne 0x48c31c
mov eax, 7
jmp 0x48c326
neg al
sbb eax, eax
and eax, 0x17
add eax, 0x29
mov ecx, eax
call fcn.0040f380
xor ecx, ecx
mov dword [esp + 0x18], eax
mov cl, byte [ebx + 0x18]
mov edx, dword [ecx*4 + 0x50d68c]
mov eax, dword [ecx*4 + 0x51014c]
cmp edx, eax
ja 0x48c3a9
call fcn.00423360
mov esi, eax
test esi, esi
je 0x48c3a9
mov edi, 0x400
mov ecx, esi
call fcn.00419870
test eax, eax
jne 0x48c376
test dword [esi + 0xdc], edi
je 0x48c376
mov ecx, esi
call fcn.004ba5a0
test eax, eax
jne 0x48c37f
mov esi, dword [esi + 0x6c]
test esi, esi
jne 0x48c358
jmp 0x48c3a9
xor eax, eax
xor edi, edi
mov al, byte [ebx + 0x18]
mov esi, dword [eax*8 + 0x668694]
test esi, esi
je 0x48c3a4
push 0
mov edx, ebp
mov ecx, esi
call fcn.0048cc50
mov esi, dword [esi]
add edi, eax
test esi, esi
jne 0x48c391
lea esi, [edi + 1]
jmp 0x48c41c
cmp dword [esp + 0x18], 0xd
jge 0x48c471
mov ecx, ebp
call fcn.0040f620
mov dl, byte [ebx + 0x18]
and eax, 0xff
mov cl, al
call fcn.0040f6f0
xor ecx, ecx
add eax, 0xd
mov cl, byte [ebx + 0x18]
lea ecx, [ecx + ecx*8]
mov cl, byte [ecx*4 + 0x65a851]
cmp cl, 1
jne 0x48c3e8
mov ecx, 0x6a
jmp 0x48c3f5
neg cl
sbb ecx, ecx
and ecx, 0x17
add ecx, 0x83
xor edx, edx
mov dl, byte [ecx + 0x6b7ad8]
mov ecx, edx
cmp eax, ecx
jbe 0x48c471
xor edx, edx
sub eax, ecx
mov dl, byte [ebp + 0x6b7ad8]
mov dword [esp + 0x28], edx
xor edx, edx
mov ecx, dword [esp + 0x28]
div ecx
mov esi, eax
inc esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48c440
xor ecx, ecx
mov cl, byte [ebx + 0x18]
call fcn.00488a20
test eax, eax
je 0x48c440
xor ecx, ecx
mov cl, byte [ebx + 0x18]
call fcn.0048c540
test eax, eax
je 0x48c471
xor ecx, ecx
mov edx, ebp
mov cl, byte [ebx + 0x18]
call fcn.0048c510
cmp esi, eax
jbe 0x48c471
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp ecx, 8
setg dl
dec edx
xor ecx, ecx
mov cl, byte [ebx + 0x18]
and edx, 0x14
add edx, 0x78
push edx
push ebp
mov edx, ebx
call fcn.00487750
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov edx, esi
call fcn.004ba7b0
mov edx, esi
mov ecx, ebx
call fcn.004ba910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, 1
jmp 0x48c016