Function at 0x48afc0
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 0x48b973
lea ebx, [ebx]
cmp dword [ebp + 0x154], edi
je 0x48b011
mov dword [esp + 0x2c], edi
jmp 0x48b958
cmp dword [ebp + 0x28], edi
jne 0x48b958
mov al, byte [edx + 0x1130]
test al, al
mov dword [esp + 0x2c], edi
je 0x48b043
mov eax, dword [ebp + 0x38]
cmp eax, edi
je 0x48b036
mov eax, dword [eax + 0x18]
cmp eax, edi
jne 0x48b03c
mov eax, dword [ebp + 0x16c]
mov dword [edx + esi*4 + 0x1934], eax
cmp esi, 0x20
mov dword [esp + 0x18], edi
jge 0x48b067
mov ecx, edx
call fcn.00489d50
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x48b067
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 0x48b2fe
cmp esi, edx
mov eax, dword [esp + 0x17c]
mov dword [ebp + eax*4 + 0x9c], edx
jle 0x48b24b
jmp 0x48b0e0
mov edx, dword [ebp + 0x124]
cmp esi, edx
jge 0x48b0ec
mov edx, esi
test edx, edx
jle 0x48b187
mov al, byte [ebp + 0x12e]
test al, al
je 0x48b125
test ebx, ebx
je 0x48b146
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 0x48b146
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
mov edx, eax
test edx, edx
jne 0x48b146
mov al, byte [ebp + 0x12f]
test al, al
jne 0x48b249
mov al, byte [ebp + 0x12f]
test al, al
jne 0x48b15e
mov eax, dword [esp + 0x17c]
add dword [ebp + eax*4 + 0x9c], edx
test ebx, ebx
je 0x48b16b
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 0x48b241
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 0x48b1ef
mov al, byte [ebp + 0x12c]
test al, al
je 0x48b1dd
mov eax, dword [ebp + 0x128]
test eax, eax
mov byte [ebp + 0x12c], 0
jge 0x48b1e6
neg eax
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x128], 0
mov byte [ebp + 0x12e], 1
jmp 0x48b1f6
mov edx, dword [edi + 4]
mov dword [ebp + 0x124], edx
mov byte [ebp + 0x12e], 1
jmp 0x48b1f6
mov byte [ebp + 0x12e], 0
mov ecx, dword [ebp + 0x168]
test ecx, ecx
je 0x48b241
mov eax, dword [ebp + 0x124]
test eax, eax
je 0x48b241
mov al, byte [ebp + 0x12e]
test al, al
jne 0x48b241
push 1
call fcn.004a12b0
test eax, eax
je 0x48b241
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.004a5d80
test esi, esi
jg 0x48b0e0
xor edx, edx
mov al, byte [ebp + 0x12d]
test al, al
je 0x48b2cd
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 0x48b298
mov dword [esp + 0x84], 0x2b11
mov ecx, 0x8000
mov word [esp + 0x8a], cx
mov word [esp + 0x88], cx
cmp dword [esp + 0x18], edx
je 0x48b2cd
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.0048ad30
add esp, 0x14
xor edx, edx
mov ecx, dword [ebp + 0x94]
cmp ecx, edx
je 0x48b5ef
call fcn.004a63e0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48b5ef
mov eax, 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x164], eax
jmp 0x48b5ef
cmp dword [ebp + 0x14c], edx
je 0x48b4c9
cmp esi, edx
mov ecx, dword [esp + 0x17c]
mov dword [ebp + ecx*4 + 0x9c], edx
jle 0x48b5ef
mov esi, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x138]
mov eax, dword [esp + 0x20]
sub esi, ecx
cmp eax, esi
jge 0x48b338
mov esi, eax
mov eax, dword [esp + 0x10]
xor edi, edi
test esi, esi
mov dword [esp + 0x24], edi
jle 0x48b36b
mov cl, byte [eax + 0x15]
test cl, cl
je 0x48b354
mov cl, byte [eax + 0x14]
test cl, cl
je 0x48b36b
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 0x48b3ae
test esi, esi
je 0x48b3ae
test ebx, ebx
je 0x48b39b
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 0x48b466
mov cl, byte [eax + 0x14]
test cl, cl
je 0x48b405
mov edx, dword [ebp + 0x84]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [ebp + 0x84], edx
jle 0x48b481
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 0x48b470
test ebx, ebx
mov byte [eax + 0x15], 1
je 0x48b458
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 0x48b320
jmp 0x48b5ef
test ebx, ebx
je 0x48b4b6
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 0x48b5ef
cmp esi, edx
jle 0x48b5ef
mov edi, dword [ebp + 0x13c]
sub edi, dword [ebp + 0x138]
cmp esi, edi
jge 0x48b4e3
mov edi, esi
test edi, edi
jg 0x48b535
mov ecx, dword [ebp + 0x84]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 0x84], ecx
jle 0x48b599
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 0x48b54f
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 0x48b58f
push 1
call fcn.004a12b0
test eax, eax
je 0x48b58f
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.004a5d80
test esi, esi
jg 0x48b4d1
jmp 0x48b5ef
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x48b5b1
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x48b5b1
mov dword [ebp + 0x164], 1
test ebx, ebx
je 0x48b5e8
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 0x48b680
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 0x48b652
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.0048a590
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 0x48b6c3
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x48b6b6
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.0048ad30
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 0x48b88a
mov ecx, dword [ebp + 0x150]
test ecx, ecx
je 0x48b74e
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b88a
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.00489e20
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.00489f10
add esp, 0x1c
jmp 0x48b88a
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x48b82c
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 0x48b7b0
call fcn.004a63e0
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.00489e20
add esp, 0xc
jmp 0x48b7ec
cmp edi, ebx
je 0x48b7ec
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 0x62
je 0x48b7c9
cmp eax, 6
je 0x48b7c9
cmp eax, 0x61
jne 0x48b7e5
mov ecx, dword [edi + 0x20]
call fcn.004a63e0
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.00489e20
add esp, 0xc
mov edi, dword [edi + 8]
test edi, edi
jne 0x48b7b0
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, eax
push ecx
call fcn.00489e20
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.00489f10
add esp, 0x1c
jmp 0x48b88a
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b88a
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.00489f10
add esp, 0x10
mov eax, dword [ebp + 0x158]
test eax, eax
je 0x48b958
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1cb8]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x48b958
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 0x48b907
movsx edx, ax
test edx, edx
jle 0x48b944
mov eax, dword [esp + 0x18]
movsx eax, word [eax + ecx*2]
cmp ebx, eax
jl 0x48b8f4
mov ebx, eax
cmp edi, eax
mov dword [esp + 0x10], ebx
jg 0x48b8fe
mov edi, eax
inc ecx
cmp ecx, edx
mov esi, edi
jl 0x48b8e6
jmp 0x48b944
movsx eax, ax
test eax, eax
mov dword [esp + 0x24], eax
jle 0x48b944
mov edx, dword [esp + 0x18]
movsx eax, word [edx + ecx*4]
cmp ebx, eax
jl 0x48b920
mov ebx, eax
cmp edi, eax
jg 0x48b926
mov edi, eax
movsx eax, word [edx + ecx*4 + 2]
cmp dword [esp + 0x10], eax
jl 0x48b935
mov dword [esp + 0x10], eax
cmp esi, eax
jg 0x48b93b
mov esi, eax
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
jl 0x48b912
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 0x48b000
cmp dword [esp + 0x2c], edi
je 0x48b978
inc dword [edx + 8]
jmp 0x48b97b
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 0x48bb29
cmp esi, edi
mov ebx, dword [edx + ecx*4 + 0x28]
jne 0x48b9bc
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 0x48bd9a
cmp esi, 1
jne 0x48b9e4
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 0x48bd9a
cmp esi, 2
jne 0x48ba3a
test al, 1
mov ecx, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
je 0x48b9f9
add edx, edx
cmp edx, edi
je 0x48bd9a
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 0x48ba2f
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
dec edi
jne 0x48ba10
jmp 0x48bd9a
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 0x48ba64
add edi, edi
mov dword [esp + 0x10], edi
test edi, edi
jle 0x48bd9a
jmp 0x48ba72
mov edi, dword [esp + 0x10]
cmp edi, 0x400
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
jl 0x48ba89
mov edi, 0x400
jmp 0x48ba8d
test edi, edi
jle 0x48baa8
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 0x48ba98
mov dword [esp + 0x78], edx
cmp ebp, 1
jle 0x48badb
lea esi, [esp + 0x7c]
dec ebp
test edi, edi
jle 0x48bad5
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 0x48bac3
mov ebx, dword [esp + 0x24]
mov dword [esi], ecx
add esi, 4
dec ebp
jne 0x48bab2
test edi, edi
jle 0x48bb12
mov ecx, dword [esp + 0x14]
add ecx, 0x130
mov edx, edi
jmp 0x48baf0
mov eax, dword [ecx]
test eax, 0xffff00
je 0x48bb05
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
add ecx, 4
dec edx
jne 0x48baf0
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x48ba6e
jmp 0x48bd9a
cmp esi, edi
mov ebp, dword [edx + ecx*4 + 0x28]
mov dword [esp + 0x2c], ebp
jne 0x48bb70
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 0x48bd9a
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x200
add edi, 0x1132
rep stosd dword es:[edi], eax
jmp 0x48bd9a
cmp esi, 1
jne 0x48bb98
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 0x48bcfa
cmp esi, 2
jne 0x48bbfc
test al, 1
mov esi, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
mov ecx, ebp
je 0x48bbaf
add edx, edx
cmp edx, edi
je 0x48bcfa
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 0x48bbee
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, 0xffff0001
add edx, 0x7fff
mov word [ecx], dx
jmp 0x48bbf1
mov word [ecx], ax
add ecx, 2
dec ebp
jne 0x48bbc2
jmp 0x48bcfa
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 0x48bc22
add ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x48bcfa
mov ebx, dword [esp + 0x78]
mov edi, edi
mov edi, dword [esp + 0x10]
cmp edi, 0x400
jl 0x48bc43
mov edi, 0x400
jmp 0x48bc47
test edi, edi
jle 0x48bc62
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 0x48bc50
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x48bca8
dec eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
jle 0x48bc9a
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 0x48bc82
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 0x48bc74
test edi, edi
jle 0x48bce8
lea ecx, [edx + 0x130]
mov esi, edi
mov eax, dword [ecx]
movsx ebx, ax
cmp ebx, eax
je 0x48bcd7
xor ebx, ebx
test eax, eax
setge bl
dec ebx
and ebx, 0xffff0001
add ebx, 0x7fff
mov word [ebp], bx
jmp 0x48bcdb
mov word [ebp], ax
add ebp, 2
add ecx, 4
dec esi
jne 0x48bcb4
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x48bc30
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x1130]
test al, al
je 0x48bd9a
test byte [ecx + 0x1cb8], 1
mov esi, dword [ecx + 0x20]
mov ebx, dword [esp + 0x2c]
je 0x48bd62
lea edi, [esi + esi]
xor esi, esi
xor eax, eax
mov edx, eax
shr edx, 1
cmp eax, edi
jge 0x48bd46
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 0x48bd56
mov word [ecx + edx*2 + 0x1132], si
mov word [ecx + edx*2 + 0x1532], si
add eax, 2
cmp eax, 0x400
jl 0x48bd23
jmp 0x48bd9a
xor edi, edi
xor edx, edx
lea eax, [ecx + 0x1132]
lea esp, [esp]
cmp edx, esi
jge 0x48bd84
mov cx, word [ebx + edx*2]
mov word [eax + 0x400], cx
mov word [eax], cx
jmp 0x48bd8e
mov word [eax + 0x400], di
mov word [eax], di
inc edx
add eax, 2
cmp edx, 0x200
jl 0x48bd70
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xac], 0
pop ebx
add esp, 0x168
ret 4