Function at 0x414090
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x3c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 4]
mov eax, 1
shl eax, cl
mov ecx, dword [esi + 0x14]
dec edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x24]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x34]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], 0
mov ebx, dword [esp + 0x28]
and ebx, edx
mov edx, dword [esp + 0x2c]
mov ecx, edi
shl ecx, 4
add ecx, ebx
lea edx, [edx + ecx*2]
movzx ecx, word [edx]
cmp eax, 0x1000000
jae 0x414153
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ecx
cmp esi, ebp
jae 0x4148e5
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx], di
mov edi, dword [esp + 0x2c]
add edi, 0xe6c
cmp dword [esp + 0x28], 0
mov eax, ebp
jne 0x41418c
cmp dword [esp + 0x4c], 0
je 0x4141c4
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x414198
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
movzx edx, byte [ecx + edx - 1]
mov ebx, dword [esp + 0x28]
and ebx, dword [esp + 0x54]
mov ecx, 8
sub cl, byte [esp + 0x50]
shr edx, cl
mov ecx, dword [esp + 0x50]
shl ebx, cl
add edx, ebx
imul edx, edx, 0x600
add edi, edx
mov ecx, dword [esp + 0x20]
inc dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
cmp ecx, 7
jae 0x41448a
mov edx, ecx
cmp ecx, 4
jb 0x4141e5
mov edx, 3
sub ecx, edx
mov dword [esp + 0x20], ecx
movzx ecx, word [edi + 2]
cmp ebp, 0x1000000
jae 0x414209
movzx edx, byte [ebx]
shl esi, 8
shl ebp, 8
or esi, edx
inc ebx
mov eax, ebp
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x41422e
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + 2], dx
mov ecx, 2
jmp 0x414242
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + 2], cx
mov ecx, 3
lea ebp, [ecx + ecx]
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x414260
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414280
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x414290
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x4142ad
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x4142cd
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x4142dd
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x4142fa
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x41431a
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x41432a
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x414347
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414367
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x414377
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x414394
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x4143b4
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x4143c4
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x4143e1
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414401
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
jmp 0x414411
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edi + ebp]
cmp eax, 0x1000000
jae 0x41442e
movzx edx, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edx
inc ebx
mov dword [esp + 0x10], ebx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414463
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebp], dx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov byte [edx + edi], cl
inc edx
mov dword [esp + 0x24], edx
jmp 0x4153f7
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x24]
mov word [edi + ebp], cx
mov edi, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov byte [edx + edi], cl
inc edx
mov dword [esp + 0x24], edx
jmp 0x4153f7
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
sbb edx, edx
and edx, 0xfffffffd
add edx, 6
sub ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, edx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
sub ebx, edx
add ebx, ecx
mov ecx, dword [esp + 0x38]
movzx edx, byte [ebx + ecx]
add edx, edx
mov ecx, edx
and ecx, 0x100
movzx ebx, word [edi + ecx*2 + 0x202]
cmp ebp, 0x1000000
jae 0x4144eb
shl ebp, 8
mov eax, ebp
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x414516
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov word [edi + ecx*2 + 0x202], bp
mov ebp, 2
not ecx
jmp 0x41452e
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov word [edi + ecx*2 + 0x202], bx
mov ebp, 3
and ecx, 0x100
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x41456b
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x41459c
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x4145bb
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x4145f2
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x414623
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x414642
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x414679
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x4146aa
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x4146c9
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x414700
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x414731
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x414750
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x414787
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x4147b8
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x4147d7
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
mov ebx, ecx
and ebx, edx
mov dword [esp + 0x1c], ebx
add ebx, ecx
add ebx, ebp
lea ebx, [edi + ebx*2]
mov dword [esp + 0x18], ebx
movzx ebx, word [ebx]
mov dword [esp + 0x14], ebp
cmp eax, 0x1000000
jae 0x41480e
mov ebp, dword [esp + 0x10]
movzx ebp, byte [ebp]
shl esi, 8
shl eax, 8
or esi, ebp
inc dword [esp + 0x10]
mov ebp, eax
shr ebp, 0xb
imul ebp, ebx
cmp esi, ebp
jae 0x41483f
mov eax, ebp
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov ebx, dword [esp + 0x18]
mov word [ebx], bp
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
not ebx
add ebp, ebp
and ecx, ebx
jmp 0x41485e
sub eax, ebp
sub esi, ebp
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov ebp, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
mov word [ebp], bx
mov ebp, dword [esp + 0x14]
lea ebp, [ebp + ebp + 1]
add edx, edx
and edx, ecx
add edx, ecx
add edx, ebp
movzx ecx, word [edi + edx*2]
lea edi, [edi + edx*2]
cmp eax, 0x1000000
jae 0x414888
mov edx, dword [esp + 0x10]
movzx ebx, byte [edx]
shl esi, 8
shl eax, 8
or esi, ebx
inc edx
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x4148be
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi], dx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
lea ecx, [ebp + ebp]
mov byte [edx + edi], cl
inc edx
mov dword [esp + 0x24], edx
jmp 0x4153f7
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x24]
mov word [edi], cx
mov edi, dword [esp + 0x38]
lea ecx, [ebp + ebp + 1]
mov byte [edx + edi], cl
inc edx
mov dword [esp + 0x24], edx
jmp 0x4153f7
sub eax, ebp
sub esi, ebp
mov ebp, ecx
shr ebp, 5
sub ecx, ebp
mov word [edx], cx
mov ecx, dword [esp + 0x2c]
movzx ecx, word [ecx + edi*2 + 0x180]
cmp eax, 0x1000000
jae 0x41491a
mov edx, dword [esp + 0x10]
movzx ebp, byte [edx]
shl esi, 8
shl eax, 8
or esi, ebp
inc edx
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414952
mov ebp, 0x800
sub ebp, ecx
shr ebp, 5
mov eax, edx
mov edx, dword [esp + 0x2c]
add ebp, ecx
mov word [edx + edi*2 + 0x180], bp
add edi, 0xc
mov dword [esp + 0x20], edi
add edx, 0x664
jmp 0x414b6e
mov ebp, dword [esp + 0x2c]
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
cmp dword [esp + 0x4c], 0
mov word [ebp + edi*2 + 0x180], cx
jne 0x41497b
cmp dword [esp + 0x28], 0
je 0x415352
movzx edx, word [ebp + edi*2 + 0x198]
cmp eax, 0x1000000
jae 0x41499d
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ecx
inc dword [esp + 0x10]
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x414a61
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov edx, edi
mov edi, ebp
mov ebp, dword [esp + 0x20]
mov word [edi + ebp*2 + 0x198], dx
lea edx, [ebp + 0xf]
shl edx, 4
add edx, ebx
lea edi, [edi + edx*2]
movzx edx, word [edi]
mov eax, ecx
cmp ecx, 0x1000000
jae 0x4149f6
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
or esi, ecx
inc dword [esp + 0x10]
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x414a4e
mov eax, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov edx, dword [esp + 0x34]
mov word [edi], cx
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
cmp ecx, edx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
inc dword [esp + 0x28]
sub ebx, edx
add ebx, ecx
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
inc ecx
mov dword [esp + 0x24], ecx
cmp ebp, 7
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 0xb
mov dword [esp + 0x20], ecx
jmp 0x4153f7
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov word [edi], dx
jmp 0x414b55
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov word [ebp + edi*2 + 0x198], dx
movzx ecx, word [ebp + edi*2 + 0x1b0]
cmp eax, 0x1000000
jae 0x414a96
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
inc dword [esp + 0x10]
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414ac1
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov ecx, dword [esp + 0x40]
mov word [ebp + edi*2 + 0x1b0], dx
jmp 0x414b45
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [ebp + edi*2 + 0x1b0], cx
movzx ecx, word [ebp + edi*2 + 0x1c8]
cmp eax, 0x1000000
jae 0x414af6
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
inc dword [esp + 0x10]
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x414b1e
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov ecx, dword [esp + 0x44]
mov word [ebp + edi*2 + 0x1c8], dx
jmp 0x414b3d
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov edx, dword [esp + 0x44]
mov word [ebp + edi*2 + 0x1c8], cx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x2c]
cmp ebp, 7
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xb
mov dword [esp + 0x20], ecx
add edx, 0xa68
movzx edi, word [edx]
cmp eax, 0x1000000
jae 0x414b8c
mov ecx, dword [esp + 0x10]
movzx ebp, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ebp
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x414cc0
mov ebp, 0x800
sub ebp, edi
shr ebp, 5
add ebp, edi
add ebx, ebx
mov word [edx], bp
movzx edi, word [edx + ebx*8 + 6]
lea edx, [edx + ebx*8 + 4]
mov eax, ecx
cmp ecx, 0x1000000
jae 0x414bd6
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
shl esi, 8
or esi, ebx
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x414bfb
mov eax, ecx
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov word [edx + 2], cx
mov ecx, 2
jmp 0x414c0f
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ecx, 3
lea ebp, [ecx + ecx]
movzx ecx, word [edx + ebp]
cmp eax, 0x1000000
jae 0x414c31
mov edi, dword [esp + 0x10]
movzx ebx, byte [edi]
shl esi, 8
shl eax, 8
or esi, ebx
inc edi
mov dword [esp + 0x10], edi
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x414c51
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x414c61
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edx + ebp]
cmp eax, 0x1000000
jae 0x414c82
mov edi, dword [esp + 0x10]
movzx ebx, byte [edi]
shl esi, 8
shl eax, 8
or esi, ebx
inc edi
mov dword [esp + 0x10], edi
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x414ca8
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
sub ebp, 8
jmp 0x414ea7
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
inc ebp
sub ebp, 8
jmp 0x414ea7
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx], di
movzx edi, word [edx + 2]
cmp eax, 0x1000000
jae 0x414ced
mov ecx, dword [esp + 0x10]
movzx ebp, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ebp
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x414e1e
mov ebp, 0x800
sub ebp, edi
shr ebp, 5
add ebp, edi
add ebx, ebx
mov word [edx + 2], bp
movzx edi, word [edx + ebx*8 + 0x106]
lea edx, [edx + ebx*8 + 0x104]
mov eax, ecx
cmp ecx, 0x1000000
jae 0x414d3e
shl ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x10]
movzx ebx, byte [ecx]
shl esi, 8
or esi, ebx
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 0xb
imul ecx, edi
cmp esi, ecx
jae 0x414d63
mov eax, ecx
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov word [edx + 2], cx
mov ecx, 2
jmp 0x414d77
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ecx, 3
mov ebx, dword [esp + 0x10]
lea ebp, [ecx + ecx]
movzx ecx, word [edx + ebp]
cmp eax, 0x1000000
jae 0x414d99
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x414db9
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x414dc9
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
inc ebp
add ebp, ebp
movzx ecx, word [edx + ebp]
cmp eax, 0x1000000
jae 0x414de6
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x414e09
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp], di
jmp 0x414eab
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp], cx
inc ebp
jmp 0x414eab
mov ebx, dword [esp + 0x10]
sub eax, ecx
sub esi, ecx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov word [edx + 2], di
mov ebp, 1
jmp 0x414e40
add ebp, ebp
movzx ecx, word [edx + ebp + 0x204]
cmp eax, 0x1000000
jae 0x414e5d
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov edi, eax
shr edi, 0xb
imul edi, ecx
cmp esi, edi
jae 0x414e81
mov eax, edi
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov word [edx + ebp + 0x204], di
jmp 0x414e95
sub eax, edi
sub esi, edi
mov edi, ecx
shr edi, 5
sub ecx, edi
mov word [edx + ebp + 0x204], cx
inc ebp
cmp ebp, 0x100
jb 0x414e40
mov dword [esp + 0x10], ebx
sub ebp, 0xf0
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0xc
mov dword [esp + 0x30], ebp
jb 0x41537e
mov ecx, ebp
cmp ebp, 4
jb 0x414ec6
mov ecx, 3
mov edx, dword [esp + 0x2c]
shl ecx, 7
lea ecx, [ecx + edx + 0x360]
movzx edx, word [ecx + 2]
cmp eax, 0x1000000
jae 0x414eef
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x414f14
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + 2], di
mov edx, 2
jmp 0x414f28
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + 2], dx
mov edx, 3
lea ebp, [edx + edx]
movzx edx, word [ecx + ebp]
cmp eax, 0x1000000
jae 0x414f46
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x414f66
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x414f76
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
inc ebp
add ebp, ebp
movzx edx, word [ecx + ebp]
cmp eax, 0x1000000
jae 0x414f93
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x414fb3
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x414fc3
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
inc ebp
add ebp, ebp
movzx edx, word [ecx + ebp]
cmp eax, 0x1000000
jae 0x414fe0
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x415000
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x415010
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
inc ebp
add ebp, ebp
movzx edx, word [ecx + ebp]
cmp eax, 0x1000000
jae 0x41502d
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x41504d
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x41505d
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
inc ebp
add ebp, ebp
movzx edx, word [ecx + ebp]
cmp eax, 0x1000000
jae 0x41507a
movzx edi, byte [ebx]
shl esi, 8
shl eax, 8
or esi, edi
inc ebx
mov dword [esp + 0x10], ebx
mov edi, eax
shr edi, 0xb
imul edi, edx
cmp esi, edi
jae 0x41509a
mov eax, edi
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov word [ecx + ebp], di
jmp 0x4150aa
sub eax, edi
sub esi, edi
mov edi, edx
shr edi, 5
sub edx, edi
mov word [ecx + ebp], dx
inc ebp
sub ebp, 0x40
cmp ebp, 4
jb 0x41531a
mov ecx, ebp
mov edx, ebp
shr ecx, 1
and ebp, 1
dec ecx
or ebp, 2
mov dword [esp + 0x1c], ecx
cmp edx, 0xe
jae 0x415156
shl ebp, cl
mov edi, 1
mov dword [esp + 0x48], edi
mov ecx, ebp
sub ecx, edx
mov edx, dword [esp + 0x2c]
lea ebx, [edx + ecx*2 + 0x55e]
lea ebx, [ebx]
movzx edx, word [ebx + edi*2]
cmp eax, 0x1000000
jae 0x41510e
mov ecx, dword [esp + 0x10]
movzx ecx, byte [ecx]
shl esi, 8
shl eax, 8
or esi, ecx
inc dword [esp + 0x10]
mov ecx, eax
shr ecx, 0xb
imul ecx, edx
cmp esi, ecx
jae 0x415130
mov eax, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add ecx, edx
mov word [ebx + edi*2], cx
add edi, edi
jmp 0x415147
sub eax, ecx
sub esi, ecx
mov ecx, edx
shr ecx, 5
sub edx, ecx
or ebp, dword [esp + 0x48]
mov word [ebx + edi*2], dx
lea edi, [edi + edi + 1]
shl dword [esp + 0x48], 1
dec dword [esp + 0x1c]
jne 0x4150f0
jmp 0x41531a
mov edi, dword [esp + 0x10]
sub ecx, 4
lea ecx, [ecx]
cmp eax, 0x1000000
jae 0x415173
movzx edx, byte [edi]
shl esi, 8
shl eax, 8
or esi, edx
inc edi
shr eax, 1
sub esi, eax
mov edx, esi
shr edx, 0x1f
neg edx
lea ebp, [edx + ebp*2 + 1]
and edx, eax
add esi, edx
dec ecx
jne 0x415160
mov ebx, dword [esp + 0x2c]
movzx ecx, word [ebx + 0x646]
shl ebp, 4
mov dword [esp + 0x10], edi
cmp eax, 0x1000000
jae 0x4151b4
mov edx, edi
movzx edi, byte [edx]
shl esi, 8
shl eax, 8
or esi, edi
inc edx
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x4151dc
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [ebx + 0x646], dx
mov ecx, 2
jmp 0x4151f6
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [ebx + 0x646], cx
mov ecx, 3
or ebp, 1
lea edi, [ecx + ecx]
movzx ecx, word [edi + ebx + 0x644]
cmp eax, 0x1000000
jae 0x41521b
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
inc dword [esp + 0x10]
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x41523f
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebx + 0x644], dx
jmp 0x415256
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebx + 0x644], cx
inc edi
or ebp, 2
add edi, edi
movzx ecx, word [edi + ebx + 0x644]
cmp eax, 0x1000000
jae 0x41527a
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
inc dword [esp + 0x10]
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x41529e
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [edi + ebx + 0x644], dx
jmp 0x4152b5
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [edi + ebx + 0x644], cx
inc edi
or ebp, 4
movzx ecx, word [ebx + edi*2 + 0x644]
cmp eax, 0x1000000
jae 0x4152d7
mov edx, dword [esp + 0x10]
movzx edx, byte [edx]
shl esi, 8
shl eax, 8
or esi, edx
inc dword [esp + 0x10]
mov edx, eax
shr edx, 0xb
imul edx, ecx
cmp esi, edx
jae 0x4152fb
mov eax, edx
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov word [ebx + edi*2 + 0x644], dx
jmp 0x415311
sub eax, edx
sub esi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov word [ebx + edi*2 + 0x644], cx
or ebp, 8
cmp ebp, 0xffffffff
je 0x415418
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
lea edx, [ebp + 1]
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x415361
cmp ebp, dword [esp + 0x28]
jb 0x415369
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x24], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc
cmp ebp, ecx
jae 0x41548d
cmp dword [esp + 0x20], 0x13
mov ebp, dword [esp + 0x30]
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 0xa
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
add ebp, 2
sub edi, ebx
je 0x4154a7
cmp edi, ebp
jb 0x415397
mov edi, ebp
cmp ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
sbb ecx, ecx
and ecx, dword [esp + 0x3c]
add dword [esp + 0x28], edi
sub ecx, dword [esp + 0x34]
sub ebp, edi
add ecx, ebx
sub edx, ecx
mov dword [esp + 0x30], ebp
cmp edi, edx
ja 0x4153dc
mov edx, dword [esp + 0x38]
sub ecx, ebx
add edx, ebx
add ebx, edi
mov ebp, ecx
lea ecx, [edx + edi]
mov dword [esp + 0x24], ebx
mov edi, edi
mov bl, byte [edx + ebp]
mov byte [edx], bl
inc edx
cmp edx, ecx
jne 0x4153d0
jmp 0x4153f7
mov ebp, dword [esp + 0x38]
mov dl, byte [ecx + ebp]
mov byte [ebx + ebp], dl
inc ecx
inc ebx
cmp ecx, dword [esp + 0x3c]
jne 0x4153f0
xor ecx, ecx
dec edi
jne 0x4153e0
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x64]
jae 0x415425
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x68]
jae 0x415425
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
jmp 0x414121
add dword [esp + 0x30], 0x112
sub dword [esp + 0x20], 0xc
mov edx, dword [esp + 0x10]
cmp eax, 0x1000000
jae 0x41543c
movzx ecx, byte [edx]
shl esi, 8
shl eax, 8
or esi, ecx
inc edx
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x48], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x44]
pop edi
mov dword [ecx + 0x2c], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x1c]
pop esi
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + 0x40]
pop ebp
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x44], edx
xor eax, eax
pop ebx
add esp, 0x4c
ret 0xc
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax + 0x24], edx
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x24], ebx
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc