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

Disassembly:
push ebp
push edi
xor eax, eax
push esi
push ebx
sub esp, 0x88
mov esi, dword [esp + 0xa4]
mov dword [esp + eax + 0x48], 0
add eax, 4
cmp eax, 0x20
jb 0x48e413
mov eax, dword [esp + 0xa0]
test esi, esi
lea ecx, [eax + esi*2]
je 0x48e441
movzx edx, word [eax]
add eax, 2
add word [esp + edx*2 + 0x48], 1
cmp ecx, eax
jne 0x48e431
movzx edx, word [esp + 0x66]
test dx, dx
jne 0x48e541
cmp word [esp + 0x64], 0
jne 0x48eec9
cmp word [esp + 0x62], 0
jne 0x48eed6
cmp word [esp + 0x60], 0
jne 0x48eee3
cmp word [esp + 0x5e], 0
jne 0x48eef0
cmp word [esp + 0x5c], 0
jne 0x48eefd
cmp word [esp + 0x5a], 0
jne 0x48ef0a
cmp word [esp + 0x58], 0
jne 0x48ef24
cmp word [esp + 0x56], 0
jne 0x48ef17
cmp word [esp + 0x54], 0
jne 0x48ef4b
cmp word [esp + 0x52], 0
jne 0x48ef3e
cmp word [esp + 0x50], 0
jne 0x48ef31
cmp word [esp + 0x4e], 0
jne 0x48ef72
cmp word [esp + 0x4c], 0
jne 0x48ef58
cmp word [esp + 0x4a], 0
jne 0x48ede9
mov eax, dword [esp + 0xa8]
xor edx, edx
mov esi, dword [esp + 0xa8]
xor ecx, ecx
mov eax, dword [eax]
mov word [eax + 2], dx
lea edx, [eax + 8]
mov byte [eax], 0x40
mov byte [eax + 1], 1
mov dword [esi], edx
mov byte [eax + 4], 0x40
mov byte [eax + 5], 1
mov word [eax + 6], cx
mov eax, dword [esp + 0xac]
mov dword [eax], 1
xor eax, eax
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], 0xf
lea esi, [esi]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x20]
mov eax, dword [eax]
cmp ebx, eax
cmovbe eax, ebx
cmp word [esp + 0x4a], 0
mov dword [esp], eax
jne 0x48ee07
cmp ebx, 2
je 0x48ee2d
cmp word [esp + 0x4c], 0
jne 0x48ee2d
cmp ebx, 3
je 0x48ee95
cmp word [esp + 0x4e], 0
jne 0x48ee95
cmp ebx, 4
je 0x48ee88
cmp word [esp + 0x50], 0
jne 0x48ee88
cmp ebx, 5
je 0x48ee7b
cmp word [esp + 0x52], 0
jne 0x48ee7b
cmp ebx, 6
je 0x48ee6e
cmp word [esp + 0x54], 0
jne 0x48ee6e
cmp ebx, 7
je 0x48ee61
cmp word [esp + 0x56], 0
jne 0x48ee61
cmp ebx, 8
je 0x48ee54
cmp word [esp + 0x58], 0
jne 0x48ee54
cmp ebx, 9
je 0x48ee47
cmp word [esp + 0x5a], 0
jne 0x48ee47
cmp ebx, 0xa
je 0x48ee3a
cmp word [esp + 0x5c], 0
jne 0x48ee3a
cmp ebx, 0xb
je 0x48eebc
cmp word [esp + 0x5e], 0
jne 0x48eebc
cmp ebx, 0xc
je 0x48eeaf
cmp word [esp + 0x60], 0
jne 0x48eeaf
cmp ebx, 0xd
je 0x48eea2
cmp word [esp + 0x62], 0
jne 0x48eea2
cmp ebx, 0xf
jne 0x48ef65
xor eax, eax
cmp word [esp + 0x64], 0
sete al
add eax, 0xe
mov dword [esp + 4], eax
movzx ecx, word [esp + 0x4a]
mov eax, 2
sub eax, ecx
mov edi, ecx
mov ecx, eax
lea eax, [ecx + ecx]
movzx ecx, word [esp + 0x4c]
sub eax, ecx
mov ebx, ecx
js 0x48e931
movzx ecx, word [esp + 0x4e]
add eax, eax
sub eax, ecx
mov word [esp + 8], cx
js 0x48e931
movzx ecx, word [esp + 0x50]
add eax, eax
sub eax, ecx
mov ebp, ecx
js 0x48e931
movzx ecx, word [esp + 0x52]
add eax, eax
sub eax, ecx
mov word [esp + 0x10], cx
js 0x48e931
movzx ecx, word [esp + 0x54]
add eax, eax
sub eax, ecx
mov word [esp + 0xc], cx
js 0x48e931
movzx ecx, word [esp + 0x56]
add eax, eax
sub eax, ecx
mov word [esp + 0x14], cx
js 0x48e931
movzx ecx, word [esp + 0x58]
add eax, eax
sub eax, ecx
mov word [esp + 0x24], cx
js 0x48e931
movzx ecx, word [esp + 0x5a]
add eax, eax
sub eax, ecx
mov word [esp + 0x1c], cx
js 0x48e931
movzx ecx, word [esp + 0x5c]
add eax, eax
sub eax, ecx
mov word [esp + 0x18], cx
js 0x48e931
movzx ecx, word [esp + 0x5e]
add eax, eax
sub eax, ecx
mov word [esp + 0x2c], cx
js 0x48e931
movzx ecx, word [esp + 0x60]
add eax, eax
sub eax, ecx
mov word [esp + 0x28], cx
js 0x48e931
movzx ecx, word [esp + 0x62]
add eax, eax
sub eax, ecx
mov word [esp + 0x34], cx
js 0x48e931
movzx ecx, word [esp + 0x64]
add eax, eax
sub eax, ecx
mov word [esp + 0x30], cx
js 0x48e931
add eax, eax
cmp eax, edx
js 0x48e931
je 0x48e7bd
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x48e931
cmp dword [esp + 0x20], 1
jne 0x48e931
add ebx, edi
xor eax, eax
mov word [esp + 0x6c], di
mov word [esp + 0x6e], bx
add bx, word [esp + 8]
mov word [esp + 0x6a], ax
xor eax, eax
mov word [esp + 0x70], bx
add ebx, ebp
mov word [esp + 0x72], bx
add bx, word [esp + 0x10]
mov word [esp + 0x74], bx
add bx, word [esp + 0xc]
mov word [esp + 0x76], bx
add bx, word [esp + 0x14]
mov word [esp + 0x78], bx
add bx, word [esp + 0x24]
mov word [esp + 0x7a], bx
add bx, word [esp + 0x1c]
mov word [esp + 0x7c], bx
add bx, word [esp + 0x18]
mov word [esp + 0x7e], bx
add bx, word [esp + 0x2c]
mov word [esp + 0x80], bx
add bx, word [esp + 0x28]
mov word [esp + 0x82], bx
add bx, word [esp + 0x34]
mov word [esp + 0x84], bx
add bx, word [esp + 0x30]
test esi, esi
mov word [esp + 0x86], bx
je 0x48e886
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
movzx edx, word [ebx + eax*2]
test dx, dx
je 0x48e87f
movzx ecx, word [esp + edx*2 + 0x68]
lea ebp, [ecx + 1]
mov word [edi + ecx*2], ax
mov word [esp + edx*2 + 0x68], bp
add eax, 1
cmp esi, eax
jne 0x48e865
mov esi, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [esp + 0x9c]
cmp eax, esi
cmovb eax, esi
test ecx, ecx
mov esi, eax
mov dword [esp + 0x28], eax
je 0x48e941
cmp dword [esp + 0x9c], 1
mov edx, 0x101
mov eax, 0
mov ecx, esi
cmove eax, edx
mov edx, 0x4de440
mov dword [esp + 0x2c], eax
mov eax, 0x4de3c0
cmove eax, edx
mov edx, 0x4de480
mov dword [esp + 0x40], eax
mov eax, 0x4de400
cmove eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
cmp dword [esp + 0x9c], 1
mov esi, eax
mov dword [esp + 0x24], eax
sete byte [esp + 0x46]
cmp eax, 0x354
jbe 0x48ed76
cmp byte [esp + 0x46], 0
je 0x48ed76
add esp, 0x88
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x88
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0x28]
mov byte [esp + 0x46], 0
mov dword [esp + 0x2c], 0x14
mov byte [esp + 0x47], 0
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x24], eax
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
xor edx, edx
movzx ebx, byte [esp + 4]
sub bl, byte [esp + 8]
movzx eax, word [eax]
lea ecx, [eax + 1]
mov esi, eax
cmp ecx, ebp
jb 0x48e9eb
cmp eax, ebp
jb 0x48ed65
mov esi, dword [esp + 0x40]
sub eax, ebp
movzx edx, byte [esi + eax*2]
mov esi, dword [esp + 0x3c]
movzx esi, word [esi + eax*2]
mov eax, dword [esp + 4]
sub eax, dword [esp + 8]
mov ebp, 1
mov dword [esp + 0x18], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, 1
shl ebp, cl
movzx ecx, byte [esp]
shl eax, cl
movzx ecx, byte [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, 0xfffffffc
shl eax, cl
movzx ecx, byte [esp + 8]
mov dword [esp + 0x14], eax
mov eax, edi
mov edi, ebp
shr eax, cl
mov ecx, dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, ebp
mov ebp, dword [esp + 0x14]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xc]
mov byte [ecx], dl
mov byte [ecx + 1], bl
mov word [ecx + 2], si
add ecx, ebp
sub eax, edi
jne 0x48ea45
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x18]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x48ea79
mov ebp, dword [esp]
lea esi, [esi]
shr eax, 1
test edi, eax
jne 0x48ea70
mov dword [esp], ebp
mov esi, dword [esp + 4]
lea edx, [eax - 1]
and edx, edi
movzx edi, word [esp + esi*2 + 0x48]
add edx, eax
test eax, eax
cmovne eax, edx
lea edx, [edi - 1]
mov word [esp + 0xc], di
test dx, dx
mov word [esp + esi*2 + 0x48], dx
jne 0x48eac3
mov edi, dword [esp + 0x20]
cmp esi, edi
je 0x48edaa
mov esi, dword [esp + 0x10]
movzx edx, word [esi + 2]
mov esi, dword [esp + 0xa0]
movzx esi, word [esi + edx*2]
mov dword [esp + 4], esi
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x28]
cmp ebp, ebx
jbe 0x48ed59
mov esi, dword [esp + 0x34]
and esi, eax
cmp dword [esp + 0x30], esi
je 0x48ed59
mov edi, dword [esp + 8]
movzx ecx, byte [esp]
mov edx, 4
test edi, edi
cmove edi, ebx
mov ebx, dword [esp + 0x20]
shl edx, cl
mov ecx, ebp
add dword [esp + 0x1c], edx
mov edx, 1
sub ecx, edi
mov dword [esp + 8], edi
shl edx, cl
cmp ebp, ebx
jae 0x48ed71
movzx ebx, word [esp + ebp*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ed71
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x20]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 2]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 3]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 4]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 5]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 6]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 7]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 8]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 9]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xa]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xb]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xc]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xd]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xe]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
sub edx, ebx
test edx, edx
jle 0x48ecf8
lea ebx, [ecx + 0xf]
add edx, edx
mov dword [esp], ebx
add ebx, edi
cmp ebp, ebx
jbe 0x48ecf8
movzx ebx, word [esp + ebx*2 + 0x48]
add ecx, 0x10
sub edx, ebx
test edx, edx
cmovle ecx, dword [esp]
mov dword [esp], ecx
movzx ecx, byte [esp]
mov edx, 1
shl edx, cl
add dword [esp + 0x24], edx
mov ebx, dword [esp + 0x24]
cmp ebx, 0x354
jbe 0x48ed1e
cmp byte [esp + 0x46], 0
jne 0x48e921
cmp dword [esp + 0x24], 0x250
jbe 0x48ed33
cmp byte [esp + 0x47], 0
jne 0x48e921
mov edi, dword [esp + 0x38]
movzx ebx, byte [esp]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
lea edx, [edi + esi*4]
sub ecx, edi
mov byte [edx], bl
movzx ebx, byte [esp + 0x28]
sar ecx, 2
mov word [edx + 2], cx
mov byte [edx + 1], bl
add dword [esp + 0x10], 2
mov edi, eax
jmp 0x48e9b2
xor esi, esi
mov edx, 0x60
jmp 0x48e9eb
mov dword [esp], ecx
jmp 0x48ecf8
mov eax, esi
sub eax, 1
cmp dword [esp + 0x9c], 2
mov dword [esp + 0x34], eax
sete byte [esp + 0x47]
cmp esi, 0x250
movzx eax, byte [esp + 0x47]
jbe 0x48e986
test al, al
jne 0x48e921
jmp 0x48e986
test eax, eax
je 0x48edc1
mov esi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esi + eax*4]
mov byte [eax], 0x40
mov byte [eax + 1], bl
mov word [eax + 2], dx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0xa8]
mov dword [esi], eax
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x28]
mov dword [eax], esi
xor eax, eax
jmp 0x48e536
mov eax, dword [esp + 0xac]
mov ebp, 1
mov dword [esp + 0x20], 1
mov eax, dword [eax]
test eax, eax
cmove ebp, eax
mov dword [esp], ebp
movzx ebx, word [esp + 0x4a]
mov ecx, 2
mov eax, 0xffffffff
sub ecx, ebx
mov edi, ebx
js 0x48e536
mov dword [esp + 4], 1
jmp 0x48e698
mov dword [esp + 4], 2
jmp 0x48e688
mov dword [esp + 4], 0xa
jmp 0x48e688
mov dword [esp + 4], 9
jmp 0x48e688
mov dword [esp + 4], 8
jmp 0x48e688
mov dword [esp + 4], 7
jmp 0x48e688
mov dword [esp + 4], 6
jmp 0x48e688
mov dword [esp + 4], 5
jmp 0x48e688
mov dword [esp + 4], 4
jmp 0x48e688
mov dword [esp + 4], 3
jmp 0x48e688
mov dword [esp + 4], 0xd
jmp 0x48e688
mov dword [esp + 4], 0xc
jmp 0x48e688
mov dword [esp + 4], 0xb
jmp 0x48e688
mov dword [esp + 0x20], 0xe
jmp 0x48e550
mov dword [esp + 0x20], 0xd
jmp 0x48e550
mov dword [esp + 0x20], 0xc
jmp 0x48e550
mov dword [esp + 0x20], 0xb
jmp 0x48e550
mov dword [esp + 0x20], 0xa
jmp 0x48e550
mov dword [esp + 0x20], 9
jmp 0x48e550
mov dword [esp + 0x20], 7
jmp 0x48e550
mov dword [esp + 0x20], 8
jmp 0x48e550
mov dword [esp + 0x20], 4
jmp 0x48e550
mov dword [esp + 0x20], 5
jmp 0x48e550
mov dword [esp + 0x20], 6
jmp 0x48e550
mov dword [esp + 0x20], 2
jmp 0x48e550
mov dword [esp + 4], 0xe
jmp 0x48e688
mov dword [esp + 0x20], 3
jmp 0x48e550