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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x84
mov esi, dword [esp + 0xa0]
mov dword [esp + eax + 0x44], 0
add eax, 4
cmp eax, 0x20
jb 0x48a503
mov eax, dword [esp + 0x9c]
test esi, esi
lea ecx, [eax + esi*2]
je 0x48a531
movzx edx, word [eax]
add eax, 2
add word [esp + edx*2 + 0x44], 1
cmp eax, ecx
jne 0x48a521
movzx ebx, word [esp + 0x62]
test bx, bx
jne 0x48a637
cmp word [esp + 0x60], 0
jne 0x48b001
cmp word [esp + 0x5e], 0
jne 0x48b00e
cmp word [esp + 0x5c], 0
jne 0x48b01b
cmp word [esp + 0x5a], 0
jne 0x48b028
cmp word [esp + 0x58], 0
jne 0x48b035
cmp word [esp + 0x56], 0
jne 0x48b042
cmp word [esp + 0x54], 0
jne 0x48b05c
cmp word [esp + 0x52], 0
jne 0x48b04f
cmp word [esp + 0x50], 0
jne 0x48b083
cmp word [esp + 0x4e], 0
jne 0x48b076
cmp word [esp + 0x4c], 0
jne 0x48b069
cmp word [esp + 0x4a], 0
jne 0x48b0aa
cmp word [esp + 0x48], 0
jne 0x48b090
cmp word [esp + 0x46], 0
jne 0x48af21
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa4]
xor ecx, ecx
mov eax, dword [eax]
lea edx, [eax + 4]
mov dword [ebx], edx
xor edx, edx
mov byte [eax], 0x40
mov word [eax + 2], dx
mov byte [eax + 1], 1
mov eax, dword [ebx]
lea edx, [eax + 4]
mov dword [ebx], edx
mov byte [eax], 0x40
mov byte [eax + 1], 1
mov word [eax + 2], cx
mov eax, dword [esp + 0xa8]
mov dword [eax], 1
xor eax, eax
add esp, 0x84
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x24], 0xf
nop
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x24]
mov eax, dword [eax]
cmp edi, eax
cmovbe eax, edi
cmp word [esp + 0x46], 0
mov dword [esp], eax
jne 0x48af3f
cmp edi, 2
je 0x48af65
cmp word [esp + 0x48], 0
jne 0x48af65
cmp edi, 3
je 0x48afcd
cmp word [esp + 0x4a], 0
jne 0x48afcd
cmp edi, 4
je 0x48afc0
cmp word [esp + 0x4c], 0
jne 0x48afc0
cmp edi, 5
je 0x48afb3
cmp word [esp + 0x4e], 0
jne 0x48afb3
cmp edi, 6
je 0x48afa6
cmp word [esp + 0x50], 0
jne 0x48afa6
cmp edi, 7
je 0x48af99
cmp word [esp + 0x52], 0
jne 0x48af99
cmp edi, 8
je 0x48af8c
cmp word [esp + 0x54], 0
jne 0x48af8c
cmp edi, 9
je 0x48af7f
cmp word [esp + 0x56], 0
jne 0x48af7f
cmp edi, 0xa
je 0x48af72
cmp word [esp + 0x58], 0
jne 0x48af72
cmp edi, 0xb
je 0x48aff4
cmp word [esp + 0x5a], 0
jne 0x48aff4
cmp edi, 0xc
je 0x48afe7
cmp word [esp + 0x5c], 0
jne 0x48afe7
cmp edi, 0xd
je 0x48afda
cmp word [esp + 0x5e], 0
jne 0x48afda
cmp edi, 0xf
jne 0x48b09d
cmp word [esp + 0x60], 1
sbb eax, eax
not eax
add eax, 0xf
mov dword [esp + 4], eax
movzx edx, word [esp + 0x46]
mov eax, 2
sub eax, edx
mov edi, edx
mov edx, eax
lea eax, [edx + edx]
movzx edx, word [esp + 0x48]
sub eax, edx
mov ecx, edx
js 0x48aeb1
movzx edx, word [esp + 0x4a]
add eax, eax
sub eax, edx
mov word [esp + 0xc], dx
js 0x48aeb1
movzx edx, word [esp + 0x4c]
add eax, eax
sub eax, edx
mov word [esp + 8], dx
js 0x48aeb1
movzx edx, word [esp + 0x4e]
add eax, eax
sub eax, edx
mov word [esp + 0x14], dx
js 0x48aeb1
movzx edx, word [esp + 0x50]
add eax, eax
sub eax, edx
mov word [esp + 0x10], dx
js 0x48aeb1
movzx edx, word [esp + 0x52]
add eax, eax
sub eax, edx
mov word [esp + 0x18], dx
js 0x48aeb1
movzx edx, word [esp + 0x54]
add eax, eax
sub eax, edx
mov word [esp + 0x20], dx
js 0x48aeb1
movzx edx, word [esp + 0x56]
add eax, eax
sub eax, edx
mov word [esp + 0x1c], dx
js 0x48aeb1
movzx edx, word [esp + 0x58]
add eax, eax
sub eax, edx
mov word [esp + 0x40], dx
js 0x48aeb1
movzx edx, word [esp + 0x5a]
add eax, eax
sub eax, edx
mov word [esp + 0x2c], dx
js 0x48aeb1
movzx edx, word [esp + 0x5c]
add eax, eax
sub eax, edx
mov word [esp + 0x28], dx
js 0x48aeb1
movzx edx, word [esp + 0x5e]
add eax, eax
sub eax, edx
mov word [esp + 0x30], dx
js 0x48aeb1
lea ebp, [eax + eax]
movzx eax, word [esp + 0x60]
sub ebp, eax
mov edx, eax
mov eax, ebp
js 0x48aeb1
add eax, eax
cmp eax, ebx
js 0x48aeb1
je 0x48a8af
mov ebp, dword [esp + 0x98]
test ebp, ebp
je 0x48aeb1
cmp dword [esp + 0x24], 1
jne 0x48aeb1
add ecx, edi
movzx eax, word [esp + 0x18]
xor ebx, ebx
mov word [esp + 0x6a], cx
add cx, word [esp + 0xc]
mov word [esp + 0x66], bx
mov word [esp + 0x68], di
mov word [esp + 0x6c], cx
add cx, word [esp + 8]
mov word [esp + 0x6e], cx
add cx, word [esp + 0x14]
mov word [esp + 0x70], cx
add cx, word [esp + 0x10]
add eax, ecx
mov word [esp + 0x72], cx
mov word [esp + 0x74], ax
add ax, word [esp + 0x20]
mov word [esp + 0x76], ax
add ax, word [esp + 0x1c]
mov word [esp + 0x78], ax
add ax, word [esp + 0x40]
mov word [esp + 0x7a], ax
add ax, word [esp + 0x2c]
mov word [esp + 0x7c], ax
add ax, word [esp + 0x28]
mov word [esp + 0x7e], ax
add ax, word [esp + 0x30]
mov word [esp + 0x80], ax
add eax, edx
mov word [esp + 0x82], ax
xor eax, eax
test esi, esi
je 0x48a974
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0xac]
movzx edx, word [ebx + eax*2]
test dx, dx
je 0x48a96d
movzx ecx, word [esp + edx*2 + 0x64]
lea ebp, [ecx + 1]
mov word [edi + ecx*2], ax
mov word [esp + edx*2 + 0x64], bp
add eax, 1
cmp esi, eax
jne 0x48a953
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x48aec1
cmp dword [esp + 0x98], 1
jne 0x48ae2c
mov ebx, dword [esp + 4]
mov eax, dword [esp]
cmp ebx, eax
cmovae eax, ebx
mov ebx, dword [esp + 0x98]
mov ecx, eax
mov dword [esp + 0x1c], eax
shl ebx, cl
cmp ebx, 0x354
mov eax, ebx
ja 0x48aea1
mov byte [esp + 0x43], 0
mov byte [esp + 0x42], 1
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x3c], 0x4dbbfe
mov dword [esp + 0x38], 0x4dbc3e
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
xor edi, edi
sub eax, 1
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 0x34], eax
mov dword [esp + 8], edi
mov ebx, dword [ebx]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
lea esi, [esi]
movzx eax, byte [esp + 4]
xor ebx, ebx
sub al, byte [esp + 0xc]
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
cmp eax, dword [esp + 0x2c]
mov edi, eax
jl 0x48aa54
jle 0x48ae20
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
movzx ebx, byte [ebx + eax*2]
movzx edi, word [edi + eax*2]
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0xc]
mov edx, 1
mov eax, 1
shl edx, cl
movzx ecx, byte [esp + 0x10]
lea esi, [edx*4]
mov dword [esp], edx
neg esi
shl eax, cl
movzx ecx, byte [esp + 0xc]
mov ebp, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 8]
shr eax, cl
mov ecx, ebp
add eax, ebp
mov ebp, dword [esp + 0x18]
sub eax, edx
lea eax, [ebp + eax*4]
mov ebp, ebx
movzx ebx, byte [esp + 0x40]
mov edx, ebp
mov byte [eax + 1], bl
mov word [eax + 2], di
mov byte [eax], dl
add eax, esi
sub ecx, dword [esp]
jne 0x48aaa1
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x48aada
mov ebp, ebx
nop
lea esi, [esi]
shr eax, 1
test ebp, eax
jne 0x48aad0
mov dword [esp + 8], ebp
test eax, eax
je 0x48ae00
lea edx, [eax - 1]
and edx, dword [esp + 8]
add eax, edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 4]
movzx eax, word [esp + ebx*2 + 0x44]
mov word [esp], ax
sub eax, 1
test ax, ax
mov word [esp + ebx*2 + 0x44], ax
jne 0x48ab2c
mov eax, dword [esp + 0x24]
cmp ebx, eax
je 0x48aedd
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x9c]
movzx eax, word [eax + 2]
movzx eax, word [ebx + eax*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x1c]
cmp eax, edi
jbe 0x48adf6
mov ebx, dword [esp + 0x34]
and ebx, dword [esp + 8]
cmp dword [esp + 0x30], ebx
je 0x48adf6
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x24]
test esi, esi
cmove esi, edi
mov edi, dword [esp + 0x18]
mov edx, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], edx
lea edi, [edi + esi*4]
mov esi, eax
mov dword [esp + 0x18], edi
mov edi, eax
mov eax, 1
sub edi, edx
mov ecx, edi
mov dword [esp + 0x10], edi
shl eax, cl
cmp esi, ebp
jae 0x48ad75
movzx edx, word [esp + esi*2 + 0x44]
sub eax, edx
test eax, eax
jle 0x48ad75
mov esi, dword [esp + 0xc]
lea edx, [edi + 1]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 2]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 3]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 4]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 5]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 6]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 7]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 8]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 9]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xa]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xb]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xc]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xd]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xe]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
test eax, eax
jle 0x48ae10
lea edx, [edi + 0xf]
add eax, eax
lea ecx, [esi + edx]
cmp ebp, ecx
jbe 0x48ae10
movzx ecx, word [esp + ecx*2 + 0x44]
sub eax, ecx
mov ecx, edi
add ecx, 0x10
test eax, eax
cmovg edx, ecx
mov dword [esp + 0x10], edx
movzx ecx, byte [esp + 0x10]
mov eax, 1
shl eax, cl
add dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
cmp edi, 0x354
jbe 0x48ad9c
cmp byte [esp + 0x42], 0
jne 0x48aea1
cmp dword [esp + 0x20], 0x250
jbe 0x48adb1
cmp byte [esp + 0x43], 0
jne 0x48aea1
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0x10]
lea edx, [ebx*4]
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
mov byte [eax + ebx*4], cl
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0x1c]
mov eax, dword [eax]
mov byte [eax + edx + 1], cl
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 2
mov word [ecx + edx + 2], ax
add dword [esp + 0x14], 2
jmp 0x48aa20
mov dword [esp + 8], 0
jmp 0x48aaef
mov dword [esp + 0x10], edx
jmp 0x48ad75
xor edi, edi
mov ebx, 0x60
jmp 0x48aa54
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x3c], 0x4dbd80
mov dword [esp + 0x38], 0x4dbdc0
mov ebx, dword [esp + 4]
mov eax, dword [esp]
cmp ebx, eax
cmovae eax, ebx
mov ebx, eax
mov dword [esp + 0x1c], eax
mov eax, 1
mov ecx, ebx
shl eax, cl
cmp dword [esp + 0x98], 1
sete byte [esp + 0x42]
cmp eax, 0x354
movzx ebx, byte [esp + 0x42]
jbe 0x48ae7c
test bl, bl
jne 0x48aea1
cmp dword [esp + 0x98], 2
sete byte [esp + 0x43]
cmp eax, 0x250
movzx ebx, byte [esp + 0x43]
jbe 0x48a9dc
test bl, bl
je 0x48a9dc
add esp, 0x84
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x84
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], 0x13
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
jmp 0x48ae44
mov edi, dword [esp + 8]
movzx ebx, byte [esp + 0x40]
test edi, edi
je 0x48aefd
mov eax, dword [esp + 0x18]
xor edx, edx
lea eax, [eax + edi*4]
mov byte [eax], 0x40
mov byte [eax + 1], bl
mov word [eax + 2], dx
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
shl eax, 2
add dword [ebx], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x1c]
mov dword [eax], ebx
xor eax, eax
jmp 0x48a62c
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x24], 1
mov edx, dword [eax]
mov eax, 1
test edx, edx
cmove eax, edx
mov dword [esp], eax
movzx ecx, word [esp + 0x46]
mov edx, 2
mov eax, 0xffffffff
sub edx, ecx
mov edi, ecx
js 0x48a62c
mov dword [esp + 4], 1
jmp 0x48a787
mov dword [esp + 4], 2
jmp 0x48a777
mov dword [esp + 4], 0xa
jmp 0x48a777
mov dword [esp + 4], 9
jmp 0x48a777
mov dword [esp + 4], 8
jmp 0x48a777
mov dword [esp + 4], 7
jmp 0x48a777
mov dword [esp + 4], 6
jmp 0x48a777
mov dword [esp + 4], 5
jmp 0x48a777
mov dword [esp + 4], 4
jmp 0x48a777
mov dword [esp + 4], 3
jmp 0x48a777
mov dword [esp + 4], 0xd
jmp 0x48a777
mov dword [esp + 4], 0xc
jmp 0x48a777
mov dword [esp + 4], 0xb
jmp 0x48a777
mov dword [esp + 0x24], 0xe
jmp 0x48a640
mov dword [esp + 0x24], 0xd
jmp 0x48a640
mov dword [esp + 0x24], 0xc
jmp 0x48a640
mov dword [esp + 0x24], 0xb
jmp 0x48a640
mov dword [esp + 0x24], 0xa
jmp 0x48a640
mov dword [esp + 0x24], 9
jmp 0x48a640
mov dword [esp + 0x24], 7
jmp 0x48a640
mov dword [esp + 0x24], 8
jmp 0x48a640
mov dword [esp + 0x24], 4
jmp 0x48a640
mov dword [esp + 0x24], 5
jmp 0x48a640
mov dword [esp + 0x24], 6
jmp 0x48a640
mov dword [esp + 0x24], 2
jmp 0x48a640
mov dword [esp + 4], 0xe
jmp 0x48a777
mov dword [esp + 0x24], 3
jmp 0x48a640