Function at 0x4a8120
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x54
mov eax, dword [0x5e4ce0]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x54]
push ebx
mov ebx, dword [esi + 0x28]
push ebp
add eax, 2
push edi
mov dword [esp + 0x1c], eax
lea edi, [esi + 0x9324]
mov ebp, 6
lea esp, [esp]
test eax, eax
jle 0x4a8168
mov eax, dword [esp + 0x1c]
push eax
push 0xf
push edi
call fcn.004db150
mov eax, dword [esp + 0x28]
add esp, 0xc
add edi, 0x102
sub ebp, 1
jne 0x4a8150
mov eax, dword [esi + 0x274]
cmp eax, 0xc8
jge 0x4a8187
mov ecx, 2
jmp 0x4a81b0
cmp eax, 0x258
jge 0x4a8195
mov ecx, 3
jmp 0x4a81b0
cmp eax, 0x4b0
jge 0x4a81a3
mov ecx, 4
jmp 0x4a81b0
xor ecx, ecx
cmp eax, 0x960
setge cl
add ecx, 5
xor ebp, ebp
cmp ecx, ebp
mov edi, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], ebp
jle 0x4a82a2
add ecx, 0x91
imul ecx, ecx, 0x102
add ecx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
cdq
idiv edi
xor ecx, ecx
lea edx, [ebp - 1]
test eax, eax
jle 0x4a8215
mov ebp, dword [esp + 0x1c]
add ebp, 0xffffffff
lea edi, [esi + edx*4 + 0x278]
lea esp, [esp]
cmp edx, ebp
jge 0x4a8211
add ecx, dword [edi + 4]
add edi, 4
add edx, 1
cmp ecx, eax
jl 0x4a8200
mov edi, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jle 0x4a8244
cmp edi, dword [esp + 0x10]
je 0x4a8244
cmp edi, 1
je 0x4a8244
mov eax, dword [esp + 0x14]
and eax, 0x80000001
jns 0x4a8236
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4a8244
sub ecx, dword [esi + edx*4 + 0x278]
sub edx, eax
xor eax, eax
cmp dword [esp + 0x1c], eax
jle 0x4a8275
lea esp, [esp]
cmp eax, dword [esp + 0xc]
jl 0x4a8264
cmp eax, edx
jg 0x4a8264
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], 0
jmp 0x4a826c
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], 0xf
add eax, 1
cmp eax, dword [esp + 0x1c]
jl 0x4a8250
mov eax, dword [esp + 0x44]
sub dword [esp + 0x18], 0x102
add dword [esp + 0x14], 1
sub edi, 1
sub eax, ecx
test edi, edi
lea ebp, [edx + 1]
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x44], eax
jg 0x4a81e2
mov dword [esp + 0x20], 4
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x4a82eb
mov ecx, edx
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ebp, [esi + 0xb160]
test edx, edx
jle 0x4a82dc
mov ecx, edx
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
add ebp, 0x408
sub dword [esp + 0x44], 1
jne 0x4a82d0
jmp 0x4a82ef
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x10], 6
jne 0x4a8358
test edx, edx
jle 0x4a8358
lea eax, [esi + 0x9324]
lea ecx, [esi + 0xc994]
jmp 0x4a8310
movzx edi, byte [eax + 0x102]
movzx ebp, byte [eax]
shl edi, 0x10
or edi, ebp
mov dword [ecx - 4], edi
movzx edi, byte [eax + 0x306]
movzx ebp, byte [eax + 0x204]
shl edi, 0x10
or edi, ebp
mov dword [ecx], edi
movzx edi, byte [eax + 0x50a]
movzx ebp, byte [eax + 0x408]
shl edi, 0x10
or edi, ebp
mov dword [ecx + 4], edi
add eax, 1
add ecx, 0x10
sub edx, 1
jne 0x4a8310
mov eax, dword [esi + 0x274]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x14], ebp
jle 0x4a90c6
lea esp, [esp]
lea edx, [ebp + 0x31]
mov ecx, edx
cmp ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], edx
jl 0x4a8388
lea ecx, [eax - 1]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4a83a9
mov ecx, edi
xor eax, eax
shr ecx, 1
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp edi, 6
jne 0x4a8d14
mov eax, ecx
sub eax, ebp
add eax, 1
cmp eax, 0x32
jne 0x4a8d14
movzx eax, word [ebx + ebp*2]
movzx edi, word [ebx + ebp*2 + 2]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
movzx ecx, ax
lea edx, [ecx + 0xc99]
shl edx, 4
mov eax, dword [edx + esi]
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
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]
movzx edi, word [ebx + ebp*2 + 4]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 6]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 8]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0xa]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0xc]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0xe]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x10]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x12]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x14]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x16]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x18]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x1a]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x1c]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add edi, esi
add ecx, dword [edi + 0xc994]
add edx, dword [edi + 0xc998]
movzx edi, word [ebx + ebp*2 + 0x1e]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x20]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x22]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x24]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x26]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x28]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x2a]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edi, esi
add edx, dword [edi + 0xc998]
movzx edi, word [ebx + ebp*2 + 0x2c]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x2e]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x30]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x32]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x34]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x36]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x38]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x3a]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x3c]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x3e]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x40]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x42]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x44]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x46]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x48]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edi, esi
add edx, dword [edi + 0xc998]
movzx edi, word [ebx + ebp*2 + 0x4a]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x4c]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x4e]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x50]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x52]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x54]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x56]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x58]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x5a]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x5c]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x5e]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
movzx edi, word [ebx + ebp*2 + 0x60]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
mov edi, dword [esp + 0x24]
movzx edi, word [ebx + edi*2]
movzx edi, di
mov dword [esp + 0xc], edi
add edi, 0xc99
shl edi, 4
add eax, dword [edi + esi]
mov edi, dword [esp + 0xc]
shl edi, 4
add ecx, dword [edi + esi + 0xc994]
add edx, dword [edi + esi + 0xc998]
add edi, esi
mov edi, dword [esp + 0x10]
mov word [esp + 0x4c], ax
shr eax, 0x10
mov word [esp + 0x50], cx
shr ecx, 0x10
mov word [esp + 0x54], dx
shr edx, 0x10
mov word [esp + 0x56], dx
mov edx, dword [esp + 0x24]
mov word [esp + 0x4e], ax
mov word [esp + 0x52], cx
jmp 0x4a8d6b
cmp ebp, ecx
mov eax, ebp
mov dword [esp + 0xc], eax
jg 0x4a8d6b
mov edi, edi
movzx ecx, word [ebx + eax*2]
xor eax, eax
test edi, edi
jle 0x4a8d5a
movzx ecx, cx
lea ecx, [ecx + esi + 0x9324]
jmp 0x4a8d40
movzx di, byte [ecx]
add word [esp + eax*2 + 0x4c], di
mov edi, dword [esp + 0x10]
add eax, 1
add ecx, 0x102
cmp eax, edi
jl 0x4a8d40
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
jle 0x4a8d20
or eax, 0xffffffff
xor ecx, ecx
test edi, edi
mov dword [esp + 0x44], 0x3b9ac9ff
jle 0x4a8d9a
lea esp, [esp]
movzx edi, word [esp + ecx*2 + 0x4c]
cmp edi, dword [esp + 0x44]
jge 0x4a8d91
mov dword [esp + 0x44], edi
mov eax, ecx
add ecx, 1
cmp ecx, dword [esp + 0x10]
jl 0x4a8d80
mov ecx, dword [esp + 0x14]
add dword [esp + eax*4 + 0x2c], 1
mov edi, dword [esp + 0x18]
mov byte [esi + ecx + 0x680], al
add ecx, 1
cmp dword [esp + 0x10], 6
mov dword [esp + 0x14], ecx
jne 0x4a9094
mov ecx, edi
sub ecx, ebp
add ecx, 1
cmp ecx, 0x32
jne 0x4a9094
movzx ecx, word [ebx + ebp*2]
add eax, 0x2c
imul eax, eax, 0x102
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 2]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 4]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 6]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 8]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0xa]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0xc]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0xe]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x10]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x12]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x14]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x16]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x18]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x1a]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x1c]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x1e]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x20]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x22]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x24]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x26]
add ecx, eax
lea ecx, [esi + ecx*4]
add dword [ecx], 1
movzx ecx, word [ebx + ebp*2 + 0x28]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x2a]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x2c]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x2e]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x30]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x32]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x34]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x36]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x38]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x3a]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x3c]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x3e]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x40]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x42]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x44]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x46]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x48]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x4a]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x4c]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x4e]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x50]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x52]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x54]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x56]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x58]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x5a]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x5c]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x5e]
add ecx, eax
add dword [esi + ecx*4], 1
lea ecx, [esi + ecx*4]
movzx ecx, word [ebx + ebp*2 + 0x60]
add ecx, eax
add dword [esi + ecx*4], 1
movzx edx, word [ebx + edx*2]
lea ecx, [esi + ecx*4]
add edx, eax
add dword [esi + edx*4], 1
lea eax, [esi + edx*4]
jmp 0x4a90b5
cmp ebp, edi
jg 0x4a90b5
lea ecx, [eax + 0x2c]
imul ecx, ecx, 0x102
movzx eax, word [ebx + ebp*2]
add eax, ecx
add dword [esi + eax*4], 1
lea eax, [esi + eax*4]
add ebp, 1
cmp ebp, edi
jle 0x4a90a1
mov eax, dword [esi + 0x274]
lea ebp, [edi + 1]
cmp ebp, eax
jl 0x4a8370
cmp dword [esp + 0x10], 0
jle 0x4a9105
mov ecx, dword [esp + 0x10]
lea ebp, [esi + 0x9324]
lea edi, [esi + 0xb160]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
push 0x14
push edx
push edi
push ebp
call fcn.004bdfe0
add esp, 0x10
add edi, 0x408
add ebp, 0x102
sub dword [esp + 0x44], 1
jne 0x4a90e1
sub dword [esp + 0x20], 1
jne 0x4a82b0
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x4a912b
lea ebx, [ebx]
mov byte [esp + eax + 0x44], al
add eax, 1
cmp eax, ecx
jl 0x4a9120
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4a9182
mov edi, eax
mov al, byte [esp + 0x44]
lea ebp, [esi + 0x4cd2]
nop
mov cl, byte [ebp - 0x4652]
mov dword [esp + 0x20], 0
mov byte [esp + 0x2b], cl
cmp cl, al
mov ecx, dword [esp + 0x20]
je 0x4a9173
lea ebx, [ebx]
add ecx, 1
mov dl, al
mov al, byte [esp + ecx + 0x44]
cmp byte [esp + 0x2b], al
mov byte [esp + ecx + 0x44], dl
jne 0x4a9160
mov byte [ebp], cl
add ebp, 1
sub edi, 1
mov byte [esp + 0x44], al
jne 0x4a9140
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4a91f7
mov edi, dword [esp + 0x1c]
lea ecx, [esi + 0x9930]
mov dword [esp + 0x18], ecx
lea ebp, [esi + 0x9324]
mov dword [esp + 0x20], eax
xor edx, edx
xor ecx, ecx
test edi, edi
mov dword [esp + 0x24], 0x20
jle 0x4a91cd
movzx eax, byte [ecx + ebp]
cmp eax, edx
jle 0x4a91bc
mov edx, eax
cmp eax, dword [esp + 0x24]
jge 0x4a91c6
mov dword [esp + 0x24], eax
add ecx, 1
cmp ecx, edi
jl 0x4a91b2
mov eax, dword [esp + 0x18]
push edi
push edx
mov edx, dword [esp + 0x2c]
push edx
push ebp
push eax
call fcn.004be300
add dword [esp + 0x2c], 0x408
add esp, 0x14
add ebp, 0x102
sub dword [esp + 0x20], 1
jne 0x4a91a2
lea edi, [esi + 0x58]
xor ecx, ecx
mov edx, edi
mov edi, edi
mov byte [esp + ecx + 0x4c], 0
xor eax, eax
cmp byte [eax + edx], 0
je 0x4a9212
mov byte [esp + ecx + 0x4c], 1
add eax, 1
cmp eax, 0x10
jl 0x4a9207
add ecx, 1
add edx, 0x10
cmp ecx, 0x10
jl 0x4a9200
xor ebp, ebp
cmp byte [esp + ebp + 0x4c], 0
push 1
mov eax, esi
je 0x4a9239
mov ecx, 1
jmp 0x4a923b
xor ecx, ecx
call fcn.004a7e60
add ebp, 1
add esp, 4
cmp ebp, 0x10
jl 0x4a9227
xor eax, eax
mov dword [esp + 0xc], eax
cmp byte [esp + eax + 0x4c], 0
je 0x4a9287
xor ebp, ebp
lea ebx, [ebx]
cmp byte [edi + ebp], 0
push 1
mov eax, esi
je 0x4a9271
mov ecx, 1
jmp 0x4a9273
xor ecx, ecx
call fcn.004a7e60
add ebp, 1
add esp, 4
cmp ebp, 0x10
jl 0x4a9260
mov eax, dword [esp + 0xc]
add eax, 1
add edi, 0x10
cmp eax, 0x10
mov dword [esp + 0xc], eax
jl 0x4a9251
mov ecx, dword [esp + 0x10]
push 3
mov eax, esi
call fcn.004a7e60
mov edi, dword [esp + 0x18]
push 0xf
mov ecx, edi
call fcn.004a7e60
add esp, 8
test edi, edi
jle 0x4a9304
lea ebp, [esi + 0x4cd2]
mov dword [esp + 0x20], edi
xor edi, edi
cmp byte [ebp], 0
jbe 0x4a92ec
lea esp, [esp]
push 1
mov ecx, 1
mov eax, esi
call fcn.004a7e60
movzx ecx, byte [ebp]
add edi, 1
add esp, 4
cmp edi, ecx
jl 0x4a92d0
push 1
xor ecx, ecx
mov eax, esi
call fcn.004a7e60
add esp, 4
add ebp, 1
sub dword [esp + 0x20], 1
jne 0x4a92c1
cmp dword [esp + 0x10], 0
jle 0x4a93cb
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x9324]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x14]
movzx edi, byte [eax]
push 5
mov ecx, edi
mov eax, esi
call fcn.004a7e60
add esp, 4
cmp dword [esp + 0x1c], 0
jle 0x4a93b8
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
lea esp, [esp]
movzx edx, byte [ebp]
cmp edi, edx
jge 0x4a937c
jmp 0x4a9360
push 2
mov ecx, 2
mov eax, esi
call fcn.004a7e60
movzx eax, byte [ebp]
add edi, 1
add esp, 4
cmp edi, eax
jl 0x4a9360
movzx ecx, byte [ebp]
cmp edi, ecx
jle 0x4a93a0
push 2
mov ecx, 3
mov eax, esi
call fcn.004a7e60
movzx edx, byte [ebp]
sub edi, 1
add esp, 4
cmp edi, edx
jg 0x4a9384
push 1
xor ecx, ecx
mov eax, esi
call fcn.004a7e60
add esp, 4
add ebp, 1
sub dword [esp + 0x20], 1
jne 0x4a9350
add dword [esp + 0x14], 0x102
sub dword [esp + 0x44], 1
jne 0x4a9321
mov eax, dword [esi + 0x274]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
jle 0x4a9a30
lea ecx, [esi + 0x680]
mov dword [esp + 0x1c], ecx
lea ecx, [ecx]
lea ebp, [edi + 0x31]
cmp ebp, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
jl 0x4a9406
lea ebp, [eax - 1]
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x10], 6
jne 0x4a99ce
mov eax, ebp
sub eax, edi
add eax, 1
cmp eax, 0x32
jne 0x4a99ce
mov ecx, dword [esp + 0x14]
movzx ebp, byte [ecx + esi + 0x680]
mov edx, dword [esp + 0xc]
movzx eax, word [ebx + edx*2]
lea edi, [ebp + 0x92]
imul edi, edi, 0x102
add ebp, 0x26
imul ebp, ebp, 0x408
movzx eax, ax
add edi, esi
movzx ecx, byte [edi + eax]
add ebp, esi
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x10]
movzx eax, word [ebx + edx*2 + 2]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + edx*2 + 4]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + edx*2 + 6]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx + edx*2 + 8]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x20]
movzx eax, word [ebx + edx*2 + 0xa]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x24]
movzx eax, word [ebx + edx*2 + 0xc]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x28]
movzx eax, word [ebx + edx*2 + 0xe]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x2c]
movzx eax, word [ebx + edx*2 + 0x10]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x30]
movzx eax, word [ebx + edx*2 + 0x12]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x34]
movzx eax, word [ebx + edx*2 + 0x14]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x38]
movzx eax, word [ebx + edx*2 + 0x16]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x3c]
movzx eax, word [ebx + edx*2 + 0x18]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x40]
movzx eax, word [ebx + edx*2 + 0x1a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + edx*2 + 0x1c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x48]
movzx eax, word [ebx + edx*2 + 0x1e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x4c]
movzx eax, word [ebx + edx*2 + 0x20]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x10]
movzx eax, word [ebx + edx*2 + 0x22]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + edx*2 + 0x24]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + edx*2 + 0x26]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx + edx*2 + 0x28]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x20]
movzx eax, word [ebx + edx*2 + 0x2a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x24]
movzx eax, word [ebx + edx*2 + 0x2c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x28]
movzx eax, word [ebx + edx*2 + 0x2e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x2c]
movzx eax, word [ebx + edx*2 + 0x30]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x30]
movzx eax, word [ebx + edx*2 + 0x32]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x34]
movzx eax, word [ebx + edx*2 + 0x34]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x38]
movzx eax, word [ebx + edx*2 + 0x36]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x3c]
movzx eax, word [ebx + edx*2 + 0x38]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x40]
movzx eax, word [ebx + edx*2 + 0x3a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + edx*2 + 0x3c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x48]
movzx eax, word [ebx + edx*2 + 0x3e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x4c]
movzx eax, word [ebx + edx*2 + 0x40]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x10]
movzx eax, word [ebx + edx*2 + 0x42]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + edx*2 + 0x44]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + edx*2 + 0x46]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx + edx*2 + 0x48]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x20]
movzx eax, word [ebx + edx*2 + 0x4a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x24]
movzx eax, word [ebx + edx*2 + 0x4c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x28]
movzx eax, word [ebx + edx*2 + 0x4e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x2c]
movzx eax, word [ebx + edx*2 + 0x50]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x30]
movzx eax, word [ebx + edx*2 + 0x52]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x34]
movzx eax, word [ebx + edx*2 + 0x54]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x38]
movzx eax, word [ebx + edx*2 + 0x56]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x3c]
movzx eax, word [ebx + edx*2 + 0x58]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x40]
movzx eax, word [ebx + edx*2 + 0x5a]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + edx*2 + 0x5c]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x48]
movzx eax, word [ebx + edx*2 + 0x5e]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x4c]
movzx eax, word [ebx + edx*2 + 0x60]
movzx eax, ax
movzx ecx, byte [edi + eax]
add esp, 0x40
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov edx, dword [esp + 0x28]
movzx eax, word [ebx + edx*2]
movzx eax, ax
movzx ecx, byte [edi + eax]
push ecx
mov ecx, dword [ebp + eax*4]
mov eax, esi
call fcn.004a7e60
mov ebp, dword [esp + 0x20]
add esp, 8
jmp 0x4a9a0e
cmp edi, ebp
jg 0x4a9a0e
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx]
movzx ecx, word [ebx + edi*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.004a7e60
add edi, 1
add esp, 4
cmp edi, ebp
jle 0x4a99d2
mov eax, 1
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
mov eax, dword [esi + 0x274]
lea edi, [ebp + 1]
cmp edi, eax
mov dword [esp + 0xc], edi
jl 0x4a93f0
mov ecx, dword [esp + 0x5c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d99c4
add esp, 0x54
ret