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

Disassembly:
sub esp, 0x120
mov eax, dword [0x7be9b8]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x128]
xor cl, cl
mov dword [esp + 0x24], eax
xor dl, dl
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x2c], eax
xor al, al
push ebp
mov ebp, dword [esp + 0x144]
push esi
mov esi, dword [esp + 0x138]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
xor eax, eax
mov byte [esp + 0x16], cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], esi
push edi
mov edi, dword [esp + 0x140]
lea eax, [ecx + esi]
mov esi, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], ebp
lea eax, [esi - 1]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x1b], dl
mov dword [esp + 0x40], esi
test ebx, ebx
jne 0x48d86e
cmp dword [esp + 0x34], ebx
jne 0x48d86e
test eax, eax
jne 0x48d86e
cmp edi, 0xfffffc19
jne 0x48d86e
cmp ecx, edi
jne 0x48d86e
push eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.004804e0
add esp, 0x1c
jmp 0x48e632
mov edx, dword [esp + 0x148]
test edx, 0xe20f5a6f
je 0x48d887
mov eax, 0xfffffffd
jmp 0x48e632
test ebx, ebx
je 0x48e62d
test eax, eax
je 0x48e62d
mov eax, dword [esp + 0x150]
test ebp, ebp
jne 0x48d8aa
test eax, eax
jg 0x48e62d
test eax, eax
jns 0x48d8b8
mov eax, 0xfffffff1
jmp 0x48e632
test edi, edi
jns 0x48d8c6
mov eax, 0xffffffe0
jmp 0x48e632
test ecx, ecx
js 0x48e626
cmp ecx, edi
jg 0x48e626
mov ecx, dword [ebx]
cmp ecx, 0x50435245
je 0x48d8f8
cmp ecx, 0x45524350
mov eax, 0xfffffffc
mov edx, 0xffffffe3
cmove eax, edx
jmp 0x48e632
test byte [ebx + 0xc], 1
jne 0x48d908
mov eax, 0xffffffe4
jmp 0x48e632
mov ecx, dword [ebx + 8]
mov eax, 0
and ecx, 0x800
mov dword [esp + 0x3c], ecx
setne al
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc0], eax
test edx, 0x8000000
je 0x48d937
mov eax, 2
jmp 0x48d93f
mov eax, edx
shr eax, 0xf
and eax, 1
mov dword [esp + 0xfc], eax
test ecx, ecx
je 0x48d9be
test edx, 0x2000
jne 0x48d9be
lea eax, [esp + 0x20]
push eax
push edi
push dword [esp + 0x2c]
call fcn.0048e9c0
add esp, 0xc
test eax, eax
je 0x48d99e
cmp dword [esp + 0x150], 2
jl 0x48d97c
mov ecx, dword [esp + 0x20]
mov dword [ebp], ecx
mov dword [ebp + 4], eax
cmp eax, 5
jg 0x48d994
cmp dword [esp + 0xfc], 1
mov eax, 0xffffffe7
jg 0x48e632
mov eax, 0xfffffff6
jmp 0x48e632
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x48d9be
cmp eax, edi
jge 0x48d9be
mov eax, esi
mov al, byte [eax]
and al, 0xc0
cmp al, 0x80
jne 0x48d9be
mov eax, 0xfffffff5
jmp 0x48e632
movzx eax, word [ebx + 0x22]
mov ecx, 0x989680
movzx ebp, word [ebx + 0x24]
add eax, ebx
mov dword [esp + 0xa4], eax
mov edx, ecx
movzx eax, word [ebx + 0x26]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x20], ebx
test eax, eax
je 0x48da5b
mov ebx, dword [eax]
test bl, 1
je 0x48da22
mov ebx, dword [eax + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax]
test bl, 2
je 0x48da2e
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
test bl, 0x10
je 0x48da3a
mov edx, dword [eax + 0x14]
mov dword [esp + 0x7c], edx
test bl, 4
je 0x48da4d
mov eax, dword [eax + 0xc]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x34]
test bl, 8
je 0x48da57
mov ebx, dword [eax + 0x10]
jmp 0x48da5b
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0xc]
test esi, 0x2000
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x40]
je 0x48da82
mov eax, dword [eax + 0x10]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
test dword [esp + 0x28], 0x4000
je 0x48da98
mov eax, dword [eax + 0x14]
cmp eax, edx
cmovb edx, eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x1c]
test ebx, ebx
mov ecx, 0x6d18c8
mov dword [esp + 0xa0], 0
cmovne ecx, ebx
mov dword [esp + 0xd8], 0
mov dword [esp + 0x124], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x58], eax
or eax, dword [esp + 0x148]
mov dword [esp + 0x40], eax
movzx eax, word [edx + 0x26]
imul ebp, eax
movzx eax, word [edx + 0x22]
mov dword [esp + 0x120], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0xac], ecx
add ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x108], eax
add ebp, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xe4], ebp
mov ebp, edx
mov dword [esp + 0xe8], ebp
lea eax, [edx + edi]
mov edi, dword [esp + 0x58]
mov ebx, eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x148]
mov eax, edi
shr eax, 5
and eax, 1
mov dword [esp + 0xec], ebx
mov dword [esp + 0xcc], eax
mov eax, edi
shr eax, 0x1d
and eax, 1
mov dword [esp + 0xc8], eax
mov eax, edi
shr eax, 0x19
and eax, 1
mov dword [esp + 0xc4], eax
mov eax, edx
shr eax, 7
and eax, 1
mov dword [esp + 0xb8], eax
mov eax, edx
shr eax, 8
and eax, 1
mov dword [esp + 0xbc], eax
mov eax, edx
shr eax, 0xa
and eax, 1
mov dword [esp + 0xd0], eax
mov eax, edx
shr eax, 0x1c
and eax, 1
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x28]
shr eax, 0xc
and eax, 1
mov dword [esp + 0xe0], eax
lea eax, [ecx + 0x100]
mov dword [esp + 0xb0], eax
lea eax, [ecx + 0x340]
mov dword [esp + 0xb4], eax
mov eax, edx
and eax, 0x1800000
je 0x48dc60
cmp eax, 0x800000
je 0x48dc53
cmp eax, 0x1000000
jne 0x48dcb1
mov dword [esp + 0xdc], 0
test edx, 0x700000
mov eax, edx
cmove eax, edi
and eax, 0x700000
cmp eax, 0x300000
ja 0x48dca3
je 0x48dc80
test eax, eax
je 0x48dc30
cmp eax, 0x100000
je 0x48dc79
cmp eax, 0x200000
jne 0x48dcb1
mov eax, 0xa
xor ecx, ecx
mov byte [esp + 0xa8], al
mov dword [esp + 0x8c], ecx
mov ecx, 1
mov dword [esp + 0x90], ecx
jmp 0x48dcce
mov dword [esp + 0xdc], 1
jmp 0x48dbfd
test edi, 0x1800000
je 0x48dbf2
mov eax, edi
shr eax, 0x17
and eax, 1
mov dword [esp + 0xdc], eax
jmp 0x48dbfd
mov eax, 0xd
jmp 0x48dc35
mov ecx, 2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov word [esp + 0xa8], 0xa0d
jmp 0x48dcce
cmp eax, 0x400000
je 0x48dcc2
cmp eax, 0x500000
je 0x48dcbb
mov eax, 0xffffffe9
jmp 0x48e632
mov ecx, 2
jmp 0x48dcc7
mov ecx, 1
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0xfc], 0
je 0x48dcec
test dword [esp + 0x28], 0x200
je 0x48dcec
mov eax, 0xfffffff3
jmp 0x48e632
mov eax, 0x55555556
imul dword [esp + 0x150]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + eax*2]
mov eax, 0x55555556
lea ecx, [edi + edi]
mov dword [esp + 0x44], edi
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x20]
test ax, ax
je 0x48dd82
mov ecx, eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x48dd82
inc ecx
lea eax, [ecx + ecx*2]
mov dword [esp + 0x44], eax
shl eax, 2
push eax
call dword [0x7b95dc]
mov edi, eax
add esp, 4
mov dword [esp + 0x80], edi
test edi, edi
jne 0x48dd66
lea eax, [edi - 6]
jmp 0x48e632
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x60], 1
mov dword [esp + 0x48], edi
jmp 0x48dd93
mov eax, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x104], 0
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x48]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x88], eax
test ecx, ecx
je 0x48de28
mov eax, dword [esp + 0x44]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x1c]
mov edx, ecx
movzx eax, word [eax + 0x1e]
shl eax, 2
sub edx, eax
mov eax, dword [esp + 0x48]
add eax, 8
cmp edx, eax
cmovb edx, eax
sub ecx, 4
cmp ecx, edx
jb 0x48de06
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, edx
jae 0x48ddf2
mov edi, dword [esp + 0x80]
mov dword [edi + 4], 0xffffffff
mov eax, dword [esp + 0x80]
mov dword [eax], 0xffffffff
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
test byte [esp + 0x40], 0x10
mov edx, dword [esp + 0x1c]
jne 0x48de8e
mov eax, dword [edx + 0xc]
test al, 0x10
je 0x48de66
mov ch, byte [edx + 0x18]
mov dword [esp + 0x50], 1
mov cl, ch
mov byte [esp + 0x13], ch
mov byte [esp + 0x1a], cl
test al, 0x20
je 0x48de8e
movzx eax, ch
mov ecx, dword [esp + 0xb0]
mov al, byte [eax + ecx]
mov byte [esp + 0x13], al
jmp 0x48de95
test dword [esp + 0x28], 0x100
jne 0x48de8e
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48de8e
test byte [eax + 4], 1
mov ecx, dword [esp + 0xb0]
je 0x48de95
add eax, 8
mov dword [esp + 0x64], eax
jmp 0x48de95
mov ecx, dword [esp + 0xb0]
mov eax, dword [edx + 0xc]
test al, 0x40
je 0x48debf
mov dh, byte [edx + 0x1a]
mov dword [esp + 0x68], 1
mov dl, dh
mov byte [esp + 0x12], dh
mov byte [esp + 0x1b], dl
test al, al
jns 0x48debf
movzx eax, dh
mov al, byte [eax + ecx]
mov byte [esp + 0x12], al
mov edx, dword [esp + 0x14]
nop dword [eax]
nop word [eax + eax]
test dword [esp + 0x58], 0x40000
mov edi, edx
je 0x48dfff
cmp dword [esp + 0x3c], 0
mov edi, esi
je 0x48df8a
cmp esi, ebx
jae 0x48dfff
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
test edx, edx
je 0x48df37
cmp edi, ebx
jae 0x48df6e
push dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
push ebx
push edx
push edi
call fcn.0048e680
add esp, 0x14
test eax, eax
jne 0x48dff8
mov ebx, dword [esp + 0xec]
mov edx, dword [esp + 0x8c]
jmp 0x48df6a
mov ecx, dword [esp + 0x90]
mov eax, ebx
sub eax, ecx
cmp edi, eax
ja 0x48df6a
mov al, byte [edi]
cmp al, byte [esp + 0xa8]
jne 0x48df6a
cmp ecx, 1
je 0x48dff8
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa9]
je 0x48dff8
mov ecx, dword [esp + 0x14]
inc edi
cmp edi, ecx
jae 0x48df80
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x48df80
inc edi
cmp edi, ecx
jb 0x48df73
cmp edi, ebx
jb 0x48df00
jmp 0x48dff8
cmp esi, ebx
jae 0x48dfff
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x48dfc8
cmp edi, ebx
jae 0x48dff3
push dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
push ebx
push edx
push edi
call fcn.0048e680
add esp, 0x14
test eax, eax
jne 0x48dff8
mov ebx, dword [esp + 0xec]
mov edx, dword [esp + 0x8c]
jmp 0x48dff3
mov ecx, dword [esp + 0x90]
mov eax, ebx
sub eax, ecx
cmp edi, eax
ja 0x48dff3
mov al, byte [edi]
cmp al, byte [esp + 0xa8]
jne 0x48dff3
cmp ecx, 1
je 0x48dff8
mov al, byte [edi + 1]
cmp al, byte [esp + 0xa9]
je 0x48dff8
inc edi
cmp edi, ebx
jb 0x48df95
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
or eax, dword [esp + 0x148]
test eax, 0x4000000
jne 0x48e1f7
cmp dword [esp + 0x50], 0
je 0x48e062
cmp esi, edi
jae 0x48e1f7
mov cl, byte [esp + 0x1a]
mov dl, byte [esp + 0x13]
cmp cl, dl
je 0x48e050
mov al, byte [esi]
cmp al, cl
je 0x48e1f7
cmp al, dl
je 0x48e1f7
inc esi
cmp esi, edi
jb 0x48e033
jmp 0x48e1f7
cmp byte [esi], cl
je 0x48e1f7
inc esi
cmp esi, edi
jb 0x48e050
jmp 0x48e1f7
test dword [esp + 0x28], 0x100
je 0x48e1a9
mov eax, dword [esp + 0x38]
add eax, ebp
cmp esi, eax
jbe 0x48e1f7
cmp esi, edi
jae 0x48e186
cmp dword [esp + 0x3c], 0
je 0x48e116
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x48e0c8
cmp esi, ebp
jbe 0x48e0fe
push dword [esp + 0x2c]
lea ecx, [esp + 0x94]
push ecx
push ebp
push eax
push esi
call fcn.0048e7e0
add esp, 0x14
test eax, eax
jne 0x48e186
mov ebp, dword [esp + 0xe8]
jmp 0x48e0fe
mov edx, dword [esp + 0x90]
lea eax, [edx + ebp]
cmp esi, eax
jb 0x48e0fe
mov ecx, esi
sub ecx, edx
mov al, byte [ecx]
cmp al, byte [esp + 0xa8]
jne 0x48e0fe
cmp edx, 1
je 0x48e186
mov al, byte [ecx + 1]
cmp al, byte [esp + 0xa9]
je 0x48e186
inc esi
cmp esi, edi
jae 0x48e186
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x48e091
inc esi
cmp esi, edi
jb 0x48e107
jmp 0x48e186
mov eax, dword [esp + 0x8c]
nop dword [eax]
test eax, eax
je 0x48e14c
cmp esi, ebp
jbe 0x48e181
push dword [esp + 0x2c]
lea ecx, [esp + 0x94]
push ecx
push ebp
push eax
push esi
call fcn.0048e7e0
add esp, 0x14
test eax, eax
jne 0x48e186
mov ebp, dword [esp + 0xe8]
jmp 0x48e17a
mov edx, dword [esp + 0x90]
lea eax, [edx + ebp]
cmp esi, eax
jb 0x48e17a
mov ecx, esi
sub ecx, edx
mov al, byte [ecx]
cmp al, byte [esp + 0xa8]
jne 0x48e17a
cmp edx, 1
je 0x48e186
mov al, byte [ecx + 1]
cmp al, byte [esp + 0xa9]
je 0x48e186
mov eax, dword [esp + 0x8c]
inc esi
cmp esi, edi
jb 0x48e120
cmp byte [esi - 1], 0xd
jne 0x48e1f7
mov eax, dword [esp + 0x8c]
cmp eax, 1
je 0x48e19d
cmp eax, 2
jne 0x48e1f7
cmp esi, edi
jae 0x48e1f7
cmp byte [esi], 0xa
jne 0x48e1f7
inc esi
jmp 0x48e1f7
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x48e1f7
cmp esi, edi
jae 0x48e1f7
mov ebx, dword [esp + 0x3c]
nop dword [eax]
movzx edx, byte [esi]
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + ebp], al
jne 0x48e1f3
inc esi
test ebx, ebx
je 0x48e1ef
cmp esi, edi
jae 0x48e1f3
mov al, byte [esi]
and al, 0xc0
cmp al, 0x80
jne 0x48e1ef
inc esi
cmp esi, edi
jb 0x48e1e0
jmp 0x48e1f3
cmp esi, edi
jb 0x48e1c0
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
or eax, dword [esp + 0x148]
test eax, 0x4000000
jne 0x48e2a0
cmp dword [esp + 0xfc], 0
jne 0x48e2a0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x48e235
test byte [ecx + 4], 2
je 0x48e235
mov eax, edx
sub eax, esi
cmp eax, dword [ecx + 0x28]
jb case.0x48e331.996
cmp dword [esp + 0x68], 0
je 0x48e2a0
mov eax, edx
sub eax, esi
cmp eax, 0x3e8
jge 0x48e2a0
mov eax, dword [esp + 0x50]
lea ecx, [esi + eax]
cmp ecx, dword [esp + 0x54]
jbe 0x48e2a0
cmp ecx, edx
jae case.0x48e331.996
mov ah, byte [esp + 0x1b]
cmp ah, byte [esp + 0x12]
je 0x48e280
mov al, byte [ecx]
mov ebx, ecx
inc ecx
mov dword [esp + 0x54], ebx
cmp al, ah
je 0x48e298
cmp al, byte [esp + 0x12]
je 0x48e298
cmp ecx, edx
jb 0x48e262
xor ebp, ebp
jmp 0x48e489
mov al, byte [ecx]
mov ebx, ecx
mov dword [esp + 0x54], ecx
inc ecx
cmp al, ah
je 0x48e298
cmp ecx, edx
jb 0x48e280
xor ebp, ebp
jmp 0x48e489
cmp ebx, edx
jae case.0x48e331.996
mov ebx, dword [esp + 0x1c]
push 0
push 0
lea eax, [esp + 0x7c]
mov dword [esp + 0xf8], esi
push eax
push 2
push esi
push dword [esp + 0xf8]
mov dword [esp + 0x110], esi
push esi
mov dword [esp + 0x90], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0xb8], 0
call fcn.004804e0
add esp, 0x1c
mov ebp, eax
cmp dword [esp + 0xd8], 0
je 0x48e318
cmp dword [esp + 0x5c], 0
jne 0x48e318
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], esi
test ebp, ebp
jg case.default.0x48e331
je case.0x48e331.995
lea eax, [ebp + 0x3e4]
cmp eax, 4
ja case.default.0x48e331
jmp dword [eax*4 + 0x48e64c]
mov eax, dword [esp + 0x9c]
mov edi, esi
mov dword [esp + 0xa0], eax
jmp 0x48e37f
mov edi, dword [esp + 0xf0]
cmp edi, esi
ja 0x48e37f
cmp dword [esp + 0x3c], 0
lea edi, [esi + 1]
mov dword [esp + 0xa0], 0
je 0x48e37f
mov edx, dword [esp + 0x14]
cmp edi, edx
jae 0x48e37f
mov al, byte [edi]
and al, 0xc0
cmp al, 0x80
jne 0x48e37f
inc edi
cmp edi, edx
jb 0x48e372
mov eax, dword [esp + 0x8c]
xor ebp, ebp
test dword [esp + 0x58], 0x40000
mov ebx, dword [esp + 0xec]
je 0x48e3d2
test eax, eax
je 0x48e43d
cmp esi, ebx
jae 0x48e3d2
push dword [esp + 0x2c]
lea ecx, [esp + 0x94]
push ecx
push ebx
push eax
push esi
call fcn.0048e680
add esp, 0x14
test eax, eax
jne 0x48e489
mov ebx, dword [esp + 0xec]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
test byte [esp + 0x40], 0x10
mov esi, edi
jne 0x48e489
mov edx, dword [esp + 0x14]
cmp edi, edx
ja 0x48e489
cmp edi, dword [esp + 0x6c]
jbe 0x48e426
cmp byte [edi - 1], 0xd
jne 0x48e426
cmp edi, edx
jae 0x48e426
cmp byte [edi], 0xa
jne 0x48e426
mov ebp, dword [esp + 0x1c]
test dword [ebp + 0xc], 0x800
jne 0x48e426
cmp eax, 1
je 0x48e423
cmp eax, 2
je 0x48e423
cmp ecx, 2
jne 0x48e426
lea esi, [edi + 1]
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x120], 0
jmp 0x48ded0
mov ecx, dword [esp + 0x90]
mov eax, ebx
sub eax, ecx
cmp esi, eax
ja 0x48e468
mov al, byte [esi]
cmp al, byte [esp + 0xa8]
jne 0x48e468
cmp ecx, 1
je 0x48e489
mov al, byte [esi + 1]
cmp al, byte [esp + 0xa9]
je 0x48e489
mov eax, dword [esp + 0x8c]
jmp 0x48e3d9
cmp ebp, 1
je 0x48e517
cmp ebp, 0xfffffc19
je 0x48e517
cmp dword [esp + 0x60], 0
je 0x48e4a0
push dword [esp + 0x80]
call dword [0x7b95e0]
add esp, 4
test ebp, ebp
je 0x48e4b0
cmp ebp, 0xfffffff4
je 0x48e4b0
mov eax, ebp
jmp 0x48e632
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x48e4ee
mov edx, dword [esp + 0x150]
cmp edx, 1
jle 0x48e4e7
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
sub eax, esi
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [ecx + 4], eax
cmp edx, 2
jle 0x48e4e7
sub ebx, esi
mov dword [ecx + 8], ebx
mov eax, 0xfffffff4
jmp 0x48e4f1
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x48e632
test byte [ecx], 0x20
je 0x48e632
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x124]
mov dword [edx], ecx
jmp 0x48e632
cmp dword [esp + 0x60], 0
mov edi, dword [esp + 0x20]
je 0x48e568
mov esi, dword [esp + 0x80]
cmp edi, 4
jl 0x48e54a
lea eax, [edi*4 - 8]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [esp + 0x38]
add eax, 8
push eax
call fcn.004dbc20
add esp, 0xc
cmp dword [esp + 0x100], edi
jle 0x48e55e
or dword [esp + 0x104], 0x10000
push esi
call dword [0x7b95e0]
add esp, 4
test dword [esp + 0x104], 0x10000
mov ecx, dword [esp + 0x100]
je 0x48e584
cmp ecx, edi
jl 0x48e584
xor esi, esi
jmp 0x48e58d
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
movzx edi, word [ebx + 0x1e]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
cmp eax, edi
jg 0x48e5da
test edx, edx
je 0x48e5da
lea eax, [edi*2 + 2]
cmp eax, dword [esp + 0x150]
lea edi, [edx + ecx*4]
cmovg eax, dword [esp + 0x150]
xor ebx, ebx
lea eax, [edx + eax*4]
mov ecx, eax
sub ecx, edi
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, ebx
test ecx, ecx
je 0x48e5da
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x150], 2
jge 0x48e5e8
xor esi, esi
jmp 0x48e609
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0xe8]
mov dword [edx], eax
mov eax, dword [esp + 0xf4]
sub eax, dword [esp + 0xe8]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48e622
test byte [eax], 0x20
je 0x48e622
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 0x120]
mov dword [edx], ecx
mov eax, esi
jmp 0x48e632
mov eax, 0xffffffe8
jmp 0x48e632
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004daa4c
add esp, 0x120
ret