Function at 0x438ab0
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 + 0x54]
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.00427510
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.0046c8b0
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 + 0x11c], 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 0x438bff
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 0x438b92
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
mov ecx, esi
call fcn.00453170
mov ecx, dword [esp + 0x40]
mov edx, edi
mov word [ecx], ax
mov ecx, esi
call fcn.00453170
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
movzx eax, ax
jmp 0x438b97
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 0x438bd0
cmp byte [edi], 0x1b
je 0x438bd0
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 0x438b64
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0x8000
movzx eax, word [edx + 4]
mov dword [esp + 0x24], eax
mov eax, 0x8001
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], eax
jbe 0x43966b
jmp 0x438c34
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 + 0x114]
jb 0x438c55
mov ecx, esi
call fcn.004530e0
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 0x438d0f
mov edx, dword [esp + 0x28]
mov word [edx + 4], cx
mov ecx, dword [edx]
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 0xa]
xor edx, edx
mov dword [esp + 0x24], eax
test eax, eax
je 0x438cd9
mov edi, dword [esp + 0x18]
nop dword [eax + 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 0x438cb0
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
movzx eax, word [esi + 6]
mov edx, dword [esp + 0x28]
add edx, 0xc
mov dword [esp + 0x28], edx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x44]
cmp edx, eax
jae 0x438d03
movzx eax, word [edx + 4]
mov dword [esp + 0x24], eax
jmp 0x438d0b
mov dword [esp + 0x24], 0xffffffff
mov edx, dword [esp + 0x34]
movzx eax, word [edi]
cmp eax, dword [esp + 0x38]
jb 0x438d25
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 0x438d3f
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 0x439397
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, 0x53
ja case.0x438dcf.17
movzx eax, byte [eax + 0x439754]
jmp dword [eax*4 + 0x43970c]
movzx eax, word [edx + 2]
mov ecx, 0x8000
cmp ax, cx
jae case.0x438dcf.47
mov ecx, eax
mov eax, dword [esi + 0x10]
cmp dword [eax + ecx*8], 0
jne case.0x438dcf.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 0x43964d
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 + 0x114]
jb 0x438e3c
mov ecx, esi
call fcn.004530e0
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 0x43964d
push 0x6b
push edi
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.00438900
add esp, 0x14
mov ecx, eax
jmp 0x43964d
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x5f
push ecx
jmp 0x438e65
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x61
push ecx
jmp 0x438e65
mov al, byte [edi + 4]
xor ecx, ecx
and al, 0x1f
cmp al, 0x15
setne cl
add ecx, 0x63
push ecx
jmp 0x438e65
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x114]
jb 0x438ece
mov ecx, esi
call fcn.004530e0
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 0x43964d
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
cmp ecx, dword [esi + 0x114]
jb 0x438f08
mov ecx, esi
call fcn.004530e0
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 0x43964d
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 0x438f94
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 0x438f62
cmp eax, 0xffffffff
jne 0x438f94
cmp ecx, 0x21
not eax
cmovne eax, dword [esp + 0x18]
test eax, eax
jne 0x438f78
dec dword [esi + 8]
mov ax, word [edx]
jmp 0x438f90
cmp ecx, 0x23
jne 0x438f89
xor eax, eax
mov byte [edx + 5], 0x1f
mov word [edx + 2], ax
jmp 0x438f94
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 0x439011
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edi*8]
test edx, edx
je 0x438fd4
cmp edx, 0xffffffff
jne 0x439011
cmp byte [esp + 0x57], 0x21
mov eax, edx
not eax
cmovne eax, edx
test eax, eax
je 0x43964d
cmp byte [esp + 0x57], 0x23
jne 0x43900a
push 0
push dword [esp + 0x1c]
push 0x1f13
push esi
call fcn.00438a60
add esp, 0x10
mov ecx, eax
jmp 0x43964d
mov ecx, edi
jmp 0x43964d
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x114]
jb 0x43902b
mov ecx, esi
call fcn.004530e0
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 0x43964d
push edi
push edx
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
call fcn.00438330
add esp, 0x14
mov ecx, eax
jmp 0x43964d
mov eax, dword [esi + 8]
movzx edi, word [edx]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x114]
jb 0x439092
mov ecx, esi
call fcn.004530e0
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], 0x45130018
mov word [eax + ecx*8], di
jmp 0x43964d
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 0x4390ec
mov eax, dword [ecx]
add eax, edx
push eax
push 0x19
push esi
call fcn.00453870
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x43916b
cmp al, 0x29
jne 0x43911b
movzx eax, word [ecx + 2]
cmp ax, word [esp + 0x10]
jae 0x43911b
mov edi, dword [esp + 0x14]
test byte [edi + 4], 0x40
mov edi, dword [esp + 0x20]
jne 0x43911b
mov edx, dword [esi + 0x10]
movzx ecx, word [ecx]
mov dword [esp + 0x40], ecx
mov edx, dword [edx + eax*8]
add edx, 4
je 0x43916b
mov ecx, esi
call fcn.00453170
mov ecx, dword [esi + 8]
movzx eax, ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x114]
jb 0x439143
mov ecx, esi
call fcn.004530e0
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 + 0x114]
jb 0x439189
mov ecx, esi
call fcn.004530e0
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 0x43964d
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 + 0x114]
jb 0x4391d9
mov ecx, esi
call fcn.004530e0
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 0x439649
movzx ecx, word [edi + 2]
mov eax, ecx
and eax, 0x1f
cmp eax, 0xe
je 0x43926d
cmp eax, 0xd
je 0x43926d
cmp eax, 0x15
je 0x439264
cmp eax, 0x16
je 0x439264
test ecx, 0x800
mov ecx, esi
je 0x439252
mov edx, 0x1f
call fcn.00453170
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 0x43964d
xor edx, edx
call fcn.00453170
mov edx, dword [esp + 0x34]
mov ecx, eax
jmp 0x4393c8
mov ecx, dword [esp + 0x18]
jmp 0x4393c8
mov eax, dword [esi + 8]
movzx edi, word [edx]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x114]
jb 0x43928a
mov ecx, esi
call fcn.004530e0
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 0x43964d
movzx eax, word [edx]
mov ecx, 0x8000
cmp ax, cx
jae 0x4392c4
cmp word [edx + 2], cx
jb 0x4392ca
cmp ax, word [edx + 2]
jne 0x4392cd
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 0x4392f6
cmp eax, 0x8000
jb 0x439649
cmp edx, eax
je 0x439649
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x439314
mov ecx, esi
call fcn.004530e0
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 0x439649
dec dword [esi + 8]
mov ax, word [edx]
mov word [edi + 6], ax
movzx ecx, word [edx + 2]
jmp 0x43964d
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 + 0x114]
jb 0x43936e
mov ecx, esi
call fcn.004530e0
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 0x439649
mov al, byte [edi + 5]
cmp al, 0x5b
jne 0x439447
movzx eax, word [edi + 2]
and eax, 0x1f
cmp eax, 0x15
je 0x4393b7
cmp eax, 0x16
jne 0x439649
and cl, 0x1f
cmp cl, 0xe
je 0x4393e0
cmp cl, 0xd
je 0x4393e0
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 0x43964d
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 + 0x114]
jb 0x43941b
mov ecx, esi
call fcn.004530e0
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 0x439649
cmp al, 0x63
jne 0x43951c
mov ecx, dword [esp + 0x4c]
movzx eax, word [edi]
movzx eax, word [ecx + eax*2]
mov ecx, eax
test ax, ax
je 0x4394c8
movzx eax, word [edx + 4]
mov dword [esp + 0x14], eax
movzx eax, word [edx + 2]
mov dword [esp + 0x18], eax
mov eax, 0x6400
mov word [edx + 4], ax
mov word [edx + 2], cx
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x114]
jb 0x439498
mov ecx, esi
call fcn.004530e0
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 0x439649
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x114]
jb 0x4394f5
mov ecx, esi
call fcn.004530e0
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 0x43964d
cmp al, 0x64
jne 0x4395ea
movzx eax, word [edi]
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + eax*2]
test ax, ax
je 0x43958f
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 + 0x114]
jb 0x43955a
mov ecx, esi
call fcn.004530e0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, 0x6400
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 0x439649
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x114]
jb 0x4395c0
mov ecx, esi
call fcn.004530e0
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edx, 0x6400
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 0x439649
cmp al, 0x54
jne 0x43963b
movzx eax, word [edi + 2]
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + eax*2]
test ax, ax
je 0x439649
mov edi, dword [esi + 8]
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x114]
jb 0x439615
mov ecx, esi
call fcn.004530e0
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 0x439649
cmp al, 0x11
jne 0x439649
mov eax, dword [esp + 0x44]
mov dword [esi + 0x11c], 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 0x438c30
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], eax
jne 0x4396bc
mov ax, word [esi + 8]
mov ecx, dword [edx]
movzx edi, byte [edx + 0xa]
mov word [edx + 4], ax
xor edx, edx
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x4396bc
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 0x439695
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 8]
dec ecx
cmp ecx, 0x8001
jb 0x439706
mov edi, 0x8000
nop dword [eax]
mov edx, dword [esi + 0x10]
cmp byte [edx + ecx*8 + 5], 0x13
jne 0x439706
movzx eax, word [edx + ecx*8]
cmp ax, di
jb 0x4396e8
or byte [edx + eax*8 + 4], 0x40
movzx edx, word [edx + ecx*8 + 2]
cmp edx, dword [esi + 0x11c]
jbe 0x4396fd
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x40
dec ecx
cmp ecx, 0x8001
jae 0x4396d0
pop edi
pop esi
add esp, 0x50
ret