Function at 0x1001f710
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x20]
cmp byte [ebp + 0x44], 4
je 0x10018e35
xor al, al
pop ebp
add esp, 0x18
ret
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0x48]
push ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
mov edx, eax
movzx ecx, bl
mov eax, 0xff
mov dword [esp + 0x1c], edx
sub eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], eax
add esp, 0x10
mov eax, dword [esp + 0x2c]
cmp dword [eax + 8], 0
jbe 0x10018fb1
lea ebx, [esi + 4]
mov dword [esp + 0x10], ebx
push edi
nop dword [eax + eax]
movzx ecx, word [ebx - 2]
imul ecx, dword [ebp + 0x34]
movzx eax, word [ebx - 4]
add ecx, eax
mov eax, dword [ebp]
lea esi, [eax + ecx*4]
movzx eax, word [ebx]
xor ecx, ecx
cmp byte [ebx + 2], 0xff
jne 0x10018ee9
xor edi, edi
cmp cx, ax
jae 0x10018f93
mov al, byte [esp + 0x18]
mov dword [esp + 0x1c], eax
push eax
push dword [esi]
mov eax, dword [ebp + 0x5c]
push edx
call eax
mov edx, dword [esp + 0x1c]
lea esi, [esi + 4]
mov dword [esi - 4], eax
inc edi
movzx eax, word [ebx]
add esp, 0xc
cmp edi, eax
mov eax, dword [esp + 0x1c]
jb 0x10018ec2
jmp 0x10018f93
mov dword [esp + 0x1c], 0
cmp cx, ax
jae 0x10018f93
mov al, byte [esp + 0x18]
mov dword [esp + 0x24], eax
push eax
push dword [esi]
mov eax, dword [ebp + 0x5c]
push edx
call eax
mov ebx, dword [esi]
lea esi, [esi + 4]
mov ebp, eax
mov ecx, ebx
mov eax, dword [esp + 0x20]
mov edi, ebp
shr edi, 8
and ebp, 0xff00ff
shr ecx, 8
and edi, 0xff00ff
and ecx, 0xff00ff
add esp, 0xc
movzx edx, byte [eax + 2]
sub edi, ecx
mov ecx, dword [esp + 0x1c]
mov eax, ebx
imul edi, edx
and eax, 0xff00ff00
inc ecx
mov dword [esp + 0x1c], ecx
add edi, eax
mov eax, ebx
and eax, 0xff00ff
and ebx, 0xffff00ff
sub ebp, eax
and edi, 0xff00ff00
imul ebp, edx
mov edx, dword [esp + 0x10]
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x14]
and ebp, 0xff00ff
add edi, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esi - 4], edi
movzx eax, word [ebx]
cmp ecx, eax
mov eax, dword [esp + 0x24]
jb 0x10018f02
mov eax, dword [esp + 0x20]
add ebx, 8
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
cmp eax, dword [ecx + 8]
jb 0x10018e90
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x18
ret
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x20]
cmp byte [ebp + 0x44], 1
je 0x1001a9d5
xor al, al
pop ebp
add esp, 0x18
ret
mov eax, dword [ebp + 0x60]
push ebx
push esi
push edi
mov ecx, dword [eax]
lea edx, [ecx - 6]
cmp edx, 3
ja case.default.0x1001a9e9
jmp dword [edx*4 + 0x1001ac00]
mov edx, 0x10018420
mov dword [esp + 0x10], edx
jmp 0x1001aa8f
mov edx, 0x100184b0
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], esi
cmp dword [ecx + 8], 0
mov ebx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
jbe 0x1001abf3
nop dword [eax]
movzx eax, word [ebx + 2]
movzx ecx, word [ebx]
mov edi, eax
imul edi, dword [esp + 0x24]
add edi, ecx
add edi, esi
mov esi, dword [ebp + 0x34]
imul esi, eax
mov al, byte [ebx + 6]
add esi, dword [ebp]
add esi, ecx
cmp al, 0xff
jne 0x1001ab67
mov al, byte [esp + 0x40]
mov byte [esp + 0x18], al
jmp 0x1001ab7f
mov edx, 0x10018440
mov dword [esp + 0x10], edx
jmp 0x1001aa8f
mov edx, 0x10018480
jmp 0x1001aa03
xor edx, edx
mov dword [esp + 0x10], edx
cmp ecx, 7
je 0x1001aa07
mov dword [esp + 0x10], edx
cmp ecx, 8
je 0x1001aa07
mov ecx, dword [esp + 0x30]
mov ebp, dword [eax + 0x18]
mov esi, dword [eax + 0x24]
mov dword [esp + 0x20], ebp
cmp dword [ecx + 8], 0
mov ebx, dword [ecx]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0
jbe 0x1001ab47
movzx eax, word [ebx + 2]
imul eax, esi
movzx esi, word [ebx]
add eax, ebp
add esi, eax
mov al, byte [ebx + 6]
cmp al, 0xff
jne 0x1001aad0
mov cl, byte [esp + 0x40]
jmp 0x1001aae4
movzx ecx, al
movzx eax, byte [esp + 0x40]
imul ecx, eax
add ecx, 0xff
shr ecx, 8
xor eax, eax
mov byte [esp + 0x14], cl
xor edi, edi
cmp ax, word [ebx + 4]
jae 0x1001ab26
mov ebp, dword [esp + 0x14]
mov al, cl
not al
mov dword [esp + 0x1c], eax
nop
push eax
movzx eax, byte [esi]
push eax
push ebp
call edx
mov edx, dword [esp + 0x1c]
lea esi, [esi + 1]
mov byte [esi - 1], al
inc edi
movzx eax, word [ebx + 4]
add esp, 0xc
cmp edi, eax
mov eax, dword [esp + 0x1c]
jl 0x1001ab00
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ebx, 8
mov eax, dword [esp + 0x30]
inc ecx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 8]
jb 0x1001aab5
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x60]
lea eax, [ecx + 0x38]
push eax
lea eax, [ecx + 0x10]
push eax
push edx
call fcn.10018040
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
movzx ecx, al
movzx eax, byte [esp + 0x40]
imul ecx, eax
add ecx, 0xff
shr ecx, 8
mov byte [esp + 0x18], cl
xor eax, eax
xor ebp, ebp
cmp ax, word [ebx + 4]
jae 0x1001abce
nop dword [eax]
movzx eax, byte [edi]
push 0
push eax
push dword [esp + 0x20]
call edx
mov cl, al
lea edi, [edi + 1]
not cl
lea esi, [esi + 1]
movzx edx, cl
inc ebp
movzx ecx, byte [esi - 1]
add esp, 0xc
imul edx, ecx
add edx, 0xff
shr edx, 8
add dl, al
mov byte [esi - 1], dl
movzx eax, word [ebx + 4]
mov edx, dword [esp + 0x10]
cmp ebp, eax
jl 0x1001ab90
mov ebp, dword [esp + 0x14]
add ebx, 8
mov eax, dword [esp + 0x30]
inc ebp
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
cmp ebp, dword [eax + 8]
mov ebp, dword [esp + 0x2c]
jb 0x1001aa30
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x18
ret
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
xor edx, edx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, dword [ebx + 0x60]
push edi
mov ebp, dword [esi]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov cl, byte [eax + 0x34]
mov eax, dword [eax]
sub eax, 2
mov byte [esp + 0x13], cl
cmp eax, 3
cmovg eax, edx
mov eax, dword [ebx + eax*4 + 0x4c]
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 0x44]
cmp al, 4
jne 0x1001b052
push dword [esp + 0x4c]
mov eax, dword [ebx + 0x48]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call eax
xor edi, edi
mov dword [esp + 0x28], eax
add esp, 0x10
mov dword [esp + 0x24], edi
cmp dword [esi + 8], edi
jbe 0x1001b130
movzx eax, byte [esp + 0x13]
add ebp, 4
mov dword [esp + 0x20], eax
nop dword [eax]
mov ecx, dword [ebx + 0x34]
movzx edx, word [ebp - 2]
mov eax, dword [ebx]
movzx esi, word [ebp - 4]
imul ecx, edx
add ecx, esi
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x60]
mov ebx, dword [eax + 0x24]
mov al, byte [ebp + 2]
imul ebx, edx
add ebx, esi
imul ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x28]
cmp al, 0xff
jne 0x1001af2a
mov esi, dword [esp + 0x18]
jmp 0x1001af62
movzx ecx, al
mov eax, dword [esp + 0x18]
mov esi, eax
shr esi, 8
and eax, 0xff00ff
and esi, 0xff00ff
imul eax, ecx
imul esi, ecx
add eax, 0xff00ff
add esi, 0xff00ff
shr eax, 8
and esi, 0xff00ff00
and eax, 0xff00ff
add esi, eax
xor eax, eax
mov dword [esp + 0x1c], 0
cmp ax, word [ebp]
jae 0x1001b02f
mov eax, esi
shr eax, 8
and eax, 0xff00ff
and esi, 0xff00ff
mov dword [esp + 0x30], eax
nop word [eax + eax]
push ebx
call dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov edi, esi
movzx ecx, al
add esp, 4
mov eax, dword [esp + 0x30]
imul eax, ecx
mov edx, dword [edx]
imul edi, ecx
mov ecx, edx
add ebx, dword [esp + 0x20]
and edx, 0xff00ff
shr ecx, 8
add eax, 0xff00ff
and ecx, 0xff00ff
and eax, 0xff00ff00
add edi, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add edi, eax
mov eax, edi
not eax
shr eax, 0x18
imul ecx, eax
imul edx, eax
mov eax, dword [esp + 0x14]
add ecx, 0xff00ff
add edx, 0xff00ff
and ecx, 0xff00ff00
shr edx, 8
add ecx, edi
and edx, 0xff00ff
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
inc ecx
add eax, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
movzx eax, word [ebp]
cmp ecx, eax
jb 0x1001af90
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
inc edi
mov ebx, dword [esp + 0x38]
add ebp, 8
mov dword [esp + 0x24], edi
cmp edi, dword [eax + 8]
jb 0x1001aef0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
cmp al, 1
jne 0x1001b13a
mov dword [esp + 0x24], edx
cmp dword [esi + 8], edx
jbe 0x1001b130
movzx ebx, cl
mov dword [esp + 0x20], ebx
nop
mov eax, dword [esp + 0x38]
movzx edx, word [ebp + 2]
movzx ecx, word [ebp]
mov esi, dword [eax + 0x34]
imul esi, edx
add esi, dword [eax]
mov eax, dword [eax + 0x60]
add esi, ecx
mov edi, dword [eax + 0x24]
mov al, byte [ebp + 6]
imul edi, edx
add edi, ecx
imul edi, ebx
add edi, dword [esp + 0x28]
cmp al, 0xff
jne 0x1001b0a5
mov cl, byte [esp + 0x4c]
jmp 0x1001b0bb
movzx ecx, al
mov eax, dword [esp + 0x4c]
movzx eax, al
imul ecx, eax
add ecx, 0xff
shr ecx, 8
xor eax, eax
xor ebx, ebx
cmp ax, word [ebp + 4]
jae 0x1001b113
movzx eax, cl
mov dword [esp + 0x30], eax
nop dword [eax]
push edi
call dword [esp + 0x30]
add edi, dword [esp + 0x24]
lea esi, [esi + 1]
movzx ecx, al
inc ebx
movzx eax, byte [esi - 1]
mov edx, ecx
not edx
add esp, 4
imul edx, eax
mov eax, dword [esp + 0x30]
imul eax, ecx
add edx, 0xff
sar edx, 8
add eax, 0xff
shr eax, 8
add dl, al
mov byte [esi - 1], dl
movzx eax, word [ebp + 4]
cmp ebx, eax
jb 0x1001b0d0
mov ebx, dword [esp + 0x24]
add ebp, 8
mov eax, dword [esp + 0x3c]
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, dword [eax + 8]
mov ebx, dword [esp + 0x20]
jb 0x1001b070
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret
sub esp, 0x18
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x1001cc4a
mov eax, dword [eax]
cmp eax, 1
jle 0x1001cc4a
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push edi
cmp eax, 6
jge 0x1001cc3d
call fcn.1001ac10
add esp, 0x18
pop edi
add esp, 0x18
ret
call fcn.1001a7e0
add esp, 0x18
pop edi
add esp, 0x18
ret
cmp dword [edi + 0x5c], 0
push ebx
push ebp
push esi
je 0x1001cd1b
cmp byte [edi + 0x44], 4
jne 0x1001cde3
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
push ebx
push dword [esp + 0x40]
mov eax, dword [esi + 8]
sub eax, dword [esi]
push dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x48]
call eax
mov ecx, dword [esi + 4]
xor ebp, ebp
imul ecx, dword [edi + 0x34]
add esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov dword [esp + 0x2c], ebp
add ecx, dword [esi]
lea edx, [eax + ecx*4]
movzx eax, bl
mov ecx, 0xff
mov dword [esp + 0x24], edx
sub ecx, eax
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x10], ebp
jbe 0x1001cd11
mov eax, dword [edi + 0x34]
imul eax, ebp
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001cd06
mov ebp, dword [esp + 0x18]
mov ebx, eax
mov al, cl
mov dword [esp + 0x1c], eax
nop
push eax
push dword [esi]
mov eax, dword [edi + 0x5c]
push ebp
call eax
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
lea esi, [esi + 4]
sub ebx, 1
jne 0x1001cce0
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc ebp
mov dword [esp + 0x2c], ebp
cmp ebp, dword [esp + 0x10]
jb 0x1001ccc1
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
add esp, 0x18
ret
mov eax, dword [esp + 0x40]
cmp al, 0xff
jne 0x1001cded
mov esi, dword [esp + 0x30]
mov cl, byte [edi + 0x44]
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0xc]
sub eax, dword [esi]
sub ebp, dword [esi + 4]
mov dword [esp + 0x2c], eax
cmp cl, 4
jne 0x1001cda5
mov eax, dword [edi + 0x48]
push 0xff
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
call eax
mov edx, dword [esi + 4]
add esp, 0x10
imul edx, dword [edi + 0x34]
xor ebx, ebx
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
lea ecx, [ecx + edx*4]
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x1001cd11
push dword [esp + 0x2c]
push dword [esi]
push eax
mov eax, dword [edi + 0x34]
imul eax, ebx
lea eax, [ecx + eax*4]
push eax
call fcn.1001f560
mov eax, dword [esp + 0x34]
inc ebx
mov ecx, dword [esp + 0x30]
add esp, 0x10
cmp ebx, ebp
jb 0x1001cd75
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
add esp, 0x18
ret
cmp cl, 1
jne 0x1001cde3
xor ebx, ebx
test ebp, ebp
je 0x1001cd11
push eax
mov eax, dword [esi + 4]
add eax, ebx
imul eax, dword [edi + 0x34]
add eax, dword [esi]
push eax
push 0xff
push dword [edi]
call fcn.1001f450
mov eax, dword [esp + 0x3c]
inc ebx
add esp, 0x10
cmp ebx, ebp
jb 0x1001cdb4
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
add esp, 0x18
ret
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 0x18
ret
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push edi
call fcn.1001ea90
add esp, 0x18
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x18
ret
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, dword [ebx]
mov al, byte [edi + 0x44]
cmp al, 4
jne 0x1001ef89
push dword [esp + 0x30]
mov eax, dword [edi + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call eax
xor edx, edx
add esp, 0x10
mov ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
cmp dword [ebx + 8], edx
jbe 0x1001f024
lea ebx, [esi + 4]
nop dword [eax]
movzx ecx, word [ebx - 2]
imul ecx, dword [edi + 0x34]
movzx eax, word [ebx - 4]
add ecx, eax
mov eax, dword [edi]
lea esi, [eax + ecx*4]
mov al, byte [ebx + 2]
cmp al, 0xff
jae 0x1001ef06
movzx edx, al
mov ecx, ebp
and ecx, 0xff00ff
mov eax, ebp
shr eax, 8
imul ecx, edx
and eax, 0xff00ff
imul eax, edx
mov edx, dword [esp + 0x10]
add ecx, 0xff00ff
add eax, 0xff00ff
shr ecx, 8
and eax, 0xff00ff00
and ecx, 0xff00ff
add eax, ecx
jmp 0x1001ef08
mov eax, ebp
mov edi, eax
xor ecx, ecx
not edi
xor ebp, ebp
shr edi, 0x18
cmp cx, word [ebx]
jae 0x1001ef62
mov edx, dword [esi]
lea esi, [esi + 4]
mov ecx, edx
inc ebp
shr ecx, 8
and edx, 0xff00ff
and ecx, 0xff00ff
imul edx, edi
imul ecx, edi
add edx, 0xff00ff
add ecx, 0xff00ff
shr edx, 8
and ecx, 0xff00ff00
and edx, 0xff00ff
add ecx, eax
add edx, ecx
mov dword [esi - 4], edx
movzx ecx, word [ebx]
cmp ebp, ecx
jb 0x1001ef18
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc edx
mov ebp, dword [esp + 0x14]
add ebx, 8
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
cmp edx, dword [eax + 8]
jb 0x1001eeb0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
cmp al, 1
jne 0x1001f024
xor ebp, ebp
cmp dword [ebx + 8], ebp
jbe 0x1001f024
mov edx, dword [esp + 0x30]
movzx eax, dl
mov dword [esp + 0x14], eax
not eax
mov dword [esp + 0x10], eax
nop dword [eax]
movzx ecx, word [esi + 2]
imul ecx, dword [edi + 0x34]
movzx eax, word [esi]
add ecx, eax
mov al, byte [esi + 6]
add ecx, dword [edi]
cmp al, 0xff
jae 0x1001efd7
movzx edx, al
imul edx, dword [esp + 0x14]
add edx, 0xff
shr edx, 8
xor eax, eax
xor edi, edi
cmp ax, word [esi + 4]
jae 0x1001f013
mov eax, dword [esp + 0x10]
movzx ebx, al
nop dword [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
imul eax, ebx
inc edi
add eax, 0xff
shr eax, 8
add al, dl
mov byte [ecx - 1], al
movzx eax, word [esi + 4]
cmp edi, eax
jb 0x1001eff0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc ebp
mov edx, dword [esp + 0x30]
add esi, 8
cmp ebp, dword [ebx + 8]
jb 0x1001efb0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
cmp dl, 0xff
jae 0x1001f758
movzx eax, byte [esp + 0xc]
movzx ecx, dl
imul eax, ecx
add eax, 0xff
shr eax, 8
mov byte [esp + 0xc], al
movzx eax, byte [esp + 0x10]
imul eax, ecx
add eax, 0xff
shr eax, 8
mov byte [esp + 0x10], al
movzx eax, byte [esp + 0x14]
imul eax, ecx
add eax, 0xff
shr eax, 8
mov byte [esp + 0x14], al
mov ecx, dword [esp + 8]
cmp byte [ecx + 0x24], 0
je 0x1001f772
mov dword [esp + 0x18], edx
lea eax, [ecx + 0x14]
mov dword [esp + 8], eax
jmp 0x1001cc00
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x1001f77c
xor al, al
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [eax + 0x60]
test esi, esi
je 0x1001f7b7
mov esi, dword [esi]
cmp esi, 1
jle 0x1001f7b7
cmp esi, 6
pop esi
jge 0x1001f7a6
mov dword [esp + 0x18], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x1001ae70
mov dword [esp + 0x18], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x1001a9c0
cmp dword [eax + 0x5c], 0
je 0x1001f7cf
pop esi
mov dword [esp + 0x18], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x10018e20
cmp dl, 0xff
jne 0x1001f7ec
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push ecx
push eax
call fcn.1001e210
add esp, 0x14
pop esi
ret
pop esi
mov dword [esp + 0x18], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x1001ee60