Function at 0x4adf7f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1015dd88]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x268], 3
push ebx
mov ebx, dword [esi + 0x28]
push edi
jl 0x4adfc1
push dword [esi + 0x54]
push dword [esi + 0x274]
push dword [esi + 0x44]
push 0x10126238
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
add esp, 0x14
mov edi, dword [esi + 0x54]
inc edi
inc edi
lea eax, [esi + 0x9324]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 6
test edi, edi
jle 0x4adfeb
push edi
push 0xf
push dword [ebp - 0xc]
call fcn.004f114c
add esp, 0xc
add dword [ebp - 0xc], 0x102
dec dword [ebp - 0x28]
jne 0x4adfd9
cmp dword [esi + 0x274], 0
jg 0x4ae00b
push 0xbb9
call fcn.004ad85b
pop ecx
mov eax, dword [esi + 0x274]
cmp eax, 0xc8
jge 0x4ae021
mov dword [ebp - 0x30], 2
jmp 0x4ae051
cmp eax, 0x258
jge 0x4ae031
mov dword [ebp - 0x30], 3
jmp 0x4ae051
cmp eax, 0x4b0
jge 0x4ae041
mov dword [ebp - 0x30], 4
jmp 0x4ae051
xor ecx, ecx
cmp eax, 0x960
setge cl
add ecx, 5
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x24], 0
test ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], eax
jle 0x4ae167
and dword [ebp - 0xc], 0
mov eax, ecx
add eax, 0x91
imul eax, eax, 0x102
add eax, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
xor ecx, ecx
dec edi
mov dword [ebp - 0x40], ecx
test eax, eax
mov dword [ebp - 0x28], eax
jle 0x4ae0b0
lea edx, [esi + edi*4 + 0x278]
mov eax, dword [ebp - 0x3c]
dec eax
cmp edi, eax
jge 0x4ae0b0
add edx, 4
add ecx, dword [edx]
inc edi
cmp ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
jl 0x4ae09a
cmp edi, dword [ebp - 0x24]
jle 0x4ae0e1
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
je 0x4ae0e1
cmp eax, 1
je 0x4ae0e1
mov eax, dword [ebp - 0xc]
and eax, reloc.WS2_32.dll_accept
jns 0x4ae0d1
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4ae0e1
sub ecx, dword [esi + edi*4 + 0x278]
dec edi
mov dword [ebp - 0x40], ecx
cmp dword [esi + 0x268], 3
jl 0x4ae123
fild dword [ebp - 0x40]
push ecx
push ecx
fmul qword [0x10115710]
fidiv dword [esi + 0x274]
fstp qword [esp]
push dword [ebp - 0x40]
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x34]
push 0x101261fc
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
mov ecx, dword [ebp - 0x40]
add esp, 0x20
xor eax, eax
cmp dword [ebp - 0x3c], eax
jle 0x4ae149
cmp eax, dword [ebp - 0x24]
jl 0x4ae13c
cmp eax, edi
jg 0x4ae13c
mov edx, dword [ebp - 0x2c]
mov byte [edx + eax], 0
jmp 0x4ae143
mov edx, dword [ebp - 0x2c]
mov byte [edx + eax], 0xf
inc eax
cmp eax, dword [ebp - 0x3c]
jl 0x4ae12a
dec dword [ebp - 0x34]
sub dword [ebp - 0x2c], 0x102
inc dword [ebp - 0xc]
sub dword [ebp - 0x20], ecx
inc edi
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x24], edi
jg 0x4ae07c
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x30], 0
jle 0x4ae1a1
mov ecx, dword [ebp - 0x30]
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x30]
lea edx, [esi + 0xb160]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x3c], 0
jle 0x4ae196
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
add edx, 0x408
dec dword [ebp - 0x28]
jne 0x4ae187
cmp dword [ebp - 0x30], 6
jne 0x4ae203
mov edx, dword [ebp - 0x3c]
test edx, edx
jle 0x4ae203
lea eax, [esi + 0x9324]
lea ecx, [esi + 0xc994]
mov dword [ebp - 0x28], edx
movzx edx, byte [eax + 0x102]
movzx edi, byte [eax]
shl edx, 0x10
or edx, edi
mov dword [ecx - 4], edx
movzx edx, byte [eax + 0x306]
movzx edi, byte [eax + 0x204]
shl edx, 0x10
or edx, edi
mov dword [ecx], edx
movzx edx, byte [eax + 0x50a]
movzx edi, byte [eax + 0x408]
shl edx, 0x10
or edx, edi
mov dword [ecx + 4], edx
inc eax
add ecx, 0x10
dec dword [ebp - 0x28]
jne 0x4ae1bd
mov eax, dword [esi + 0x274]
xor edx, edx
cmp eax, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
jle 0x4aeeb9
lea ecx, [edx + 0x31]
cmp ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], ecx
jl 0x4ae22d
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0
jle 0x4ae244
mov ecx, dword [ebp - 0x30]
xor eax, eax
shr ecx, 1
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp dword [ebp - 0x30], 6
jne 0x4aeb76
mov eax, dword [ebp - 0x2c]
sub eax, edx
inc eax
cmp eax, 0x32
jne 0x4aeb76
mov eax, dword [ebp - 0x24]
lea edi, [ebx + eax*2]
movzx eax, word [edi]
movzx edi, word [edi + 2]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
movzx ecx, ax
lea eax, [ecx + 0xc99]
shl eax, 4
mov eax, dword [eax + esi]
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
shl ecx, 4
lea edx, [ecx + esi]
mov ecx, dword [edx + 0xc994]
add ecx, dword [edi + 0xc994]
mov edx, dword [edx + 0xc998]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 4]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 6]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 8]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0xa]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0xc]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0xe]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x10]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x12]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x14]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x16]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x18]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x1a]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x1c]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x1e]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x20]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x22]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x24]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x26]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x28]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x2a]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x2c]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x2e]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x30]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x32]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x34]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x36]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x38]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x3a]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x3c]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x3e]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x40]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x42]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x44]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x46]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x48]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x4a]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x4c]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x4e]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x50]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x52]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x54]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x56]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x58]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x5a]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x5c]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x5e]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0x24]
movzx edi, word [ebx + edi*2 + 0x60]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov edi, dword [ebp - 0xc]
movzx edi, word [ebx + edi*2]
movzx edi, di
mov dword [ebp - 0x20], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [ebp - 0x20]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
mov word [ebp - 0x18], ax
shr eax, 0x10
mov word [ebp - 0x14], cx
shr ecx, 0x10
mov word [ebp - 0x10], dx
shr edx, 0x10
mov word [ebp - 0xe], dx
mov edx, dword [ebp - 0x24]
mov word [ebp - 0x16], ax
mov word [ebp - 0x12], cx
jmp 0x4aebbf
cmp edx, dword [ebp - 0x2c]
mov eax, edx
jmp 0x4aebba
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x30], 0
movzx eax, word [ebx + eax*2]
jle 0x4aebb3
movzx eax, ax
lea eax, [eax + esi + 0x9324]
mov ecx, dword [ebp - 0x20]
movzx di, byte [eax]
lea ecx, [ebp + ecx*2 - 0x18]
add word [ecx], di
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add eax, 0x102
cmp ecx, dword [ebp - 0x30]
jl 0x4aeb95
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jle 0x4aeb7d
and dword [ebp - 0x20], 0
or eax, 0xffffffff
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0x3b9ac9ff
jle 0x4aebf1
mov ecx, dword [ebp - 0x20]
movzx ecx, word [ebp + ecx*2 - 0x18]
cmp ecx, dword [ebp - 0x24]
jge 0x4aebe6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x30]
jl 0x4aebd3
mov ecx, dword [ebp - 0x24]
add dword [ebp - 0x28], ecx
inc dword [ebp + eax*4 - 0x5c]
mov ecx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
cmp dword [ebp - 0x30], 6
mov byte [esi + ecx + 0x680], al
jne 0x4aee85
mov ecx, dword [ebp - 0x2c]
sub ecx, edx
inc ecx
cmp ecx, 0x32
jne 0x4aee85
movzx ecx, word [ebx + edx*2]
add eax, 0x2c
imul eax, eax, 0x102
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 2]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 4]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 6]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 8]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0xa]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0xc]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0xe]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x10]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x12]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x14]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x16]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x18]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x1a]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x1c]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x1e]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x20]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x22]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x24]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x26]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x28]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x2a]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x2c]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x2e]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x30]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x32]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x34]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x36]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x38]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x3a]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x3c]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x3e]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x40]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x42]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x44]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x46]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x48]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x4a]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x4c]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x4e]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x50]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x52]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x54]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x56]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x58]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x5a]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x5c]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x5e]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
movzx ecx, word [ebx + edx*2 + 0x60]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
mov ecx, dword [ebp - 0xc]
movzx ecx, word [ebx + ecx*2]
add ecx, eax
lea eax, [esi + ecx*4]
inc dword [eax]
jmp 0x4aeea4
cmp edx, dword [ebp - 0x2c]
jg 0x4aeea4
add eax, 0x2c
imul eax, eax, 0x102
movzx ecx, word [ebx + edx*2]
add ecx, eax
lea ecx, [esi + ecx*4]
inc dword [ecx]
inc edx
cmp edx, dword [ebp - 0x2c]
jle 0x4aee93
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x274]
inc edx
cmp edx, eax
mov dword [ebp - 0x24], edx
jl 0x4ae21c
cmp dword [esi + 0x268], 3
jl 0x4aef31
mov eax, dword [ebp - 0x28]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0x34]
inc eax
push eax
push 0x101261d0
call dword [0x1010d5b8]
mov edi, dword [0x1010d564]
add eax, 0x40
push eax
call edi
and dword [ebp - 0x20], 0
add esp, 0x10
cmp dword [ebp - 0x30], 0
jle 0x4aef1e
mov eax, dword [ebp - 0x20]
push dword [ebp + eax*4 - 0x5c]
push 0x101261cc
call dword [0x1010d5b8]
add eax, 0x40
push eax
call edi
add esp, 0xc
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jl 0x4aeef8
push 0x101261c8
call dword [0x1010d5b8]
add eax, 0x40
push eax
call edi
pop ecx
pop ecx
cmp dword [ebp - 0x30], 0
jle 0x4aef6f
lea eax, [esi + 0x9324]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
lea edi, [esi + 0xb160]
mov dword [ebp - 0xc], eax
push 0x11
push dword [ebp - 0x3c]
push edi
push dword [ebp - 0x28]
call fcn.004b19b5
add dword [ebp - 0x28], 0x102
add esp, 0x10
add edi, 0x408
dec dword [ebp - 0xc]
jne 0x4aef4c
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 4
jl 0x4ae16b
cmp dword [ebp - 0x30], 8
jl 0x4aef8d
push 0xbba
call fcn.004ad85b
pop ecx
cmp dword [ebp - 0x40], 0x8000
jge 0x4aef9f
cmp dword [ebp - 0x40], 0x4652
jle 0x4aefaa
push 0xbbb
call fcn.004ad85b
pop ecx
xor eax, eax
cmp dword [ebp - 0x30], eax
jle 0x4aefbb
mov byte [ebp + eax - 0xc], al
inc eax
cmp eax, dword [ebp - 0x30]
jl 0x4aefb1
cmp dword [ebp - 0x40], 0
jle 0x4af00d
mov eax, dword [ebp - 0x40]
lea edi, [esi + 0x4cd2]
mov dword [ebp - 0x28], eax
mov dl, byte [ebp - 0xc]
mov al, byte [edi - 0x4652]
xor ecx, ecx
cmp al, dl
mov byte [ebp - 0x35], dl
je 0x4aefff
mov al, byte [ebp - 0x35]
inc ecx
mov byte [ebp - 0x41], al
lea eax, [ebp + ecx - 0xc]
mov dl, byte [eax]
mov byte [ebp - 0x35], dl
mov dl, byte [ebp - 0x41]
mov byte [eax], dl
mov al, byte [edi - 0x4652]
cmp al, byte [ebp - 0x35]
jne 0x4aefdf
mov al, byte [ebp - 0x35]
mov byte [edi], cl
inc edi
dec dword [ebp - 0x28]
mov byte [ebp - 0xc], al
jne 0x4aefcd
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jle 0x4af0a0
lea eax, [esi + 0x9930]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x9324]
mov edi, eax
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x34], ecx
jle 0x4af079
movzx eax, byte [edi + ecx]
cmp eax, dword [ebp - 0x34]
jle 0x4af049
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x2c]
jge 0x4af051
mov dword [ebp - 0x2c], eax
inc ecx
cmp ecx, dword [ebp - 0x3c]
jl 0x4af03d
cmp dword [ebp - 0x34], 0x11
jle 0x4af068
push 0xbbc
call fcn.004ad85b
pop ecx
cmp dword [ebp - 0x2c], 1
jge 0x4af079
push 0xbbd
call fcn.004ad85b
pop ecx
push dword [ebp - 0x3c]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push edi
push dword [ebp - 0x28]
call fcn.004b1d00
add dword [ebp - 0x28], 0x408
add esp, 0x14
add edi, 0x102
dec dword [ebp - 0xc]
jne 0x4af02c
lea eax, [esi + 0x58]
xor ecx, ecx
mov edi, eax
lea eax, [ebp + ecx - 0x1c]
mov byte [eax], 0
xor edx, edx
cmp byte [edx + edi], 0
je 0x4af0b9
mov byte [eax], 1
inc edx
cmp edx, 0x10
jl 0x4af0b0
inc ecx
add edi, 0x10
cmp ecx, 0x10
jl 0x4af0a7
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x34], eax
xor edi, edi
xor ecx, ecx
cmp byte [ebp + edi - 0x1c], cl
mov eax, esi
je 0x4af0de
inc ecx
push ecx
jmp 0x4af0e0
push 1
call fcn.004add28
inc edi
cmp edi, 0x10
pop ecx
jl 0x4af0d0
and dword [ebp - 0x24], 0
lea eax, [esi + 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp byte [ebp + eax - 0x1c], 0
je 0x4af120
xor edi, edi
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp byte [edi + eax], cl
mov eax, esi
je 0x4af112
inc ecx
push ecx
jmp 0x4af114
push 1
call fcn.004add28
inc edi
cmp edi, 0x10
pop ecx
jl 0x4af102
inc dword [ebp - 0x24]
add dword [ebp - 0x28], 0x10
cmp dword [ebp - 0x24], 0x10
jl 0x4af0f6
cmp dword [esi + 0x268], 3
jl 0x4af155
mov eax, dword [esi + 0x4c]
sub eax, dword [ebp - 0x34]
push eax
push 0x101261ac
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
add esp, 0xc
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 3
mov eax, esi
call fcn.004add28
mov ecx, dword [ebp - 0x40]
push 0xf
call fcn.004add28
cmp dword [ebp - 0x40], 0
pop ecx
pop ecx
jle 0x4af1b7
mov eax, dword [ebp - 0x40]
lea edi, [esi + 0x4cd2]
mov dword [ebp - 0xc], eax
and dword [ebp - 0x28], 0
cmp byte [edi], 0
jbe 0x4af1a5
xor ecx, ecx
inc ecx
push ecx
mov eax, esi
call fcn.004add28
movzx eax, byte [edi]
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
pop ecx
jl 0x4af18e
push 1
xor ecx, ecx
mov eax, esi
call fcn.004add28
inc edi
dec dword [ebp - 0xc]
pop ecx
jne 0x4af185
cmp dword [esi + 0x268], 3
jl 0x4af1df
mov eax, dword [esi + 0x4c]
sub eax, dword [ebp - 0x34]
push eax
push 0x1012619c
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
test ecx, ecx
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x34], eax
jle 0x4af269
lea eax, [esi + 0x9324]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
push 5
mov eax, esi
mov dword [ebp - 0x2c], ecx
call fcn.004add28
cmp dword [ebp - 0x3c], 0
pop ecx
jle 0x4af25d
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
jmp 0x4af22b
push 2
pop ecx
push ecx
mov eax, esi
call fcn.004add28
inc dword [ebp - 0x2c]
pop ecx
movzx eax, byte [edi]
cmp dword [ebp - 0x2c], eax
jl 0x4af21c
jmp 0x4af243
push 2
push 3
pop ecx
call fcn.004add28
dec dword [ebp - 0x2c]
pop ecx
movzx eax, byte [edi]
cmp dword [ebp - 0x2c], eax
mov eax, esi
jg 0x4af235
push 1
xor ecx, ecx
call fcn.004add28
inc edi
dec dword [ebp - 0x28]
pop ecx
jne 0x4af22b
add dword [ebp - 0x20], 0x102
dec dword [ebp - 0xc]
jne 0x4af1f8
cmp dword [esi + 0x268], 3
jl 0x4af291
mov eax, dword [esi + 0x4c]
sub eax, dword [ebp - 0x34]
push eax
push 0x10126188
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
add esp, 0xc
mov eax, dword [esi + 0x4c]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x274]
test eax, eax
jle 0x4af926
mov ecx, dword [ebp - 0x24]
add ecx, 0x31
cmp ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], ecx
jl 0x4af2c1
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
lea edi, [eax + esi + 0x680]
movzx eax, byte [edi]
cmp eax, dword [ebp - 0x30]
jl 0x4af2de
push 0xbbe
call fcn.004ad85b
pop ecx
cmp dword [ebp - 0x30], 6
jne 0x4af8c9
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
inc eax
cmp eax, 0x32
jne 0x4af8c9
movzx eax, byte [edi]
mov ecx, dword [ebp - 0x24]
movzx ecx, word [ebx + ecx*2]
lea edi, [eax + 0x92]
add eax, 0x26
imul edi, edi, 0x102
imul eax, eax, 0x408
movzx ecx, cx
add edi, esi
movzx edx, byte [edi + ecx]
add eax, esi
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x20], eax
push edx
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 2]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 4]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 6]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 8]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0xa]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0xc]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0xe]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x10]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x12]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x14]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x16]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x18]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x1a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x1c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x1e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x20]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x22]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x24]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x26]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x28]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x2a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x2c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x2e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x30]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x32]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x34]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x36]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x38]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x3a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x3c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x3e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x40]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x42]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x44]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x46]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x48]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x4a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x4c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x4e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x50]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x52]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x54]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x56]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x58]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x5a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x5c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x5e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x60]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
mov eax, dword [ebp - 0xc]
movzx eax, word [ebx + eax*2]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov eax, esi
call fcn.004add28
pop ecx
pop ecx
jmp 0x4af90e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
jmp 0x4af909
movzx eax, byte [edi]
mov ecx, dword [ebp - 0x24]
movzx ecx, word [ebx + ecx*2]
lea edx, [eax + 0x26]
add eax, 0x92
imul edx, edx, 0x102
imul eax, eax, 0x102
add eax, esi
movzx eax, byte [eax + ecx]
add edx, ecx
mov ecx, dword [esi + edx*4]
push eax
mov eax, esi
call fcn.004add28
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, dword [ebp - 0x2c]
jle 0x4af8d1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x274]
inc ecx
inc dword [ebp - 0x3c]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
jl 0x4af2ad
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], eax
pop edi
pop ebx
je 0x4af93b
push 0xbbf
call fcn.004ad85b
pop ecx
cmp dword [esi + 0x268], 3
jl 0x4af963
mov eax, dword [esi + 0x4c]
sub eax, dword [ebp - 0x34]
push eax
push 0x1012617c
call dword [0x1010d5b8]
add eax, 0x40
push eax
call dword [0x1010d564]
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1032
leave
ret