Function at 0x402e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xbc
mov ebp, dword [esp + 0xd4]
mov dword [esp], ebp
call fcn.007c3e70
lea ecx, [ebp + eax]
cmp eax, 1
jle 0x402f0c
mov al, 1
movzx eax, al
cmp eax, 0x14
jne 0x402f94
mov dword [esp + 0x1c], ecx
mov edx, 4
mov byte [esp + 0x3a], 0x4d
movzx eax, byte [ebp]
cmp eax, 0x22
je 0x403006
movzx eax, al
cmp eax, 0x27
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x3b], al
mov byte [esp + 0x4f], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x5f], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], al
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
je 0x4030b9
jmp 0x403120
mov esi, 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x4f], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x5f], al
mov edx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
cmp esi, 5
mov ecx, dword [esp + 0x3c]
je 0x403120
imul esi, esi
and esi, 3
cmp esi, 3
jne 0x403ec8
jmp 0x403120
mov edx, 7
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x3a], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x5f], al
mov byte [esp + 0x4f], al
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], ecx
jmp 0x403966
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x4f], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x5f], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], al
mov byte [esp + 0x3b], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov esi, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x1c]
jmp 0x4034d9
mov edx, 0x15
mov byte [esp + 0x3a], 0x4d
mov edi, dword [esp + 0x1c]
lea esi, [edi - 1]
mov dword [esp + 0x34], esi
movzx esi, byte [edi - 1]
cmp esi, 0x22
je 0x4030a5
xor ebx, ebx
test bl, bl
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], edi
je 0x403120
jmp 0x4038bc
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], edi
jmp 0x4038bc
mov edx, 0xf
mov ebx, dword [esp + 0x1c]
lea esi, [ebx - 1]
mov dword [esp + 0x34], esi
movzx esi, byte [ebx - 1]
cmp esi, 0x27
mov edi, dword [esp + 0xd4]
je 0x4030f1
imul esi, esi
and esi, 3
cmp esi, 2
mov dword [esp + 0x60], edi
mov dword [esp + 0x74], ebx
jne 0x403120
jmp 0x4032d8
mov dword [esp + 0x60], edi
mov dword [esp + 0x74], ebx
jmp 0x4032d8
inc ecx
mov eax, edx
mov dword [esp + 0x74], ebp
mov esi, ecx
not esi
and esi, 1
add esi, ecx
setne bl
movzx esi, bl
cmp ecx, esi
jb 0x403100
mov dword [esp + 0x60], eax
mov ecx, edi
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x74]
cmp eax, esi
je 0x403156
mov byte [esp + 0x13], 0x2e
mov byte [esp + 0x1b], 0x50
mov edx, ecx
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
mov ecx, edx
mov dword [esp + 0x20], eax
mov ebp, eax
mov dword [esp + 0x50], esi
mov ebx, eax
jne 0x40323a
jmp 0x40316a
mov byte [esp + 0x13], 0x2e
mov byte [esp + 0x1b], 0x50
mov dword [esp + 0x20], eax
mov ebp, eax
mov dword [esp + 0x50], esi
mov edi, ebp
and edi, 1
xor edi, ebp
not edi
mov esi, 0xe
mov ebx, dword [esp + 0x50]
nop dword [eax]
cmp ebp, ebx
jne 0x40318d
mov edx, 3
test edi, edi
jne 0x4031d3
movzx edx, byte [ebx - 1]
dec ebx
movzx edx, word [edx + edx + str.________________________________H]
test dl, 8
jne 0x403180
inc ebx
mov dword [esp + 0x3c], ebp
mov edi, ebp
mov eax, dword [esp + 0x60]
cmp esi, 0xa
jne 0x4031e8
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], ebx
imul esi, esi
and esi, 3
cmp esi, 2
mov ebp, dword [esp + 0x78]
jb 0x4035f7
jmp 0x403369
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x60]
jmp 0x4039cb
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], ebx
jmp 0x403369
mov edi, ecx
mov byte [esp + 0x13], 0x2e
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
cmp eax, ebx
jne 0x403230
mov edx, 8
mov dword [esp + 0x20], eax
mov ecx, eax
or ecx, 2
mov esi, eax
xor esi, 2
add esi, ecx
mov dword [esp + 0x50], ebx
mov ebp, ebx
mov ecx, edi
jne 0x403a9b
jmp 0x40323a
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ebx
mov ecx, edi
mov edx, 7
mov al, byte [esp + 0x1b]
movzx esi, al
cmp esi, 0x50
jne 0x40328b
mov edx, 0xf
mov byte [esp + 0x1b], 0x25
mov eax, dword [esp + 0x20]
movzx esi, byte [eax]
movzx esi, word [esi + esi + str.________________________________H]
and esi, 8
mov edi, esi
or edi, 1
sete bl
movzx edi, bl
cmp esi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x58]
jne 0x403329
jmp 0x40340a
mov dword [esp + 0x3c], ebx
cmp edx, 7
je 0x4032f4
mov esi, edx
and esi, 1
inc esi
xor esi, edx
je 0x4032f4
mov esi, dword [esp + 0x54]
lea ebp, [esi + 1]
mov edx, dword [esp + 0x78]
cmp ebp, edx
jb 0x40335a
mov byte [esp + 0x3b], 0x17
mov byte [esp + 0x4f], 0x60
mov edi, edx
mov edx, 0xa
xor ebx, ebx
test bl, bl
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edi
jne 0x4037e0
cmp edx, 0xa
je 0x403e16
mov esi, edx
and esi, 1
inc esi
xor esi, edx
jne 0x4038f5
jmp 0x403e16
mov esi, 1
mov byte [esp + 0x1b], 0x50
mov eax, dword [esp + 0x20]
movzx edx, byte [eax]
movzx edx, word [edx + edx + str.________________________________H]
and edx, 8
mov edi, edx
or edi, 1
sete bl
movzx edi, bl
cmp edx, edi
mov ebp, eax
mov dword [esp + 0x30], eax
je 0x403baf
mov edx, 0x14
mov edi, 0x1c
movzx esi, byte [esp + 0x13]
cmp esi, 0x2e
mov esi, dword [esp + 0x50]
mov ebp, esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov ebx, esi
je 0x4034ae
jmp 0x403cf3
mov byte [esp + 0x3b], 0x17
mov byte [esp + 0x4f], 0x60
jmp 0x4037e0
mov edx, 6
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
cmp edi, esi
mov dword [esp + 0x64], 0xffffffff
je 0x4033f0
xor ebx, ebx
test bl, bl
jne 0x4033ec
mov al, 0x1c
movzx eax, al
cmp eax, 0x1c
je 0x4033f9
cmp eax, 0x3d
mov ebx, dword [esp + 0x44]
jne 0x403462
mov ecx, 0xa
lea esi, [ebx - 1]
movzx edx, byte [ebx - 1]
mov dword [esp + 0x64], 0xffffffff
cmp edx, 0x48
je 0x40351a
mov dword [esp + 0x24], esi
mov byte [esp + 0x3b], 0x67
mov ebp, 0x12
movzx edx, dl
cmp edx, 0x68
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], ebx
mov esi, 0xa
mov eax, dword [esp + 0x60]
je 0x4031aa
jmp 0x403701
mov esi, dword [esp + 0x44]
mov dword [esp + 0x58], esi
jmp 0x403549
mov dword [esp + 0x64], 0xffffffff
mov edx, 0x1a
mov ebp, dword [esp + 0x44]
cmp edx, 0xf
je 0x403455
mov esi, edx
and esi, 1
inc esi
xor esi, edx
je 0x403455
mov edx, 0x10
mov byte [esp + 0x3b], 0x67
lea esi, [ebp - 1]
mov dword [esp + 0x24], esi
movzx ebx, byte [ebp - 1]
cmp ebx, 0x48
je 0x4034d1
mov ecx, 0xa
movzx edx, bl
cmp edx, 0x68
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], ebp
je 0x4035f7
jmp 0x40371a
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x3c]
jmp 0x40316a
mov edx, 9
mov ecx, 0xa
mov byte [esp + 0x3b], 0x67
lea esi, [ebx - 1]
mov edi, ebx
movzx ebx, byte [edi - 1]
mov dword [esp + 0x64], 0xffffffff
cmp ebx, 0x48
je 0x40352e
mov dword [esp + 0x24], esi
movzx edx, bl
cmp edx, 0x68
mov ebp, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x78], edi
mov ebx, dword [esp + 0x50]
mov edx, 0xa
je 0x4035f7
cmp edx, 0xa
je 0x40350d
imul edx, edx
and edx, 3
cmp edx, 3
mov eax, dword [esp + 0x58]
jne 0x4031f9
mov dword [esp + 0x50], ebx
mov ebp, eax
jmp 0x40371a
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], ebx
mov ecx, 0xa
cmp edx, 4
jne 0x403504
mov esi, edx
or esi, 2
xor edx, 2
add edx, esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], ebp
jne 0x403564
jmp 0x4035f7
mov dword [esp + 0x58], ebp
jmp 0x4035f7
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x58]
jmp 0x40371a
mov dword [esp + 0x24], esi
mov byte [esp + 0x3b], 0x67
mov ebp, ebx
mov dword [esp + 0x58], ebx
jmp 0x4035f7
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x58], edi
mov ebx, edi
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
jmp 0x4035cf
cmp edx, 6
je 0x403ec8
mov dword [esp + 0x44], esi
mov esi, edx
and esi, 1
inc esi
xor esi, edx
je 0x403ec8
movzx edx, byte [esp + 0x3a]
cmp edx, 0xc
je 0x40365a
cmp edx, 0x4d
je 0x40369e
cmp edx, 0x75
jne 0x403069
mov ebp, 0xb
mov byte [esp + 0x3a], 0xc
mov edi, dword [esp + 0x1c]
lea edx, [edi - 1]
mov dword [esp + 0x34], edx
movzx esi, byte [edi - 1]
cmp esi, 0x22
jne 0x4036ec
mov edx, 0xd
imul esi, esi
and esi, 3
cmp esi, 2
mov esi, dword [esp + 0xd4]
mov eax, esi
mov dword [esp + 0x74], edi
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
jae 0x403701
cmp edx, 9
jne 0x403782
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], ebx
mov esi, edx
not esi
and esi, 1
add esi, edx
mov ebp, dword [esp + 0x78]
je 0x4038f5
xor esi, esi
mov edx, 0xef
add edx, 0xffffff26
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x24]
jmp 0x403627
mov edi, esi
imul edi, edi
and edi, 3
cmp edi, 2
adc esi, 0
mov ecx, 0x10
mov dword [esp + 0x78], ebp
mov edi, 3
sub edi, esi
xor edi, esi
setne bl
movzx edi, bl
cmp esi, edi
jb 0x403610
mov ebp, dword [esp + 0x58]
cmp edx, 6
je 0x4036e3
xor edx, edx
test dl, dl
mov dword [esp + 0x58], ebp
je 0x40371a
jmp 0x4038c1
mov esi, ecx
mov byte [esp + 0x3a], 0x75
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx - 1]
cmp ecx, 0x22
jne 0x403754
imul ecx, ecx
and ecx, 3
cmp ecx, 1
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x74], edx
mov ecx, esi
jbe 0x4038f5
jmp 0x403120
mov byte [esp + 0x3a], 0x64
mov ebx, dword [esp + 0x1c]
lea edx, [ebx - 1]
mov dword [esp + 0x34], edx
movzx esi, byte [ebx - 1]
cmp esi, 0x22
jne 0x40376a
mov edx, 2
mov edi, 3
sub edi, esi
xor edi, esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], ebx
jne 0x40384e
jmp 0x403120
mov dword [esp + 0x58], ebp
jmp 0x4038c1
mov edx, dword [esp + 0xd4]
mov eax, edx
mov dword [esp + 0x74], edi
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], ebx
cmp ebp, 0xb
mov ebp, dword [esp + 0x58]
je 0x403120
mov esi, 0x1b
mov dl, byte [esp + 0x3b]
movzx edi, dl
cmp edi, 0x24
je 0x403747
mov esi, 1
mov edx, 0x16
cmp edi, 0x67
mov dword [esp + 0x58], ebp
je 0x403f21
jmp 0x40328f
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x60]
jmp 0x4039ec
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x74], edx
mov ecx, esi
jmp 0x403120
mov edx, ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x60], ecx
mov ecx, edx
mov dword [esp + 0x74], ebx
jmp 0x403120
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], ebx
jmp 0x4038f5
mov edi, dword [esp + 0x54]
lea ebp, [edi + 1]
mov edx, dword [esp + 0x78]
cmp ebp, edx
jae 0x4037cd
mov byte [esp + 0x3b], 0x24
mov byte [esp + 0x4f], 0x60
mov ebx, edx
mov edx, ebp
or edx, 2
mov esi, ebp
xor esi, 2
add esi, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ebx
jne 0x4037e0
jmp 0x403e16
mov byte [esp + 0x3b], 0x24
mov byte [esp + 0x4f], 0x60
mov dword [esp + 0x48], edi
jmp 0x403e0e
mov edi, dword [esp + 0x54]
movzx edx, byte [edi]
cmp edx, 0x30
je 0x40380b
mov esi, edx
and esi, 1
inc esi
xor esi, edx
je 0x40380b
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
jmp 0x403e16
mov edi, ecx
mov dl, 0x16
movzx edx, dl
cmp edx, 0x16
jne 0x40386b
mov edx, 7
mov cl, 7
mov dword [esp + 0x14], ecx
movzx ebx, byte [ebp]
cmp ebx, 0x58
je 0x4038a6
mov edx, 1
movzx esi, bl
cmp esi, 0x78
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
je 0x4038c1
mov esi, edx
imul esi, esi
and esi, 3
cmp esi, 2
sbb esi, esi
and esi, 1
cmp edx, esi
jne 0x4038f5
jmp 0x403e16
mov edx, 6
mov cl, 7
mov dword [esp + 0x14], ecx
movzx ebx, byte [ebp]
cmp ebx, 0x58
je 0x403a11
movzx edx, bl
cmp edx, 0x78
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
je 0x4038c1
jmp 0x403e16
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
cmp edx, 7
jne 0x4038f5
mov ebx, dword [esp + 0x14]
movzx esi, bl
cmp esi, 0xb
mov edi, dword [esp + 0x54]
je 0x40390e
mov edx, 0x11
cmp esi, 0x6a
jne 0x403955
mov al, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0x10
lea eax, [edi + 2]
mov dword [esp + 0x48], eax
jmp 0x403e16
mov edi, ecx
xor ecx, ecx
mov edx, dword [esp + 0xd4]
inc edx
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
jmp 0x403107
xor eax, eax
lea edx, [edi + 2]
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
jmp 0x403930
mov ebx, 0x22
xor bl, 0x48
inc eax
mov ebp, 0x10
mov edi, edx
mov esi, eax
imul esi, esi
and esi, 3
cmp esi, 2
sbb esi, esi
and esi, 1
cmp eax, esi
jb 0x403920
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], ebx
jmp 0x403e16
mov esi, ecx
mov ebp, dword [esp + 0xd4]
mov bl, byte [esp + 0x3b]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov byte [esp + 0x3b], bl
cmp edx, 7
mov ecx, esi
mov esi, dword [esp + 0x54]
je 0x40399e
imul edx, edx
and edx, 3
cmp edx, 3
je 0x40399e
mov al, 0xb
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0x10
lea eax, [esi + 2]
mov dword [esp + 0x48], eax
jmp 0x403e16
mov edx, 0x16
mov byte [esp + 0x3a], 0x4d
movzx ebx, byte [ebp]
cmp ebx, 0x22
je 0x403a08
mov edx, 0xb
mov esi, 0x10
movzx edi, bl
cmp edi, 0x27
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x74], edi
jne 0x4039ec
cmp edx, 3
jne 0x4030b9
mov dword [esp + 0x60], ebp
imul edx, edx
and edx, 3
cmp edx, 2
jb 0x403369
jmp 0x4030b9
mov dword [esp + 0x60], ebp
cmp esi, 0x10
je 0x403120
xor edx, edx
test dl, dl
je 0x403793
jmp 0x403120
mov esi, dword [esp + 0x44]
jmp 0x403549
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], ecx
mov ecx, edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
jmp 0x40363a
mov dl, 0x60
mov dh, 0x63
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x2c]
jae 0x403a47
mov eax, esi
imul eax, eax
and eax, 3
cmp eax, 1
jbe 0x403a56
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x4f], 0x60
jmp 0x403e4b
mov byte [esp + 0x2b], dh
mov byte [esp + 0x4f], dl
mov eax, 4
movzx edx, byte [esi]
cmp edx, 0x2d
je 0x403abd
imul edx, edx
and edx, 3
cmp edx, 3
je 0x403abd
mov edx, 0xc
mov dword [esp + 0x64], 0xffffffff
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x70], esi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
mov ebp, dword [esp + 0x3c]
mov esi, ecx
cmp edx, 8
jne 0x403adc
mov ecx, edx
or ecx, 2
xor edx, 2
add edx, ecx
mov dword [esp + 0x50], ebx
mov ecx, esi
jne 0x40316a
jmp 0x403e5f
mov edx, ecx
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x70], esi
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
jmp 0x403eaa
mov ecx, esi
jmp 0x403e5f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
sub ecx, eax
cmp ecx, 0x30
mov dword [esp + 0x64], 0xffffffff
jg 0x403ec8
mov dword [esp + 0x68], ecx
xor ecx, ecx
test cl, cl
mov ecx, edx
jne 0x403ec8
mov byte [esp + 0x2b], 7
mov byte [esp + 0x5f], 0x63
mov al, byte [esp + 0x5f]
movzx eax, al
cmp eax, 0x33
je 0x403bcc
xor esi, esi
cmp eax, 0x51
je 0x403c4b
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ecx
cmp eax, 0x63
jne 0x403d35
mov esi, 5
mov byte [esp + 0x5f], 0x5b
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea edi, [esp + 0x7c]
mov dword [esp], edi
call fcn.007c51d0
mov byte [esp + ebx + 0x7c], 0
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.007c4280
test eax, eax
setne cl
mov edx, eax
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
setne al
and al, cl
movzx eax, al
shl eax, 0x1f
sar eax, 0x1f
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x3c]
mov edx, esi
and edx, 1
xor edx, esi
cmp edx, 0xffffffff
setne dl
movzx edx, dl
cmp esi, edx
je 0x40316a
jmp 0x403ec8
mov esi, 0xa
mov byte [esp + 0x5f], 0x63
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea edi, [esp + 0x7c]
mov dword [esp], edi
mov dword [esp + 0x3c], ecx
call fcn.007c51d0
mov byte [esp + ebx + 0x7c], 0
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.007c4280
test eax, eax
setne cl
mov edx, 3
sub edx, eax
xor edx, eax
setne al
and al, cl
movzx edi, al
shl edi, 0x1f
sar edi, 0x1f
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
jmp 0x402f5b
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ecx
mov ebx, 0x82
lea eax, [ebx - 0x74]
mov dword [esp + 0x20], eax
xor ebx, eax
lea ebp, [esp + 0x7c]
mov edi, dword [esp + 0x68]
jmp 0x403ccd
mov al, bl
xor al, 0xbf
mov byte [esp + 0x5f], al
inc esi
mov dword [esp + 8], edi
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.007c51d0
mov byte [esp + edi + 0x7c], 0
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.007c4280
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
mov eax, 0
mov ecx, 0xffffffff
cmovne eax, ecx
mov ecx, esi
or ecx, 2
mov edx, esi
xor edx, 2
add edx, ecx
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x403c70
mov dword [esp + 0x64], eax
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
cmp edi, 0xe
je 0x403ec8
mov esi, ecx
mov byte [esp + 0x13], 0x4b
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
cmp eax, ebp
jne 0x403dbf
mov dword [esp + 0x20], eax
mov ecx, eax
or ecx, 2
mov edx, eax
xor edx, 2
add edx, ecx
mov dword [esp + 0x50], ebp
mov ebx, ebp
mov ecx, esi
jne 0x40316a
jmp 0x40323a
lea edi, [esp + 0x7c]
mov dword [esp + 0x64], eax
jmp 0x403da7
mov eax, esi
imul eax, eax
and eax, 3
cmp eax, 2
adc esi, 0
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.007c51d0
mov byte [esp + ebx + 0x7c], 0
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.007c4280
test eax, eax
setne cl
mov edx, eax
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
setne al
and al, cl
movzx eax, al
shl eax, 0x1f
sar eax, 0x1f
mov dword [esp + 0x64], eax
mov ecx, 3
sub ecx, esi
xor ecx, esi
setne cl
movzx ecx, cl
cmp esi, ecx
jb 0x403d40
jmp 0x403ec8
mov dword [esp + 0x20], eax
mov ebx, ebp
mov dword [esp + 0x50], ebp
mov ecx, esi
jmp 0x40323a
mov byte [esp + 0x3b], 0x67
mov byte [esp + 0x4f], 0x60
mov esi, dword [esp + 0x54]
lea ebp, [esi + 1]
mov edx, dword [esp + 0x78]
cmp ebp, edx
jae 0x403e0a
mov edi, edx
mov edx, ebp
imul edx, edx
and edx, 3
cmp edx, 2
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edi
jb 0x4037e0
jmp 0x403e16
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edx
movzx eax, byte [esp + 0x4f]
cmp eax, 0x23
je 0x403a2c
mov dl, 0x23
mov dh, 0x63
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x2c]
jae 0x403e41
mov eax, 3
sub eax, esi
xor eax, esi
jne 0x403a56
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x4f], 0x23
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
movzx eax, byte [esp + 0x2b]
cmp eax, 7
je 0x403ede
mov edx, ecx
cmp eax, 0x63
jne 0x403ae3
mov eax, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x70]
sub esi, eax
cmp esi, 0x30
mov dword [esp + 0x64], 0xffffffff
jg 0x403ec8
mov ecx, esi
and ecx, 1
inc ecx
xor ecx, esi
mov dword [esp + 0x68], esi
je 0x403ec8
mov eax, 0x11
mov byte [esp + 0x5f], 0x63
mov byte [esp + 0x2b], 0x63
cmp eax, 4
jne 0x403ed7
mov ecx, 3
sub ecx, eax
xor ecx, eax
mov dword [esp + 0x64], 0xffffffff
mov ecx, edx
je 0x403b18
mov eax, dword [esp + 0x64]
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
jmp 0x403b18
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
sub esi, eax
cmp esi, 0x30
jg 0x403f46
mov dword [esp + 0x64], 0xffffffff
mov edx, ecx
mov ecx, esi
imul ecx, ecx
and ecx, 3
cmp ecx, 2
je 0x403ec8
mov dword [esp + 0x68], esi
mov esi, 0xf
mov byte [esp + 0x2b], 2
mov byte [esp + 0x5f], 0x63
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], ebx
mov ecx, edx
mov edx, esi
and edx, 1
xor edx, esi
cmp edx, 0xffffffff
setne dl
movzx edx, dl
cmp esi, edx
je 0x403dd0
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
jmp 0x403b18
mov dword [esp + 0x64], 0xffffffff
jmp 0x403ec8