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

Disassembly:
sub esp, 0x168
push ebx
push ebp
mov edx, ecx
push esi
push edi
xor eax, eax
mov ecx, 0x20
lea edi, [edx + 0x1934]
rep stosd dword es:[edi], eax
mov ebp, dword [edx + 4]
xor edi, edi
xor esi, esi
cmp ebp, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
je 0x48b673
lea ebx, [ebx]
cmp dword [ebp + 0x154], edi
je 0x48ad11
mov dword [esp + 0x2c], edi
jmp 0x48b658
cmp dword [ebp + 0x28], edi
jne 0x48b658
mov al, byte [edx + 0x1130]
test al, al
mov dword [esp + 0x2c], edi
je 0x48ad43
mov eax, dword [ebp + 0x38]
cmp eax, edi
je 0x48ad36
mov eax, dword [eax + 0x18]
cmp eax, edi
jne 0x48ad3c
mov eax, dword [ebp + 0x16c]
mov dword [edx + esi*4 + 0x1934], eax
cmp esi, 0x20
mov dword [esp + 0x18], edi
jge 0x48ad67
mov ecx, edx
call fcn.00489a50
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x48ad67
mov dword [esp + esi*4 + 0xf8], eax
inc esi
mov dword [esp + 0x28], esi
mov edi, dword [ebp + 0x38]
mov eax, dword [edi]
mov ecx, eax
sar ecx, 2
and ecx, 3
test al, 2
mov edx, 0
setne dl
mov ecx, dword [ecx*4 + 0x5fb068]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
inc edx
test al, 1
mov eax, 0
setne al
inc eax
imul edx, eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xc]
sar esi, cl
xor edx, edx
cmp eax, edx
mov dword [esp + 0x20], esi
je 0x48affe
cmp esi, edx
mov eax, dword [esp + 0x17c]
mov dword [ebp + eax*4 + 0x9c], edx
jle 0x48af4b
jmp 0x48ade0
mov edx, dword [ebp + 0x124]
cmp esi, edx
jge 0x48adec
mov edx, esi
test edx, edx
jle 0x48ae87
mov al, byte [ebp + 0x12e]
test al, al
je 0x48ae25
test ebx, ebx
je 0x48ae46
mov ecx, edx
imul ecx, dword [esp + 0x1c]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
jmp 0x48ae46
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
mov edx, eax
test edx, edx
jne 0x48ae46
mov al, byte [ebp + 0x12f]
test al, al
jne 0x48af49
mov al, byte [ebp + 0x12f]
test al, al
jne 0x48ae5e
mov eax, dword [esp + 0x17c]
add dword [ebp + eax*4 + 0x9c], edx
test ebx, ebx
je 0x48ae6b
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ebx, ecx
mov ecx, dword [ebp + 0x124]
sub esi, edx
sub ecx, edx
test edx, edx
mov dword [esp + 0x20], esi
mov dword [ebp + 0x124], ecx
jg 0x48af41
push ebp
call dword [ebp + 0x90]
add esp, 4
neg eax
sbb al, al
inc al
mov byte [ebp + 0x12f], al
mov eax, dword [ebp + 0x124]
test eax, eax
jg 0x48aeef
mov al, byte [ebp + 0x12c]
test al, al
je 0x48aedd
mov eax, dword [ebp + 0x128]
test eax, eax
mov byte [ebp + 0x12c], 0
jge 0x48aee6
neg eax
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x128], 0
mov byte [ebp + 0x12e], 1
jmp 0x48aef6
mov edx, dword [edi + 4]
mov dword [ebp + 0x124], edx
mov byte [ebp + 0x12e], 1
jmp 0x48aef6
mov byte [ebp + 0x12e], 0
mov ecx, dword [ebp + 0x168]
test ecx, ecx
je 0x48af41
mov eax, dword [ebp + 0x124]
test eax, eax
je 0x48af41
mov al, byte [ebp + 0x12e]
test al, al
jne 0x48af41
push 1
call fcn.004a10b0
test eax, eax
je 0x48af41
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x5fb068]
shl edx, cl
mov ecx, dword [eax + 0x4c]
add edx, dword [ecx + 4]
mov ecx, eax
push edx
call fcn.004a5b50
test esi, esi
jg 0x48ade0
xor edx, edx
mov al, byte [ebp + 0x12d]
test al, al
je 0x48afcd
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x12d], 0
mov eax, dword [eax + 0xc]
cmp eax, 0x2b11
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], edx
mov word [esp + 0x82], dx
mov word [esp + 0x80], dx
mov dword [esp + 0x84], eax
jl 0x48af98
mov dword [esp + 0x84], 0x2b11
mov ecx, 0x8000
mov word [esp + 0x8a], cx
mov word [esp + 0x88], cx
cmp dword [esp + 0x18], edx
je 0x48afcd
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push ecx
push 0
push eax
mov eax, dword [edi]
push edx
push eax
call fcn.0048aa30
add esp, 0x14
xor edx, edx
mov ecx, dword [ebp + 0x94]
cmp ecx, edx
je 0x48b2ef
call fcn.004a61e0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48b2ef
mov eax, 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x164], eax
jmp 0x48b2ef
cmp dword [ebp + 0x14c], edx
je 0x48b1c9
cmp esi, edx
mov ecx, dword [esp + 0x17c]
mov dword [ebp + ecx*4 + 0x9c], edx
jle 0x48b2ef
mov esi, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x138]
mov eax, dword [esp + 0x20]
sub esi, ecx
cmp eax, esi
jge 0x48b038
mov esi, eax
mov eax, dword [esp + 0x10]
xor edi, edi
test esi, esi
mov dword [esp + 0x24], edi
jle 0x48b06b
mov cl, byte [eax + 0x15]
test cl, cl
je 0x48b054
mov cl, byte [eax + 0x14]
test cl, cl
je 0x48b06b
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push esi
push ebx
call dword [edx + 4]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x17c]
mov edx, dword [ebp + ecx*4 + 0x9c]
add edx, edi
cmp edi, esi
mov dword [ebp + ecx*4 + 0x9c], edx
jl 0x48b0ae
test esi, esi
je 0x48b0ae
test ebx, ebx
je 0x48b09b
mov eax, esi
imul eax, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x138]
sub ecx, esi
add eax, esi
jmp 0x48b166
mov cl, byte [eax + 0x14]
test cl, cl
je 0x48b105
mov edx, dword [ebp + 0x84]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [ebp + 0x84], edx
jle 0x48b181
mov edx, dword [ebp + 0x88]
mov ecx, dword [esp + 0x30]
sar edx, cl
mov ecx, dword [ebp + 0x148]
push 1
mov dword [ebp + 0x138], edx
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
call dword [eax]
mov edx, dword [ebp + 0x138]
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
jmp 0x48b170
test ebx, ebx
mov byte [eax + 0x15], 1
je 0x48b158
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
shr eax, 1
mov ecx, esi
sub ecx, edi
imul edi, edx
not eax
imul ecx, edx
and eax, 1
shl eax, 7
add edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov eax, esi
imul eax, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x138]
sub ecx, esi
add eax, edi
mov dword [esp + 0x20], ecx
mov dword [ebp + 0x138], eax
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x48b020
jmp 0x48b2ef
test ebx, ebx
je 0x48b1b6
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x1c]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 1
mov dword [ebp + 0x164], eax
mov dword [ebp + 0x28], eax
jmp 0x48b2ef
cmp esi, edx
jle 0x48b2ef
mov edi, dword [ebp + 0x13c]
sub edi, dword [ebp + 0x138]
cmp esi, edi
jge 0x48b1e3
mov edi, esi
test edi, edi
jg 0x48b235
mov ecx, dword [ebp + 0x84]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 0x84], ecx
jle 0x48b299
mov eax, dword [ebp + 0x88]
mov ecx, dword [esp + 0x30]
sar eax, cl
mov ecx, dword [ebp + 0x148]
push 1
mov dword [ebp + 0x138], eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [ebp + 0x138]
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 4]
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push edi
push ebx
call dword [edx + 4]
test ebx, ebx
je 0x48b24f
mov eax, edi
imul eax, dword [esp + 0x1c]
add ebx, eax
add dword [ebp + 0x138], edi
mov ecx, dword [ebp + 0x168]
sub esi, edi
test ecx, ecx
je 0x48b28f
push 1
call fcn.004a10b0
test eax, eax
je 0x48b28f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edi, dword [ebp + 0x138]
sar edx, 2
and edx, 3
mov ecx, dword [edx*4 + 0x5fb068]
shl edi, cl
mov ecx, eax
push edi
call fcn.004a5b50
test esi, esi
jg 0x48b1d1
jmp 0x48b2ef
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x48b2b1
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x48b2b1
mov dword [ebp + 0x164], 1
test ebx, ebx
je 0x48b2e8
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov ecx, esi
imul ecx, dword [esp + 0x1c]
mov eax, ebx
shl eax, 0x10
mov edx, ecx
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x28], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48b380
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
sar esi, cl
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x4c]
dec esi
imul esi, ecx
mov ebx, ecx
shr ecx, 2
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x140]
test ecx, ecx
jne 0x48b352
mov ecx, ebx
shr ecx, 2
mov esi, edx
lea edi, [ebp + 0x144]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x140], 1
mov ecx, dword [eax + 0x1cb8]
mov eax, dword [eax + 0xc]
lea esi, [ebp + 0x144]
push esi
push ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, 0xffffff0f
push ecx
push eax
push edx
call fcn.0048a290
mov ecx, dword [esp + 0x60]
add esp, 0x14
mov dword [esi], ecx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
lea eax, [ebp + 0x3c]
jle 0x48b3c3
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x48b3b6
mov edx, dword [ebp + 0x134]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x1cb8]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.0048aa30
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
add dword [ebp + 0x134], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48b58a
mov ecx, dword [ebp + 0x150]
test ecx, ecx
je 0x48b44e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b58a
add eax, 0x828
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.00489b20
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x2c]
sar edx, cl
push edx
push eax
call fcn.00489c10
add esp, 0x1c
jmp 0x48b58a
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x48b52c
mov eax, dword [ecx + 0x2c]
mov esi, dword [eax + 0xd4]
mov edi, dword [ecx + 0x54]
mov edx, dword [ecx + 0x50]
mov ebx, dword [edx + 0xe0]
mov eax, 0x64
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
xor eax, eax
add esi, 0x828
cmp edi, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
jne 0x48b4b0
call fcn.004a61e0
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.00489b20
add esp, 0xc
jmp 0x48b4ec
cmp edi, ebx
je 0x48b4ec
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 0x62
je 0x48b4c9
cmp eax, 6
je 0x48b4c9
cmp eax, 0x61
jne 0x48b4e5
mov ecx, dword [edi + 0x20]
call fcn.004a61e0
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.00489b20
add esp, 0xc
mov edi, dword [edi + 8]
test edi, edi
jne 0x48b4b0
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, eax
push ecx
call fcn.00489b20
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x2c]
sar edx, cl
push edx
push eax
call fcn.00489c10
add esp, 0x1c
jmp 0x48b58a
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b58a
add eax, 0x828
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x64]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x20]
sar edx, cl
push edx
push eax
call fcn.00489c10
add esp, 0x10
mov eax, dword [ebp + 0x158]
test eax, eax
je 0x48b658
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1cb8]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x48b658
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov ecx, edx
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x5fb068]
sar eax, cl
mov ebx, 0x7fff
mov edi, 0xffff8000
xor ecx, ecx
test dl, 1
mov dword [esp + 0x10], ebx
mov esi, edi
jne 0x48b607
movsx edx, ax
test edx, edx
jle 0x48b644
mov eax, dword [esp + 0x18]
movsx eax, word [eax + ecx*2]
cmp ebx, eax
jl 0x48b5f4
mov ebx, eax
cmp edi, eax
mov dword [esp + 0x10], ebx
jg 0x48b5fe
mov edi, eax
inc ecx
cmp ecx, edx
mov esi, edi
jl 0x48b5e6
jmp 0x48b644
movsx eax, ax
test eax, eax
mov dword [esp + 0x24], eax
jle 0x48b644
mov edx, dword [esp + 0x18]
movsx eax, word [edx + ecx*4]
cmp ebx, eax
jl 0x48b620
mov ebx, eax
cmp edi, eax
jg 0x48b626
mov edi, eax
movsx eax, word [edx + ecx*4 + 2]
cmp dword [esp + 0x10], eax
jl 0x48b635
mov dword [esp + 0x10], eax
cmp esi, eax
jg 0x48b63b
mov esi, eax
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
jl 0x48b612
mov eax, dword [esp + 0x10]
sub edi, ebx
sub esi, eax
mov dword [ebp + 0x15c], edi
mov dword [ebp + 0x160], esi
mov ebp, dword [ebp + 0x20]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
xor edi, edi
cmp ebp, edi
jne 0x48ad00
cmp dword [esp + 0x2c], edi
je 0x48b678
inc dword [edx + 8]
jmp 0x48b67b
mov dword [edx + 8], edi
mov eax, dword [edx + 0x1cb8]
mov ecx, eax
shr ecx, 1
not ecx
test cl, 1
mov ecx, dword [esp + 0x17c]
je 0x48b829
cmp esi, edi
mov ebx, dword [edx + ecx*4 + 0x28]
jne 0x48b6bc
mov ecx, dword [edx + 0x24]
mov edx, ecx
shr ecx, 2
mov eax, 0x80808080
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x48ba9a
cmp esi, 1
jne 0x48b6e4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
mov esi, dword [esp + 0xf8]
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x48ba9a
cmp esi, 2
jne 0x48b73a
test al, 1
mov ecx, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
je 0x48b6f9
add edx, edx
cmp edx, edi
je 0x48ba9a
mov esi, dword [esp + 0xfc]
sub esi, ecx
mov edi, edx
lea esp, [esp]
movzx eax, byte [esi + ecx]
movzx edx, byte [ecx]
lea eax, [eax + edx - 0x80]
inc ecx
test eax, 0xffff00
je 0x48b72f
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
dec edi
jne 0x48b710
jmp 0x48ba9a
test al, 1
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
je 0x48b764
add edi, edi
mov dword [esp + 0x10], edi
test edi, edi
jle 0x48ba9a
jmp 0x48b772
mov edi, dword [esp + 0x10]
cmp edi, 0x400
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
jl 0x48b789
mov edi, 0x400
jmp 0x48b78d
test edi, edi
jle 0x48b7a8
mov eax, dword [esp + 0x14]
add eax, 0x130
mov ecx, edi
movzx esi, byte [edx]
mov dword [eax], esi
inc edx
add eax, 4
dec ecx
jne 0x48b798
mov dword [esp + 0x78], edx
cmp ebp, 1
jle 0x48b7db
lea esi, [esp + 0x7c]
dec ebp
test edi, edi
jle 0x48b7d5
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
add eax, 0x130
mov edx, edi
movzx ebx, byte [ecx]
add dword [eax], ebx
inc ecx
add eax, 4
dec edx
jne 0x48b7c3
mov ebx, dword [esp + 0x24]
mov dword [esi], ecx
add esi, 4
dec ebp
jne 0x48b7b2
test edi, edi
jle 0x48b812
mov ecx, dword [esp + 0x14]
add ecx, 0x130
mov edx, edi
jmp 0x48b7f0
mov eax, dword [ecx]
test eax, 0xffff00
je 0x48b805
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
add ecx, 4
dec edx
jne 0x48b7f0
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x48b76e
jmp 0x48ba9a
cmp esi, edi
mov ebp, dword [edx + ecx*4 + 0x28]
mov dword [esp + 0x2c], ebp
jne 0x48b870
mov ecx, dword [edx + 0x24]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [edx + 0x1130]
test al, al
je 0x48ba9a
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x200
add edi, 0x1132
rep stosd dword es:[edi], eax
jmp 0x48ba9a
cmp esi, 1
jne 0x48b898
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x24]
mov esi, dword [esp + 0xf8]
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x48b9fa
cmp esi, 2
jne 0x48b8fc
test al, 1
mov esi, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
mov ecx, ebp
je 0x48b8af
add edx, edx
cmp edx, edi
je 0x48b9fa
mov edi, dword [esp + 0xfc]
sub edi, esi
mov ebp, edx
movsx edx, word [esi]
movsx eax, word [esi + edi]
add eax, edx
movsx edx, ax
add esi, 2
cmp edx, eax
je 0x48b8ee
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, 0xffff0001
add edx, 0x7fff
mov word [ecx], dx
jmp 0x48b8f1
mov word [ecx], ax
add ecx, 2
dec ebp
jne 0x48b8c2
jmp 0x48b9fa
test al, 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x10], ecx
je 0x48b922
add ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x48b9fa
mov ebx, dword [esp + 0x78]
mov edi, edi
mov edi, dword [esp + 0x10]
cmp edi, 0x400
jl 0x48b943
mov edi, 0x400
jmp 0x48b947
test edi, edi
jle 0x48b962
lea eax, [edx + 0x130]
mov ecx, edi
nop
movsx esi, word [ebx]
mov dword [eax], esi
add ebx, 2
add eax, 4
dec ecx
jne 0x48b950
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x48b9a8
dec eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
jle 0x48b99a
mov ecx, dword [esi]
lea eax, [edx + 0x130]
mov edx, edi
movsx ebx, word [ecx]
add dword [eax], ebx
add ecx, 2
add eax, 4
dec edx
jne 0x48b982
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
add esi, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x48b974
test edi, edi
jle 0x48b9e8
lea ecx, [edx + 0x130]
mov esi, edi
mov eax, dword [ecx]
movsx ebx, ax
cmp ebx, eax
je 0x48b9d7
xor ebx, ebx
test eax, eax
setge bl
dec ebx
and ebx, 0xffff0001
add ebx, 0x7fff
mov word [ebp], bx
jmp 0x48b9db
mov word [ebp], ax
add ebp, 2
add ecx, 4
dec esi
jne 0x48b9b4
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x48b930
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x1130]
test al, al
je 0x48ba9a
test byte [ecx + 0x1cb8], 1
mov esi, dword [ecx + 0x20]
mov ebx, dword [esp + 0x2c]
je 0x48ba62
lea edi, [esi + esi]
xor esi, esi
xor eax, eax
mov edx, eax
shr edx, 1
cmp eax, edi
jge 0x48ba46
mov bp, word [ebx + eax*2]
mov word [ecx + edx*2 + 0x1132], bp
mov bp, word [ebx + eax*2 + 2]
mov word [ecx + edx*2 + 0x1532], bp
jmp 0x48ba56
mov word [ecx + edx*2 + 0x1132], si
mov word [ecx + edx*2 + 0x1532], si
add eax, 2
cmp eax, 0x400
jl 0x48ba23
jmp 0x48ba9a
xor edi, edi
xor edx, edx
lea eax, [ecx + 0x1132]
lea esp, [esp]
cmp edx, esi
jge 0x48ba84
mov cx, word [ebx + edx*2]
mov word [eax + 0x400], cx
mov word [eax], cx
jmp 0x48ba8e
mov word [eax + 0x400], di
mov word [eax], di
inc edx
add eax, 2
cmp edx, 0x200
jl 0x48ba70
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xac], 0
pop ebx
add esp, 0x168
ret 4