Function at 0x430c20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x1c], eax
sub eax, edi
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x38], edi
lea edx, [eax + eax*4]
add edx, edx
call fcn.00422a60
mov ecx, dword [esp + 0x20]
mov edx, eax
shl ecx, 3
push ecx
mov ecx, dword [esi + 0x10]
shl edi, 3
add ecx, edi
mov dword [esp + 0x4c], edx
push ecx
push edx
mov dword [esp + 0x30], edx
call fcn.00459b50
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
shl eax, 2
sub eax, dword [esp + 0x38]
mov dword [esi + 8], 0x8001
mov dword [esi + 0x118], 0
mov dword [esp + 0x20], edx
lea eax, [ecx + eax*2]
sub ecx, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
cmp edx, 0x8000
ja 0x430d6f
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 4]
mov dword [esp + 0x44], eax
lea edi, [ecx + 5]
mov eax, dword [esp + 0x24]
add ecx, 8
add eax, 6
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp byte [edi], 0x1d
jne 0x430d02
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, esi
call fcn.00445850
mov ecx, dword [esp + 0x40]
mov edx, edi
mov word [ecx], ax
mov ecx, esi
call fcn.00445850
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
movzx eax, ax
jmp 0x430d07
mov word [eax], dx
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov word [ecx + edx*2], ax
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax]
mov eax, 0x604000
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x3c]
test al, 1
mov eax, dword [esp + 0x40]
je 0x430d40
cmp byte [edi], 0x1b
je 0x430d40
add dword [esp + 0x44], 8
inc edx
add eax, 8
add ecx, 8
add edi, 8
add dword [esp + 0x44], 8
inc edx
add eax, 8
mov dword [esp + 0x20], edx
add ecx, 8
mov dword [esp + 0x40], eax
add edi, 8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], edi
cmp edx, 0x8000
jbe 0x430cd4
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0x8000
movzx eax, word [edx + 2]
mov dword [esp + 0x24], eax
mov eax, 0x8001
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], eax
jbe 0x4317d8
jmp 0x430da4
mov ecx, dword [esp + 0x48]
lea edi, [ecx + eax*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], ecx
cmp ecx, dword [esi + 0x110]
jb 0x430dc5
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ecx*8]
add edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], 0
cmp dword [esp + 0x2c], eax
jb 0x430e7c
mov edx, dword [esp + 0x28]
mov word [edx + 2], cx
movzx ecx, word [edx]
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 6]
xor edx, edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x430e49
mov edi, dword [esp + 0x18]
nop dword [eax]
mov ecx, dword [edi + edx*4]
mov esi, dword [esp + 0x48]
movzx eax, cx
and ecx, 0xffff0000
movzx eax, word [esi + eax*8 + 6]
or eax, ecx
mov dword [edi + edx*4], eax
inc edx
cmp edx, dword [esp + 0x24]
jb 0x430e20
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x28]
add edx, 8
mov dword [esp + 0x28], edx
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x44]
cmp edx, eax
jae 0x430e70
movzx eax, word [edx + 2]
mov dword [esp + 0x24], eax
jmp 0x430e78
mov dword [esp + 0x24], 0xffffffff
mov edx, dword [esp + 0x34]
movzx eax, word [edi]
cmp eax, dword [esp + 0x38]
jb 0x430e92
mov esi, dword [esp + 0x48]
movzx eax, word [esi + eax*8 + 6]
mov esi, dword [esp + 0x5c]
mov word [edx], ax
movzx eax, word [edi + 2]
cmp eax, dword [esp + 0x38]
jb 0x430eac
mov esi, dword [esp + 0x48]
movzx eax, word [esi + eax*8 + 6]
mov esi, dword [esp + 0x5c]
mov word [edx + 2], ax
movzx ecx, cx
movzx eax, cx
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 5]
mov word [edi + 6], cx
mov byte [edx + 5], al
movzx eax, byte [edi + 4]
and al, 0x9f
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x2c]
mov byte [edx + 4], al
mov eax, dword [esp + 0x4c]
lea eax, [eax + ecx*2]
xor ecx, ecx
mov word [eax], cx
mov cl, byte [edi + 4]
mov dword [esp + 8], eax
movzx eax, cl
and eax, 0x1f
sub eax, 0x15
cmp eax, 1
ja 0x431504
movzx eax, word [edi]
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + eax*2]
mov ecx, eax
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 4]
and al, 0x93
mov dword [esp + 0x40], ecx
or al, 0x13
mov byte [edx + 4], al
mov al, byte [edi + 5]
movzx ecx, al
mov byte [esp + 0x57], al
mov dword [esp + 0x14], ecx
lea eax, [ecx - 0x10]
cmp eax, 0x52
ja case.0x430f3c.17
movzx eax, byte [eax + 0x4318c4]
jmp dword [eax*4 + 0x43187c]
movzx eax, word [edx + 2]
mov ecx, 0x8000
cmp ax, cx
jae case.0x430f3c.47
mov ecx, eax
mov eax, dword [esi + 0x10]
cmp dword [eax + ecx*8], 0
jne case.0x430f3c.47
movzx eax, word [edx]
mov ecx, dword [esp + 0x4c]
mov word [edi + 6], ax
mov eax, dword [esp + 0x40]
mov word [edx], ax
movzx eax, word [edi + 2]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov word [edx + 2], ax
jmp 0x4317ba
movzx eax, word [edi + 2]
mov ecx, dword [esp + 0x4c]
movzx edi, word [ecx + eax*2]
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x430fa9
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esi + 8], eax
mov edx, 0x1013
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*8], dx
mov word [eax + ecx*8 + 2], di
jmp 0x4317ba
push 0x60
push edi
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.00430a70
add esp, 0x14
mov ecx, eax
jmp 0x4317ba
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x54
push ecx
jmp 0x430fd2
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x56
push ecx
jmp 0x430fd2
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x58
push ecx
jmp 0x430fd2
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x43103b
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov edx, dword [esp + 0x40]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*8 + 2], 0x1f130000
mov word [eax + ecx*8], dx
jmp 0x4317ba
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 0x110]
jb 0x431075
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*8 + 2], 0x20130000
mov word [eax + ecx*8], dx
mov word [edi + 6], cx
mov ecx, dword [esp + 0x44]
jmp 0x4317ba
movzx eax, word [edx + 2]
mov dword [esp + 0x18], eax
mov edx, eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
cmp eax, 0x8000
jae 0x431101
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edi*8]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4310cf
cmp eax, 0xffffffff
jne 0x431101
cmp ecx, 0x21
not eax
cmovne eax, dword [esp + 0x18]
test eax, eax
jne 0x4310e5
dec dword [esi + 8]
mov ax, word [edx]
jmp 0x4310fd
cmp ecx, 0x23
jne 0x4310f6
xor eax, eax
mov byte [edx + 5], 0x1f
mov word [edx + 2], ax
jmp 0x431101
dec dword [esi + 8]
mov eax, dword [esp + 0x30]
mov word [edi + 6], ax
mov edx, dword [esp + 0x4c]
movzx eax, word [edi]
movzx eax, word [edx + eax*2]
movzx ecx, ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
movzx ecx, ax
movzx eax, word [edi + 2]
movzx eax, word [edx + eax*2]
mov edi, eax
mov edx, eax
mov dword [esp + 0x30], edx
cmp edi, 0x8000
jae 0x43117e
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edi*8]
test edx, edx
je 0x431141
cmp edx, 0xffffffff
jne 0x43117e
cmp byte [esp + 0x57], 0x21
mov eax, edx
not eax
cmovne eax, edx
test eax, eax
je 0x4317ba
cmp byte [esp + 0x57], 0x23
jne 0x431177
push 0
push dword [esp + 0x1c]
push 0x1f13
push esi
call fcn.00430bd0
add esp, 0x10
mov ecx, eax
jmp 0x4317ba
mov ecx, edi
jmp 0x4317ba
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x431198
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov edx, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
shl edx, 8
or edx, 0x13
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*8 + 2], dx
jmp 0x4317ba
push edi
push edx
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.004305d0
add esp, 0x14
mov ecx, eax
jmp 0x4317ba
mov eax, dword [esi + 8]
movzx edi, word [edx]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x4311ff
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*8 + 2], 0x45130012
mov word [eax + ecx*8], di
jmp 0x4317ba
mov ecx, dword [esp + 0x48]
mov edx, 4
movzx eax, word [edi]
lea eax, [ecx + eax*8]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], eax
movzx eax, word [eax + 6]
mov dword [esp + 0x40], eax
lea ecx, [ecx + eax*8]
mov al, byte [ecx + 5]
cmp al, 0x19
jne 0x431259
mov eax, dword [ecx]
add eax, edx
push eax
push 0x19
push esi
call fcn.00445e80
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4312d8
cmp al, 0x29
jne 0x431288
movzx eax, word [ecx + 2]
cmp ax, word [esp + 0x10]
jae 0x431288
mov edi, dword [esp + 0x14]
test byte [edi + 4], 0x40
mov edi, dword [esp + 0x20]
jne 0x431288
mov edx, dword [esi + 0x10]
movzx ecx, word [ecx]
mov dword [esp + 0x40], ecx
mov edx, dword [edx + eax*8]
add edx, 4
je 0x4312d8
mov ecx, esi
call fcn.00445850
mov ecx, dword [esi + 8]
movzx eax, ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x110]
jb 0x4312b0
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov edx, 0x2905
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*8 + 2], dx
mov dword [esp + 0x40], ecx
mov eax, dword [esi + 8]
movzx edi, word [edi + 2]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x4312f6
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esi + 8], eax
mov edx, 0x4613
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*8], dx
mov word [eax + ecx*8 + 2], di
jmp 0x4317ba
movzx eax, word [edi + 2]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esi + 8]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0x18], eax
movzx eax, word [edx]
mov dword [esp + 0x14], eax
cmp edi, dword [esi + 0x110]
jb 0x431346
mov ecx, esi
call fcn.004457c0
lea eax, [edi + 1]
mov ecx, 0x1013
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], cx
mov ecx, dword [esp + 0x14]
mov word [eax + edi*8], cx
mov ecx, dword [esp + 0x18]
mov word [eax + edi*8 + 2], cx
jmp 0x4317b6
movzx ecx, word [edi + 2]
mov eax, ecx
and eax, 0x1f
cmp eax, 0xe
je 0x4313da
cmp eax, 0xd
je 0x4313da
cmp eax, 0x15
je 0x4313d1
cmp eax, 0x16
je 0x4313d1
test ecx, 0x800
mov ecx, esi
je 0x4313bf
mov edx, 0x1f
call fcn.00445850
mov edx, dword [esi + 0x10]
add edx, dword [esp + 0xc]
mov cx, word [edx]
mov word [edi + 6], cx
mov ecx, dword [esp + 0x44]
mov byte [edx + 5], 0x26
mov word [edx + 2], ax
jmp 0x4317ba
xor edx, edx
call fcn.00445850
mov edx, dword [esp + 0x34]
mov ecx, eax
jmp 0x431535
mov ecx, dword [esp + 0x18]
jmp 0x431535
mov eax, dword [esi + 8]
movzx edi, word [edx]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x4313f7
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esi + 8], eax
mov edx, 0x1013
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*8], di
mov word [eax + ecx*8 + 2], dx
jmp 0x4317ba
movzx eax, word [edx]
mov ecx, 0x8000
cmp ax, cx
jae 0x431431
cmp word [edx + 2], cx
jb 0x431437
cmp ax, word [edx + 2]
jne 0x43143a
dec dword [esi + 8]
mov ecx, dword [esp + 0x4c]
movzx eax, word [edi + 2]
mov edx, dword [esp + 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp edx, 0x8000
jae 0x431463
cmp eax, 0x8000
jb 0x4317b6
cmp edx, eax
je 0x4317b6
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x110]
jb 0x431481
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0xc]
lea eax, [edi + 1]
mov edx, 0x1313
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], dx
mov edx, dword [esp + 0x40]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
jmp 0x4317b6
dec dword [esi + 8]
mov ax, word [edx]
mov word [edi + 6], ax
movzx ecx, word [edx + 2]
jmp 0x4317ba
movzx eax, word [edi + 2]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esi + 8]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x110]
jb 0x4314db
mov ecx, esi
call fcn.004457c0
mov edx, dword [esp + 0x40]
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov ecx, 0x1093
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], cx
mov ecx, dword [esp + 0xc]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
jmp 0x4317b6
mov al, byte [edi + 5]
cmp al, 0x5a
jne 0x4315b4
movzx eax, word [edi + 2]
and eax, 0x1f
cmp eax, 0x15
je 0x431524
cmp eax, 0x16
jne 0x4317b6
and cl, 0x1f
cmp cl, 0xe
je 0x43154d
cmp cl, 0xd
je 0x43154d
mov ecx, dword [esp + 0x50]
mov ax, word [edx]
mov word [edi + 6], ax
xor eax, eax
mov dword [edx + 2], 0xc000000
mov word [edx], ax
jmp 0x4317ba
movzx eax, word [edi]
mov edx, dword [esp + 0x4c]
movzx eax, word [edx + eax*2]
mov dword [esp + 0x18], eax
movzx eax, cl
mov ecx, 0x1000
or ax, cx
mov ecx, dword [esi + 8]
movzx eax, ax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x110]
jb 0x431588
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*8 + 2], dx
mov word [edi + 6], cx
jmp 0x4317b6
cmp al, 0x62
jne 0x431689
mov ecx, dword [esp + 0x4c]
movzx eax, word [edi]
movzx eax, word [ecx + eax*2]
mov ecx, eax
test ax, ax
je 0x431635
movzx eax, word [edx + 4]
mov dword [esp + 0x14], eax
movzx eax, word [edx + 2]
mov dword [esp + 0x18], eax
mov eax, 0x6300
mov word [edx + 4], ax
mov word [edx + 2], cx
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x110]
jb 0x431605
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*8 + 2], dx
movzx eax, cx
mov ecx, eax
mov word [edi + 6], ax
mov dword [esp + 0x30], ecx
movzx eax, byte [edi + 4]
and eax, 0x1f
sub eax, 0x15
cmp eax, 1
ja 0x4317b6
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x110]
jb 0x431662
mov ecx, esi
call fcn.004457c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esi + 8], eax
mov edx, 0x1013
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*8], dx
mov word [eax + ecx*8 + 2], dx
jmp 0x4317ba
cmp al, 0x63
jne 0x431757
movzx eax, word [edi]
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + eax*2]
test ax, ax
je 0x4316fc
movzx ecx, word [edx + 2]
mov word [edx + 2], ax
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x110]
jb 0x4316c7
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, 0x6300
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*8 + 2], dx
movzx eax, cx
mov ecx, eax
mov word [edi + 6], ax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
movzx eax, word [edi + 2]
movzx eax, word [ecx + eax*2]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ax, ax
je 0x4317b6
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x110]
jb 0x43172d
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, 0x6300
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ecx*8 + 4], dx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*8], dx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*8 + 2], dx
mov word [edi + 6], cx
jmp 0x4317b6
cmp al, 0x53
jne 0x4317a8
movzx eax, word [edi + 2]
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + eax*2]
test ax, ax
je 0x4317b6
mov edi, dword [esi + 8]
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x110]
jb 0x431782
mov ecx, esi
call fcn.004457c0
mov edx, dword [esp + 0x3c]
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov ecx, 0x1000
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], cx
mov ecx, dword [esp + 0xc]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
jmp 0x4317b6
cmp al, 0x11
jne 0x4317b6
mov eax, dword [esp + 0x44]
mov dword [esi + 0x118], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 8]
mov word [eax], cx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x1c]
jb 0x430da0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jne 0x43182a
mov ax, word [esi + 8]
movzx ecx, word [edx]
movzx edi, byte [edx + 6]
mov word [edx + 2], ax
xor edx, edx
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x43182a
mov esi, eax
mov ecx, dword [esi + edx*4]
mov esi, dword [esp + 0x48]
movzx eax, cx
and ecx, 0xffff0000
movzx eax, word [esi + eax*8 + 6]
mov esi, dword [esp + 0x18]
or eax, ecx
mov dword [esi + edx*4], eax
inc edx
cmp edx, edi
jb 0x431803
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 8]
dec ecx
cmp ecx, 0x8001
jb 0x431876
mov edi, 0x8000
nop dword [eax + eax]
mov edx, dword [esi + 0x10]
cmp byte [edx + ecx*8 + 5], 0x13
jne 0x431876
movzx eax, word [edx + ecx*8]
cmp ax, di
jb 0x431858
or byte [edx + eax*8 + 4], 0x40
movzx edx, word [edx + ecx*8 + 2]
cmp edx, dword [esi + 0x118]
jbe 0x43186d
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x40
dec ecx
cmp ecx, 0x8001
jae 0x431840
pop edi
pop esi
add esp, 0x50
ret