Function at 0x413e40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov dword [ebp - 0x1b4], 0
mov word [ebp - 0x160], 0
push 0xfa
push 0
lea eax, [ebp - 0x15e]
push eax
call fcn.00447990
add esp, 0xc
mov word [ebp - 0x18], 0
mov word [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x1c9], 0
mov word [ebp - 0x4c], 0
mov byte [ebp - 0x1bf], 0
mov byte [ebp - 0x167], 0
mov word [ebp - 8], 0
mov word [ebp - 0x1c8], 0
mov word [ebp - 4], 0
mov word [ebp - 0x190], 0
mov word [ebp - 0x38], 0
mov byte [ebp - 0x1bd], 0
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x189], 0
mov byte [ebp - 0x191], 0
mov dword [ebp - 0x1bc], 0
xor ecx, ecx
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x184], 0
xor edx, edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x45], 0
mov word [ebp - 0x1c4], 0
mov dword [ebp - 0x1a8], 0
mov word [ebp - 0xc], 0xff
mov byte [ebp - 0x166], 0
mov byte [ebp - 0x165], 0
mov word [ebp - 0x58], 0
mov word [ebp - 0x1a4], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x188], 0
mov byte [ebp - 0x51], 0
mov word [ebp - 0x1a0], 0
mov word [ebp - 0x44], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x1be], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x14]
mov ax, word [edx + 0x35e]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 1]
sub edx, 1
mov byte [ebp - 0x1c9], dl
mov word [ebp - 0x19c], 0
jmp 0x414021
mov ax, word [ebp - 0x19c]
add ax, 1
mov word [ebp - 0x19c], ax
movzx ecx, word [ebp - 0x19c]
movzx edx, word [ebp - 0x15e]
cmp ecx, edx
jge 0x4150f2
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x200
je 0x41405e
mov dx, word [ebp - 0x19c]
mov word [ebp - 0xc], dx
jmp 0x41400f
movzx eax, word [ebp - 0x19c]
shl eax, 4
mov ecx, dword [ebp + eax - 0x14c]
mov dword [ebp - 0x198], ecx
movzx edx, word [ebp - 0x19c]
shl edx, 4
movzx eax, word [ebp + edx - 0x156]
and eax, 2
je 0x41408e
jmp 0x41400f
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x20]
and edx, 0x8000
jne 0x4140b2
mov eax, dword [ebp - 0x198]
movzx ecx, word [eax + 0x20]
and ecx, 0x8000
je 0x4140b7
jmp 0x41400f
mov dx, word [ebp - 0x19c]
mov word [ebp - 0xc], dx
mov byte [ebp - 0x1bd], 0
mov byte [ebp - 0x166], 0
mov byte [ebp - 0x165], 0
mov eax, dword [ebp + 0x24]
mov cl, byte [eax + 1]
mov byte [ebp - 0x51], cl
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x1be], 0
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
cmp dword [eax + edx + 0x38], 0
je 0x4146c2
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
cmp dword [edx + ecx + 0x34], 0
je 0x4146c2
movzx eax, byte [ebp - 0x51]
imul eax, eax, 0xc
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax + 0x38]
mov al, byte [edx]
mov byte [ebp - 0x3d], al
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + ecx + 0x38]
mov cl, byte [eax + 4]
mov byte [ebp - 0x1be], cl
movzx edx, byte [ebp - 0x3d]
cmp edx, 2
jne 0x414509
movzx eax, byte [ebp - 0x1be]
cmp eax, 2
jne 0x41434b
movzx ecx, word [ebp + 0x1c]
cmp ecx, 1
jne 0x4141ce
mov edx, dword [ebp + 0x24]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, dword [edx + ecx + 0x34]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
jmp 0x414221
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx + 0x34]
movzx eax, word [ecx + 0x1c]
add eax, 0x2d0
mov edx, dword [ebp + 0x24]
movzx ecx, word [edx + 0x1e]
sub eax, ecx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp + 0x24]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xb
jae 0x414274
movzx eax, word [ebp - 0x1a0]
cmp eax, 0x87
jle 0x414247
movzx ecx, word [ebp - 0x1a0]
cmp ecx, 0xe1
jl 0x41426a
movzx edx, word [ebp - 0x44]
cmp edx, 0x87
jle 0x414274
movzx eax, word [ebp - 0x44]
cmp eax, 0xe1
jge 0x414274
movzx ecx, word [ebp - 0x44]
cmp ecx, 0xb4
je 0x414274
mov dword [ebp - 0x17c], 1
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xf
jb 0x414296
mov eax, dword [ebp + 0x24]
movzx ecx, word [eax + 0xc]
and ecx, 0xf80
cmp ecx, 0x200
jne 0x414346
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x4142cd
movzx eax, byte [ebp - 0x51]
imul eax, eax, 0xc
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax + 0x34]
movzx eax, word [edx + 0x1e]
add eax, 0x2d0
mov word [ebp - 0x1a0], ax
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x44], dx
jmp 0x4142f9
movzx eax, byte [ebp - 0x51]
imul eax, eax, 0xc
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax + 0x34]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov word [ebp - 0x1a0], ax
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0x1e]
mov word [ebp - 0x44], dx
movzx eax, word [ebp - 0x1a0]
movzx ecx, word [ebp - 0x44]
sub eax, ecx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xa0
jle 0x414346
movzx eax, word [ebp - 0x1a0]
movzx edx, word [ebp - 0x44]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xc8
jge 0x414346
cmp dword [ebp - 0x17c], 0
jne 0x414346
mov dword [ebp - 0x164], 1
jmp 0x414504
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x4143a9
mov eax, dword [ebp + 0x24]
movzx eax, word [eax + 0x1c]
add eax, 0x2d0
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, dword [edx + ecx + 0x34]
movzx edx, word [ecx + 0x20]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
jmp 0x4143fc
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx + 0x34]
movzx eax, word [ecx + 0x20]
add eax, 0x2d0
mov edx, dword [ebp + 0x24]
movzx ecx, word [edx + 0x1e]
sub eax, ecx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp + 0x24]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xb
jae 0x41444f
movzx eax, word [ebp - 0x1a0]
cmp eax, 0x87
jle 0x414422
movzx ecx, word [ebp - 0x1a0]
cmp ecx, 0xe1
jl 0x414445
movzx edx, word [ebp - 0x44]
cmp edx, 0x87
jle 0x41444f
movzx eax, word [ebp - 0x44]
cmp eax, 0xe1
jge 0x41444f
movzx ecx, word [ebp - 0x44]
cmp ecx, 0xb4
je 0x41444f
mov dword [ebp - 0x17c], 1
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xf
jb 0x414471
mov eax, dword [ebp + 0x24]
movzx ecx, word [eax + 0xc]
and ecx, 0xf80
cmp ecx, 0x200
jne 0x414504
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx + 0x34]
movzx edx, word [ecx + 0x20]
add edx, 0x2d0
mov word [ebp - 0x1a0], dx
movzx eax, word [ebp + 0x1c]
cmp eax, 1
jne 0x4144a9
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x44], dx
jmp 0x4144b7
mov eax, dword [ebp - 0x198]
mov cx, word [eax + 0x1e]
mov word [ebp - 0x44], cx
movzx eax, word [ebp - 0x1a0]
movzx edx, word [ebp - 0x44]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xa0
jle 0x414504
movzx eax, word [ebp - 0x1a0]
movzx edx, word [ebp - 0x44]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xc8
jge 0x414504
cmp dword [ebp - 0x17c], 0
jne 0x414504
mov dword [ebp - 0x164], 1
jmp 0x4146c2
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x414567
mov eax, dword [ebp + 0x24]
movzx eax, word [eax + 0x1c]
add eax, 0x2d0
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, dword [edx + ecx + 0x34]
movzx edx, word [ecx + 0x1c]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
jmp 0x4145ba
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx + 0x34]
movzx eax, word [ecx + 0x1c]
add eax, 0x2d0
mov edx, dword [ebp + 0x24]
movzx ecx, word [edx + 0x1e]
sub eax, ecx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x1a0], dx
mov edx, dword [ebp + 0x24]
movzx eax, word [edx + 0x1c]
add eax, 0x2d0
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x1e]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
mov word [ebp - 0x44], dx
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xb
jae 0x41460d
movzx eax, word [ebp - 0x1a0]
cmp eax, 0x87
jle 0x4145e0
movzx ecx, word [ebp - 0x1a0]
cmp ecx, 0xe1
jl 0x414603
movzx edx, word [ebp - 0x44]
cmp edx, 0x87
jle 0x41460d
movzx eax, word [ebp - 0x44]
cmp eax, 0xe1
jge 0x41460d
movzx ecx, word [ebp - 0x44]
cmp ecx, 0xb4
je 0x41460d
mov dword [ebp - 0x17c], 1
mov edx, dword [ebp + 0x24]
cmp dword [edx + 0x14], 0xf
jb 0x41462f
mov eax, dword [ebp + 0x24]
movzx ecx, word [eax + 0xc]
and ecx, 0xf80
cmp ecx, 0x200
jne 0x4146c2
movzx edx, byte [ebp - 0x51]
imul edx, edx, 0xc
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + edx + 0x34]
movzx edx, word [ecx + 0x1c]
add edx, 0x2d0
mov word [ebp - 0x1a0], dx
movzx eax, word [ebp + 0x1c]
cmp eax, 1
jne 0x414667
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x44], dx
jmp 0x414675
mov eax, dword [ebp - 0x198]
mov cx, word [eax + 0x1e]
mov word [ebp - 0x44], cx
movzx eax, word [ebp - 0x1a0]
movzx edx, word [ebp - 0x44]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xa0
jle 0x4146c2
movzx eax, word [ebp - 0x1a0]
movzx edx, word [ebp - 0x44]
sub eax, edx
cdq
mov ecx, 0x168
idiv ecx
cmp edx, 0xc8
jge 0x4146c2
cmp dword [ebp - 0x17c], 0
jne 0x4146c2
mov dword [ebp - 0x164], 1
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x414831
mov eax, dword [ebp - 0x198]
movzx ecx, word [eax + 0x20]
and ecx, 0x8000
jne 0x4146fd
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x20]
mov ecx, dword [ebp + 0x24]
movzx ecx, byte [ecx + 7]
mov edx, 1
shl edx, cl
and eax, edx
je 0x414725
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x100
je 0x41471c
jmp 0x41400f
mov byte [ebp - 0x1bd], 1
jmp 0x414778
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x22]
and eax, 0x8000
jne 0x414752
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x22]
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax + 7]
mov eax, 1
shl eax, cl
and edx, eax
je 0x414778
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
movzx edx, word [ebp + ecx - 0x156]
and edx, 0x100
je 0x414771
jmp 0x41400f
mov byte [ebp - 0x1bd], 1
mov eax, dword [ebp + 0x24]
mov cx, word [eax + 0xc]
mov word [ebp - 8], cx
mov edx, dword [ebp + 0x24]
mov ax, word [edx + 0xe]
mov word [ebp - 0x1c8], ax
cmp dword [ebp - 0x17c], 0
je 0x4147b2
movzx ecx, byte [ebp - 0x51]
imul ecx, ecx, 0xc
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + ecx + 0x34]
mov cx, word [eax + 0x1e]
mov word [ebp - 4], cx
jmp 0x4147bd
mov edx, dword [ebp + 0x24]
mov ax, word [edx + 0x1e]
mov word [ebp - 4], ax
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x190], dx
mov eax, dword [ebp - 0x198]
mov cx, word [eax + 0xe]
mov word [ebp - 0x58], cx
mov edx, dword [ebp - 0x198]
mov ax, word [edx + 0x1c]
mov word [ebp - 0x38], ax
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + 0x34c]
test edx, edx
je 0x41482c
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41480c
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
jmp 0x41482c
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x18]
cmp eax, dword [0x4677d4]
jne 0x41482c
movzx ecx, byte [0x4677ca]
test ecx, ecx
jne 0x41482c
mov byte [0x4677ca], 1
jmp 0x41494c
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x20]
and eax, 0x8000
jne 0x41485e
mov ecx, dword [ebp - 0x198]
movzx edx, word [ecx + 0x20]
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax + 6]
mov eax, 1
shl eax, cl
and edx, eax
je 0x414886
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
movzx edx, word [ebp + ecx - 0x156]
and edx, 0x100
je 0x41487d
jmp 0x41400f
mov byte [ebp - 0x1bd], 1
jmp 0x4148da
mov eax, dword [ebp - 0x198]
movzx ecx, word [eax + 0x22]
and ecx, 0x8000
jne 0x4148b4
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0x22]
mov ecx, dword [ebp + 0x24]
movzx ecx, byte [ecx + 6]
mov edx, 1
shl edx, cl
and eax, edx
je 0x4148da
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x100
je 0x4148d3
jmp 0x41400f
mov byte [ebp - 0x1bd], 1
mov edx, dword [ebp - 0x198]
mov ax, word [edx + 0xc]
mov word [ebp - 8], ax
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0xe]
mov word [ebp - 0x1c8], dx
mov eax, dword [ebp - 0x198]
mov cx, word [eax + 0x1e]
mov word [ebp - 4], cx
mov edx, dword [ebp + 0x24]
mov ax, word [edx + 0xc]
mov word [ebp - 0x190], ax
mov ecx, dword [ebp + 0x24]
mov dx, word [ecx + 0xe]
mov word [ebp - 0x58], dx
cmp dword [ebp - 0x17c], 0
je 0x414941
movzx eax, byte [ebp - 0x51]
imul eax, eax, 0xc
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax + 0x34]
mov ax, word [edx + 0x1c]
mov word [ebp - 0x38], ax
jmp 0x41494c
mov ecx, dword [ebp + 0x24]
mov dx, word [ecx + 0x1c]
mov word [ebp - 0x38], dx
cmp dword [ebp - 0x1ac], 2
jne 0x414973
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 1
je 0x414973
mov byte [ebp - 0x165], 1
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x4149b1
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x180], eax
jmp 0x4149e4
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], ecx
movzx edx, word [ebp - 0x19c]
shl edx, 4
mov word [ebp + edx - 0x158], 0
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x1000
je 0x414b94
cmp dword [ebp + 0x20], 0
je 0x414a97
lea edx, [ebp - 0x178]
push edx
movzx eax, word [ebp - 0x19c]
shl eax, 4
mov cx, word [ebp + eax - 0x158]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
mov edx, dword [ebp - 0x198]
add edx, 0x18
push edx
mov ax, word [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 0x34c
push ecx
mov edx, dword [ebp - 0x198]
add edx, 0xe
push edx
mov eax, dword [ebp - 0x198]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00405a40
add esp, 0x34
mov dword [ebp - 0x1b4], eax
jmp 0x414b14
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x178]
push eax
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
mov dx, word [ebp + ecx - 0x158]
push edx
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x1bc]
push edx
mov eax, dword [ebp - 0x198]
add eax, 0x18
push eax
mov cx, word [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x14]
add edx, 0x34c
push edx
mov eax, dword [ebp - 0x198]
add eax, 0xe
push eax
mov ecx, dword [ebp - 0x198]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 0x198]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00403d80
add esp, 0x38
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x414b28
mov eax, dword [ebp - 0x1b4]
jmp 0x415216
mov al, byte [ebp - 0x1c9]
mov byte [ebp - 0x167], al
jmp 0x414b45
mov cl, byte [ebp - 0x167]
add cl, 1
mov byte [ebp - 0x167], cl
movzx edx, byte [ebp - 0x167]
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax + 4]
cmp edx, ecx
jge 0x414b7b
movzx edx, byte [ebp - 0x167]
movzx eax, byte [ebp - 0x167]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp + edx*4 - 0x178]
mov dword [ecx + eax + 0x30], edx
jmp 0x414b36
movzx eax, byte [ebp - 0x1c9]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + eax + 0x30]
mov dword [ebp - 0x3c], edx
jmp 0x414bab
movzx eax, byte [ebp - 0x1c9]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + eax + 0x30]
mov dword [ebp - 0x3c], edx
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x1000
je 0x414bce
mov byte [ebp - 0x191], 0
jmp 0x414bd5
mov byte [ebp - 0x191], 1
movzx edx, byte [ebp - 0x165]
cmp edx, 1
jne 0x414c95
movzx eax, byte [ebp - 0x191]
test eax, eax
jne 0x414c83
movzx ecx, word [ebp + 0x1c]
cmp ecx, 1
jne 0x414c41
mov edx, dword [ebp + 0x18]
add edx, 0x10
push edx
movzx eax, word [ebp - 0x19c]
shl eax, 4
lea ecx, [ebp + eax - 0x154]
push ecx
mov edx, dword [ebp - 0x198]
add edx, 0x64
push edx
call fcn.00442990
add esp, 0xc
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x414c3f
or eax, 0xffffffff
jmp 0x415216
jmp 0x414c83
mov eax, dword [ebp + 0x18]
add eax, 4
push eax
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
lea edx, [ebp + ecx - 0x154]
push edx
mov eax, dword [ebp - 0x198]
add eax, 0x64
push eax
call fcn.00442990
add esp, 0xc
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x414c83
or eax, 0xffffffff
jmp 0x415216
mov ecx, dword [ebp - 0x198]
mov dword [ecx + 0x28], 0x83d600
jmp 0x41400f
mov edx, dword [ebp - 0x198]
cmp dword [edx + 0x14], 0xb
jae 0x414cad
mov dword [ebp - 0x188], 1
jmp 0x414cb7
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x188]
push edx
mov al, byte [ebp - 0x189]
push eax
push 1
mov ecx, dword [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x1bc]
push eax
mov cx, word [ebp - 0x38]
push ecx
mov dx, word [ebp - 0x190]
push edx
mov ax, word [ebp - 4]
push eax
mov cx, word [ebp - 0x1c8]
push ecx
mov dx, word [ebp - 8]
push edx
mov al, byte [ebp - 0x1bd]
push eax
mov cx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 1]
mov edx, dword [ebp + 0x10]
mov ax, word [edx + ecx*2 + 0xc]
push eax
call fcn.00404ab0
add esp, 0x44
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x414d45
or eax, 0xffffffff
jmp 0x415216
cmp dword [ebp + 0x20], 0
je 0x414dad
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x198]
add edx, 0x64
push edx
mov al, byte [ebp - 0x191]
push eax
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
lea edx, [ebp + ecx - 0x154]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x198]
mov dx, word [ecx + 0xc]
push edx
mov ax, word [ebp + 0x1c]
push eax
mov cx, word [ebp - 0x18]
push ecx
push 1
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 1]
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + eax*2 + 0xc]
push edx
call fcn.00406620
add esp, 0x28
mov dword [ebp - 0x1b4], eax
jmp 0x414e0d
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x198]
add ecx, 0x64
push ecx
mov dl, byte [ebp - 0x191]
push edx
movzx eax, word [ebp - 0x19c]
shl eax, 4
lea ecx, [ebp + eax - 0x154]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x198]
mov cx, word [eax + 0xc]
push ecx
mov dx, word [ebp + 0x1c]
push edx
mov ax, word [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 1]
mov eax, dword [ebp + 0x10]
mov cx, word [eax + edx*2 + 0xc]
push ecx
call fcn.00405670
add esp, 0x28
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x414e21
mov eax, dword [ebp - 0x1b4]
jmp 0x415216
cmp dword [ebp - 0x3c], 0x83d600
jae 0x414e76
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x28]
add eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x83d600
jb 0x414e49
mov dword [ebp - 0x14], 0x83d600
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x28]
add edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x50]
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 0x83d600
jb 0x414e74
mov dword [ebp - 0x1b0], 0x83d600
jmp 0x414e87
mov dword [ebp - 0x14], 0x83d600
mov dword [ebp - 0x1b0], 0x83d600
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x100
je 0x414f59
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0x28]
jae 0x414f4f
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x24]
add edx, 1
mov eax, dword [ebp - 0x198]
mov word [eax + 0x24], dx
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov dword [edx + ecx + 0x34], eax
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [edx + ecx + 0x38], eax
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x198]
movzx ecx, word [eax + 0xe]
and ecx, 0xffee
mov edx, dword [ebp - 0x198]
mov word [edx + 0xe], cx
movzx eax, word [ebp - 0x19c]
shl eax, 4
movzx ecx, word [ebp + eax - 0x156]
and ecx, 0x33
mov edx, dword [ebp - 0x198]
movzx eax, word [edx + 0xe]
or eax, ecx
mov ecx, dword [ebp - 0x198]
mov word [ecx + 0xe], ax
jmp 0x414f54
jmp 0x41400f
jmp 0x415067
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x414f70
mov eax, dword [ebp - 0x198]
mov cl, byte [eax + 6]
mov byte [ebp - 0x45], cl
jmp 0x414f7c
mov edx, dword [ebp - 0x198]
mov al, byte [edx + 7]
mov byte [ebp - 0x45], al
movzx ecx, word [ebp - 0x19c]
shl ecx, 4
movzx edx, word [ebp + ecx - 0x156]
and edx, 0x1000
je 0x414fb7
movzx ecx, byte [ebp - 0x45]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x15c]
movzx edx, word [ecx + 4]
or edx, eax
mov eax, dword [ebp - 0x15c]
mov word [eax + 4], dx
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp + 0x24]
mov al, byte [edx + 1]
mov byte [ecx + 1], al
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x28], edx
movzx eax, word [ebp + 0x1c]
cmp eax, 1
jne 0x415022
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x24]
add edx, 1
mov eax, dword [ebp - 0x198]
mov word [eax + 0x24], dx
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov dword [edx + ecx + 0x34], eax
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [edx + ecx + 0x38], eax
jmp 0x415067
mov ecx, dword [ebp + 0x24]
movzx edx, word [ecx + 0x24]
add edx, 1
mov eax, dword [ebp - 0x198]
mov word [eax + 0x24], dx
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov dword [edx + ecx + 0x34], eax
movzx ecx, byte [ebp - 0x1c9]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [edx + ecx + 0x38], eax
cmp dword [ebp - 0x1b0], 0x83d600
jae 0x4150ed
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c4]
push edx
mov eax, dword [ebp + 0x30]
push eax
call fcn.0042d040
add esp, 0xc
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0xffffffff
jne 0x4150c0
mov eax, 0xfffffffd
jmp 0x415216
cmp dword [ebp - 0x1b4], 0
je 0x4150d1
or eax, 0xffffffff
jmp 0x415216
mov ecx, dword [ebp + 0x58]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 0x58]
mov dword [eax], edx
mov ecx, dword [0x4677d0]
add ecx, 1
mov dword [0x4677d0], ecx
jmp 0x41400f
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x415141
movzx eax, word [ebp - 0xc]
cmp eax, 0xff
je 0x41513f
movzx ecx, word [ebp - 0xc]
shl ecx, 4
mov edx, dword [ebp + ecx - 0x14c]
mov ax, word [edx + 4]
mov word [ebp - 0x4c], ax
mov ecx, dword [ebp + 0x24]
mov dl, byte [ecx + 7]
mov byte [ebp - 0x1bf], dl
movzx eax, word [ebp - 0xc]
shl eax, 4
mov ecx, dword [ebp + eax - 0x14c]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1a8], edx
jmp 0x41516a
mov eax, dword [ebp + 0x24]
mov cx, word [eax + 4]
mov word [ebp - 0x4c], cx
mov edx, dword [ebp + 0x24]
mov al, byte [edx + 6]
mov byte [ebp - 0x1bf], al
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1a8], edx
mov word [ebp - 0xc], 1
movzx eax, word [ebp - 0xc]
cmp eax, 0xff
je 0x4151d0
mov ecx, dword [ebp + 0x54]
push ecx
mov edx, dword [ebp + 0x50]
push edx
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, dword [ebp + 0x48]
push ecx
mov edx, dword [ebp + 0x40]
push edx
mov eax, dword [ebp + 0x3c]
push eax
mov cl, byte [ebp - 0x1bf]
push ecx
mov dx, word [ebp - 0x4c]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov cx, word [ebp + 0x1c]
push ecx
call fcn.00412b50
add esp, 0x34
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x4151d0
mov eax, dword [ebp - 0x1b4]
jmp 0x415216
movzx edx, word [ebp + 0x1c]
cmp edx, 1
jne 0x4151fa
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [0x4677d4]
jne 0x4151fa
movzx edx, byte [0x4677ca]
test edx, edx
jne 0x4151fa
mov eax, dword [ebp - 0x10]
mov dword [0x4677d4], eax
mov ecx, dword [ebp - 0x15c]
movzx edx, word [ecx + 6]
or edx, 0x8000
mov eax, dword [ebp - 0x15c]
mov word [eax + 6], dx
xor eax, eax
mov esp, ebp
pop ebp
ret