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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov eax, dword [esi + 0x260]
lea ebp, [esi + 8]
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4b201f
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
jmp 0x4b2027
mov dword [esp + 0x28], 0
mov eax, dword [esi]
cmp eax, 7
je 0x4b20b8
cmp eax, 8
je 0x4b20ab
cmp eax, 9
je 0x4b209e
cmp eax, 0xa
je 0x4b2050
pop edi
pop esi
mov ecx, 0xffffffe1
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0x40]
sub edx, edi
sub ecx, 1
mov dword [esp + 0x14], ecx
js 0x4b291b
nop word [eax + eax]
mov ecx, dword [esi + 0x64]
mov eax, edi
sub eax, dword [esi + 0x218]
and eax, dword [esi + 0x44]
mov al, byte [eax + ecx]
mov byte [ecx + edi], al
inc edi
mov dword [esp + 0x18], edi
sub edx, 1
je 0x4b2cf7
sub dword [esp + 0x14], 1
jns 0x4b2070
jmp 0x4b291b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x4b2465
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
jmp 0x4b2380
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esi], 7
cmp dword [esi + 0xc0], 0
jne 0x4b20e4
push esi
call fcn.004b1670
add esp, 4
test eax, eax
jne 0x4b20c0
lea ecx, [eax + 2]
jmp 0x4b2930
mov eax, dword [ebp]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov edx, ecx
cmp ecx, 0xf
jae 0x4b213a
cmp ebx, eax
je 0x4b228f
movzx eax, byte [ebx]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
inc ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 4], edx
mov dword [ebp + 8], ebx
cmp edx, 0xf
jb 0x4b2116
mov ecx, dword [ebp]
and ecx, dword [0x523574]
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x4b217e
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
shr ecx, 8
mov dword [ebp + 4], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax*4 + 0x523518]
movzx eax, word [ebx + 2]
and ecx, dword [esp + 0x38]
add ecx, eax
mov al, byte [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [ebp + 4], edx
movzx edx, word [ebx + 2]
mov dword [esp + 0x38], edx
mov ebx, dword [edx*8 + 0x521f00]
mov ecx, ebx
mov edx, dword [edx*8 + 0x521f04]
mov eax, edx
shrd ecx, eax, 0x10
mov dword [esp + 0x34], ebx
movsx eax, cl
mov ecx, ebx
mov dword [esi + 0x218], eax
mov eax, edx
shrd ecx, eax, 0x18
mov eax, dword [esi + 0x78]
movzx ecx, cl
mov dword [esi + 0xb8], ecx
movzx ebx, dx
mov dword [esp + 0x58], edx
mov al, byte [ecx + eax]
mov byte [esi + 0x21c], al
mov eax, dword [esp + 0x34]
movzx eax, al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
test eax, eax
je 0x4b22b9
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x4b2226
nop word [eax + eax]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x4b22b3
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [esp + 0x24]
jb 0x4b2200
mov edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x24]
mov eax, dword [ebp]
mov edx, dword [edx*4 + 0x523538]
and edx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x24]
shr eax, cl
mov dword [ebp], eax
mov eax, 1
test eax, eax
jne 0x4b22bb
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
test edx, edx
jne 0x4b2c26
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [esi + 0x14], ecx
mov ecx, 2
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push ebp
push ebx
call fcn.004b1f60
add esp, 0xc
test eax, eax
je 0x4b2c55
mov edx, dword [esp + 0x38]
jmp 0x4b2191
xor eax, eax
mov edx, eax
jmp 0x4b224b
xor edx, edx
mov eax, dword [esp + 0x34]
movzx eax, ah
mov dword [esp + 0x24], eax
test eax, eax
je 0x4b233e
mov ecx, dword [ebp + 4]
cmp ecx, eax
jae 0x4b22fb
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0x10]
je 0x4b2336
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [esp + 0x24]
jb 0x4b22d1
mov edi, dword [esp + 0x24]
sub ecx, edi
mov eax, dword [ebp]
mov esi, dword [edi*4 + 0x523538]
and esi, eax
mov dword [ebp + 4], ecx
mov ecx, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
shr eax, cl
mov dword [ebp], eax
mov eax, 1
test eax, eax
je 0x4b224f
mov ecx, dword [esp + 0x1c]
jmp 0x4b2340
mov edx, dword [esp + 0x20]
xor eax, eax
jmp 0x4b2328
xor ecx, ecx
movzx eax, word [esp + 0x5a]
mov ebx, ecx
add eax, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x214], eax
dec dword [esi + 0xc0]
add ecx, edx
mov dword [esp + 0x14], ecx
je 0x4b2465
sub dword [esi + 0x60], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
nop dword [eax]
nop dword [eax + eax]
cmp dword [esi + 0xb4], 0
mov dword [esi], 8
je 0x4b24bd
cmp dword [esi + 0xbc], 0
je 0x4b25f0
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x100]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x4b23db
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x4b2499
movzx eax, byte [edi]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
lea eax, [edi + 1]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
cmp edx, 0xf
jb 0x4b23b5
mov ebx, dword [ebp]
and ebx, dword [0x523574]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x4b2419
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x523518]
movzx eax, word [edi + 2]
and ecx, ebx
add ecx, eax
mov al, byte [edi + ecx*4]
lea edi, [edi + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ecx, word [edi + 2]
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x64]
mov byte [edi + eax], cl
inc edi
mov ecx, dword [esp + 0x14]
dec dword [esi + 0xbc]
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
cmp edi, dword [esi + 0x40]
je 0x4b2c72
test ecx, ecx
jne 0x4b2393
cmp dword [esi + 0x60], 0
jle 0x4b2925
mov ecx, dword [esi + 0x218]
mov dword [esi], 9
test ecx, ecx
js 0x4b2609
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x48]
dec eax
mov dword [esi + 0x48], eax
and eax, 3
mov eax, dword [esi + eax*4 + 0x4c]
jmp 0x4b2896
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
push ebp
push ecx
call fcn.004b1f60
add esp, 0xc
test eax, eax
je 0x4b2c97
mov ecx, dword [esp + 0x3c]
jmp 0x4b242c
mov ecx, dword [esi + 0x64]
lea eax, [edi - 1]
and eax, dword [esi + 0x44]
mov bl, byte [eax + ecx]
lea eax, [edi - 2]
and eax, dword [esi + 0x44]
mov al, byte [eax + ecx]
cmp dword [esi + 0xbc], 0
je 0x4b25f0
mov ecx, dword [esi + 0x70]
movzx eax, al
mov byte [esp + 0x12], bl
movzx edx, byte [eax + ecx + 0x100]
movzx eax, bl
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [esi + 0x74]
movzx ecx, byte [edx + eax]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
cmp edx, 0xf
jae 0x4b2546
mov ebx, dword [esi + 0x18]
nop word [eax + eax]
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x4b25cf
movzx eax, byte [edi]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
lea eax, [edi + 1]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
cmp edx, 0xf
jb 0x4b2520
mov ebx, dword [ebp]
and ebx, dword [0x523574]
mov ecx, dword [esp + 0x34]
movzx eax, bl
lea edi, [ecx + eax*4]
mov al, byte [edi]
cmp al, 8
jbe 0x4b2584
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
mov dword [esi + 0xc], edx
shr ebx, 8
mov ecx, dword [eax*4 + 0x523518]
movzx eax, word [edi + 2]
and ecx, ebx
add ecx, eax
mov al, byte [edi + ecx*4]
lea edi, [edi + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ebx, word [edi + 2]
mov dword [esp + 0x40], ebx
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
mov byte [edi + eax], bl
inc edi
dec dword [esi + 0xbc]
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
je 0x4b2c72
test ecx, ecx
je 0x4b245b
mov al, byte [esp + 0x12]
jmp 0x4b24d2
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
push ebp
push ecx
call fcn.004b1f60
add esp, 0xc
test eax, eax
je 0x4b2c97
mov ebx, dword [esp + 0x40]
jmp 0x4b2597
push esi
call fcn.004b1c40
add esp, 4
test eax, eax
jne 0x4b2380
lea ecx, [eax + 2]
jmp 0x4b2930
cmp dword [esi + 0xc4], 0
lea ebx, [esi + 0xc4]
jne 0x4b2629
push esi
call fcn.004b1950
add esp, 4
test eax, eax
je 0x4b2c97
mov eax, dword [esi + 0x9c]
movzx ecx, byte [esi + 0x21c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
mov edx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x10]
sub edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
cmp edx, 0xf
jae 0x4b2692
mov ebx, ecx
cmp ebx, eax
je 0x4b2740
movzx eax, byte [ebx]
mov ecx, edx
shl eax, cl
add edx, 8
or dword [ebp], eax
inc ebx
mov eax, dword [esi + 0x18]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
cmp edx, 0xf
jb 0x4b2668
lea ebx, [esi + 0xc4]
mov ecx, dword [ebp]
and ecx, dword [0x523574]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x34]
movzx eax, cl
lea ebx, [ebx + eax*4]
mov al, byte [ebx]
cmp al, 8
jbe 0x4b26da
shr dword [ebp], 8
add edx, 0xfffffff8
movzx eax, al
shr ecx, 8
mov dword [esi + 0xc], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [eax*4 + 0x523518]
movzx eax, word [ebx + 2]
and ecx, dword [esp + 0x44]
add ecx, eax
mov al, byte [ebx + ecx*4]
lea ebx, [ebx + ecx*4]
movzx ecx, al
sub edx, ecx
shr dword [ebp], cl
mov dword [esi + 0xc], edx
movzx ebx, word [ebx + 2]
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
dec dword [eax]
mov dword [esi + 0xb8], 0
test ebx, 0xfffffff0
jne 0x4b27c4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x218], ebx
mov dword [esp + 0x34], eax
cmp ebx, 3
jg 0x4b276b
mov ecx, ebx
mov edx, 1
sar edx, cl
mov ecx, eax
sub eax, ebx
mov dword [esi + 0xb8], edx
dec eax
and eax, 3
sub ecx, edx
mov eax, dword [esi + eax*4 + 0x4c]
mov dword [esi + 0x48], ecx
jmp 0x4b2896
lea eax, [esp + 0x44]
push eax
lea ebx, [esi + 0xc4]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x38]
push ebp
push ebx
call fcn.004b1f60
add esp, 0xc
test eax, eax
je 0x4b2c97
mov ebx, dword [esp + 0x44]
jmp 0x4b26ed
cmp ebx, 0xa
mov ecx, 0xa
mov eax, 4
mov edx, 0x605142
cmovge eax, ecx
mov ecx, ebx
sub ecx, eax
xor eax, eax
shl ecx, 2
sar edx, cl
and edx, 0xf
cmp ebx, 0xa
setl al
add eax, 2
add eax, dword [esp + 0x34]
and eax, 3
mov eax, dword [esi + eax*4 + 0x4c]
add eax, 0xfffffffd
add eax, edx
mov dword [esi + 0x218], eax
test eax, eax
jg 0x4b289c
mov dword [esi + 0x218], getpeername
jmp 0x4b289c
movzx eax, byte [esi + ebx + 0x284]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4b287b
cmp eax, 0x18
ja 0x4b2833
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jae 0x4b2808
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x18]
je 0x4b282f
movzx eax, byte [edx]
shl eax, cl
add ecx, 8
or dword [ebp], eax
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
cmp ecx, eax
jb 0x4b27e4
mov eax, dword [eax*4 + 0x523538]
sub ecx, dword [esp + 0x34]
mov edx, dword [ebp]
and eax, edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x34]
shr edx, cl
mov dword [esp + 0x2c], eax
mov eax, 1
mov dword [ebp], edx
jmp 0x4b2842
xor eax, eax
jmp 0x4b2842
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
call fcn.004b3250
add esp, 0xc
test eax, eax
jne 0x4b2883
inc dword [esi + 0xc4]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebp], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
test edx, edx
jne 0x4b2c81
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
lea ecx, [edx + 2]
jmp 0x4b2930
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xf0]
shl eax, cl
add eax, dword [esi + ebx*4 + 0x4a4]
mov dword [esi + 0x218], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
cmp ecx, eax
je 0x4b28b0
cmp edi, eax
mov ecx, eax
cmovl ecx, edi
mov dword [esi + 0x3c], ecx
mov ebx, dword [esi + 0x218]
mov edx, dword [esi + 0x214]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebx
cmp ebx, ecx
jle 0x4b2b80
cmp ebx, 0x7ffffffc
jg 0x4b2ce8
sub ebx, ecx
mov dword [esp + 0x30], ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x28]
jge 0x4b2948
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x28]
push edx
push ecx
push esi
call fcn.004aff90
add esp, 0xc
test eax, eax
je 0x4b2cac
push edi
push esi
call fcn.004aeab0
add esp, 8
add edi, eax
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x40]
jge 0x4b2ca1
cmp dword [esi + 0x60], 0
jg 0x4b20c0
mov dword [esi], 0xe
mov ecx, 1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x14]
lea eax, [edi - 4]
cmp eax, 0x1b
ja 0x4b2cd9
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0x7c], 0
je 0x4b29af
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x64]
add eax, 0xfffffffe
and eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x70]
movzx eax, byte [eax + edi]
movzx ecx, byte [eax + ebx + 0x100]
mov eax, dword [esp + 0x18]
dec eax
and eax, dword [esi + 0x44]
movzx eax, byte [eax + edi]
mov edi, dword [esp + 0x14]
movzx eax, byte [eax + ebx]
mov ebx, dword [esp + 0x30]
or ecx, eax
mov eax, dword [esi + 0x25c]
mov al, byte [ecx + eax + 0x80]
mov ecx, dword [esi + 0x25c]
jmp 0x4b29b1
xor al, al
sub ebx, dword [esp + 0x28]
mov byte [esp + 0x12], al
dec ebx
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xc4]
mov eax, dword [ecx + eax*4 + 0x1c4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
movzx ecx, byte [edx + edi]
mov eax, dword [edx + edi*4 + 0x20]
mov dword [esp + 0x30], eax
mov eax, ebx
sar eax, cl
mov edx, dword [ecx*4 + 0x523538]
and edx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb8]
add dword [esi + 0x48], eax
mov eax, dword [esp + 0x20]
imul edx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
cmp edx, dword [eax + 0xc]
jge 0x4b2a25
mov eax, dword [esp + 0x34]
cmp byte [eax + edi], 0
jne 0x4b2aba
mov eax, dword [esi + 0x25c]
mov al, byte [eax + 0xc0]
mov byte [esp + 0x13], al
cmp al, 1
jbe 0x4b2aba
mov ecx, dword [esp + 0x48]
mov eax, 1
mov dh, byte [esp + 0x13]
shl eax, cl
mov ecx, dword [esp + 0x20]
and eax, 0xfffffffe
imul eax, dword [ecx + 0xc]
sub ebx, eax
xor dl, dl
nop dword [eax + eax]
mov eax, dword [esi + 0x25c]
movzx ecx, dl
mov eax, dword [eax + ecx*4 + 0xc4]
mov dword [esp + 0x48], eax
cmp dl, byte [esp + 0x12]
je 0x4b2aac
mov al, byte [eax + edi]
test al, al
je 0x4b2aac
mov ebp, dword [esi + 0x25c]
mov ebp, dword [ebp + ecx*4 + 0x1c4]
movzx ecx, al
mov eax, 1
shl eax, cl
and eax, 0xfffffffe
mov dword [esp + 0x4c], ebp
imul eax, dword [ebp + 0xc]
lea ebp, [esi + 8]
cmp ebx, eax
jl 0x4b2b18
sub ebx, eax
inc dl
cmp dl, dh
jb 0x4b2a60
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp byte [ebx + edi], 0
je 0x4b2cd9
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x4b2cca
mov ebx, dword [esp + 0x20]
cmp edx, dword [ebx + 0xc]
jge 0x4b2cbb
mov edx, dword [esi + 0x64]
add ecx, eax
mov eax, dword [esp + 0x20]
mov ebx, edi
movsx eax, word [eax + 0x18]
cmp dword [esp + 0x24], eax
jne 0x4b2b45
push edi
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [edx + edi]
push eax
call fcn.004d1630
add edi, ebx
add esp, 0xc
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x4b2912
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edx
mov edx, ebx
sar edx, cl
mov ecx, dword [ecx*4 + 0x523538]
and ecx, ebx
mov dword [esp + 0x34], eax
imul ecx, edi
mov dword [esp + 0x24], edx
add ecx, dword [eax + edi*4 + 0x20]
jmp 0x4b2aba
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push ecx
lea eax, [edx + edi]
push eax
call fcn.004c0130
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4b2b72
cmp dword [esi + 0x218], 0x78
jle 0x4b2cbb
add edi, ebx
sub dword [esi + 0x60], ebx
mov dword [esp + 0x18], edi
jmp 0x4b2912
mov eax, dword [esi + 0x64]
mov edx, edi
sub edx, ebx
and edx, dword [esi + 0x44]
lea ecx, [eax + edi]
add eax, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [ecx + edi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x48]
and eax, 3
mov dword [esi + eax*4 + 0x4c], ebx
lea ebx, [edx + ecx]
mov eax, dword [esp + 0x30]
inc dword [esi + 0x48]
sub dword [esi + 0x60], ecx
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x24]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x34]
cmp ebx, edi
jle 0x4b2bd3
cmp eax, edx
jg 0x4b2058
mov edx, dword [esi + 0x40]
cmp eax, edx
jge 0x4b2058
cmp ebx, edx
jge 0x4b2058
mov edi, eax
mov dword [esp + 0x18], edi
cmp ecx, 0x10
jle 0x4b291b
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
add edx, 0x10
add ebx, 0x10
cmp ecx, 0x20
jle 0x4b2c1b
lea eax, [ecx - 0x10]
push eax
push edx
push ebx
call fcn.004d1630
add esp, 0xc
jmp 0x4b291b
movups xmm0, xmmword [edx]
movups xmmword [ebx], xmm0
jmp 0x4b291b
lea eax, [ecx + edx]
mov dword [ebp + 0x10], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x4b2c39
add ecx, 0xffffffe5
add ecx, edx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], ecx
mov ecx, 2
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x14]
mov ecx, 2
mov eax, dword [esp + 0x18]
pop edi
mov dword [esi + 0x34], eax
mov eax, ecx
mov dword [esi + 4], ebx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [esi], 0xd
mov dword [esp + 0x14], ecx
jmp 0x4b292b
lea eax, [ecx + edx]
mov dword [esi + 0x18], eax
lea eax, [edx + 1]
cmp eax, 0x1c
jbe 0x4b2c94
add ecx, 0xffffffe5
add ecx, edx
mov dword [esi + 0x14], ecx
mov ecx, 2
jmp 0x4b2930
mov dword [esi], 0xf
jmp 0x4b292b
pop edi
pop esi
mov ecx, 0xffffffee
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff5
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xffffffed
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff4
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
mov ecx, 0xfffffff0
pop ebp
mov eax, ecx
pop ebx
add esp, 0x4c
ret
mov dword [esi], 0x10
jmp 0x4b292b