Function at 0x1003993e
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
cmp dword [ebp + 0x10], 0
jbe 0x1003997e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003997e
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.100390dc
pop ecx
pop ecx
jmp 0x1003a6c3
cmp dword [ebp + 0x10], 0
jne 0x10039e78
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10030507
mov dword [ebp - 0x7c], eax
cmp dword [0x10666cd0], 0
jne 0x10039e4c
mov dword [ebp - 0x140], 0x83b6
lea eax, [ebp - 0x140]
push eax
call fcn.10038fac
pop ecx
mov dword [ebp - 0x120], eax
mov byte [ebp - 0xac], 4
mov byte [ebp - 0xab], 0x19
mov byte [ebp - 0xaa], 8
mov byte [ebp - 0xa9], 0xa
mov byte [ebp - 0xa8], 0xa
mov byte [ebp - 0xa7], 0x2a
mov byte [ebp - 0xa6], 6
mov byte [ebp - 0xa5], 0x36
mov byte [ebp - 0xa4], 0xb
mov byte [ebp - 0xa3], 0xb
mov byte [ebp - 0xa2], 0x11
mov byte [ebp - 0xa1], 0x47
mov byte [ebp - 0xa0], 0x7c
mov byte [ebp - 0x9f], 0x14
mov byte [ebp - 0x9e], 0xf3
mov byte [ebp - 0x9d], 0x9a
mov byte [ebp - 0x9c], 0x55
mov byte [ebp - 0x9b], 0xe3
mov byte [ebp - 0x9a], 0x71
mov byte [ebp - 0x99], 0xf7
mov byte [ebp - 0x98], 0x6e
mov byte [ebp - 0x97], 0x6c
mov byte [ebp - 0x96], 0x13
mov byte [ebp - 0x95], 0xbb
mov byte [ebp - 0x94], 0xc3
mov byte [ebp - 0x93], 0x49
mov byte [ebp - 0x92], 0x25
mov byte [ebp - 0x91], 0x47
mov byte [ebp - 0x90], 7
mov byte [ebp - 0x8f], 0x11
mov byte [ebp - 0x8e], 0
mov byte [ebp - 0x8d], 0x2e
mov byte [ebp - 0x8c], 0xc
mov byte [ebp - 0x8b], 0x10
mov byte [ebp - 0x8a], 5
mov byte [ebp - 0x89], 0x25
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 0x17
mov byte [ebp - 0x86], 3
mov byte [ebp - 0x85], 0x33
mov byte [ebp - 0x84], 2
mov byte [ebp - 0x83], 0x22
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0x1a
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xac]
or eax, 0x7c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
and ecx, 0x7c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x13c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x78], 0
jmp 0x10039b42
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2c
jae 0x10039bec
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xac]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10039b89
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xac]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xac]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10039b3a
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xab]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x78]
movzx ecx, byte [ebp + ecx - 0xae]
movsx ecx, byte [ebp + ecx - 0x13c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xab]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x78]
movzx edx, byte [ebp + edx - 0xae]
movsx edx, byte [ebp + edx - 0x13c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xac]
mov byte [ebp + ecx - 0x13c], al
and dword [ebp - 0x78], 0
jmp 0x10039b3a
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.10022e6d
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x150], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x150]
call fcn.10030507
mov dword [0x10666cd0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.10022ef5
and dword [ebp - 0x80], 0
jmp 0x10039c54
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xe
jae 0x10039c67
mov eax, dword [ebp - 0x80]
mov byte [ebp + eax - 0x13c], 0
jmp 0x10039c4d
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0x5c
mov byte [ebp - 0x62], 0xc
mov byte [ebp - 0x61], 1
mov byte [ebp - 0x60], 7
mov byte [ebp - 0x5f], 6
mov byte [ebp - 0x5e], 0xa3
mov byte [ebp - 0x5d], 0xf1
mov byte [ebp - 0x5c], 0xe
mov byte [ebp - 0x5b], 0xf5
mov byte [ebp - 0x5a], 0x5c
mov byte [ebp - 0x59], 0xa3
mov byte [ebp - 0x58], 0xa
mov byte [ebp - 0x57], 0x16
mov byte [ebp - 0x56], 5
mov byte [ebp - 0x55], 0
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 4
mov byte [ebp - 0x52], 4
mov byte [ebp - 0x51], 0x15
mov byte [ebp - 0x50], 7
mov byte [ebp - 0x4f], 6
mov byte [ebp - 0x4e], 6
mov byte [ebp - 0x4d], 0x22
mov byte [ebp - 0x4c], 0xb
mov byte [ebp - 0x4b], 0x23
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 0x30
mov byte [ebp - 0x48], 9
mov byte [ebp - 0x47], 0x20
mov byte [ebp - 0x46], 2
mov byte [ebp - 0x45], 6
mov byte [ebp - 0x44], 0xd
mov byte [ebp - 0x43], 0x32
mov byte [ebp - 0x42], 8
mov byte [ebp - 0x41], 0x38
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
or eax, 0x2e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
and ecx, 0x2e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x160], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x70], 0
jmp 0x10039d3c
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x24
jae 0x10039dce
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10039d7a
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10039d34
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x63]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x70]
movzx ecx, byte [ebp + ecx - 0x66]
movsx ecx, byte [ebp + ecx - 0x160]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x63]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0x66]
movsx edx, byte [ebp + edx - 0x160]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x64]
mov byte [ebp + ecx - 0x160], al
and dword [ebp - 0x70], 0
jmp 0x10039d34
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.10022e6d
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x148]
call fcn.10030507
mov dword [0x10666de0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.10022ef5
and dword [ebp - 0x74], 0
jmp 0x10039e39
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xf
jae 0x10039e4c
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x160], 0
jmp 0x10039e32
mov eax, dword [0x10666cd0]
cmp eax, dword [ebp - 0x7c]
je 0x10039e60
mov eax, dword [0x10666de0]
cmp eax, dword [ebp - 0x7c]
jne 0x10039e78
mov ecx, dword [ebp + 0xc]
call fcn.10022f10
push eax
push dword [ebp + 8]
call fcn.100390dc
pop ecx
pop ecx
jmp 0x1003a6c3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x1003a6c1
mov eax, dword [ebp - 0x68]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1003a6c1
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x68]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
jne 0x1003a6c1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x74], 0
jbe 0x1003a6c1
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x78], 0
je 0x1003a6c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10039f19
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10039f14
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1003a0af
mov eax, dword [0x10666e48]
and eax, 1
jne 0x10039f50
mov eax, dword [0x10666e48]
or eax, 1
mov dword [0x10666e48], eax
mov dword [ebp - 4], 2
mov ecx, 0x10666e4c
call fcn.1002f698
push 0x10076575
call fcn.1005d2b6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10666ccf]
test eax, eax
je 0x10039fb6
mov ecx, 0x10666e4c
call fcn.1003aae3
movzx eax, al
test eax, eax
jne 0x10039fb6
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x10666e4c
call fcn.1002f670
lea eax, [ebp - 0x16c]
push eax
mov ecx, 0x10666e4c
call fcn.1002f662
push eax
lea ecx, [ebp - 0x124]
call fcn.1002f685
movzx eax, al
test eax, eax
je 0x10039fb6
lea ecx, [ebp - 0x124]
call fcn.1003aaec
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003a0af
mov ecx, 0x10666e4c
call fcn.10008a26
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10666e4c
call fcn.1003ab30
and dword [ebp - 0x30], 0
jmp 0x10039fe8
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x1003a0af
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x1003a0aa
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.10022e6d
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1cc]
call fcn.10030507
mov dword [ebp - 0x118], eax
movzx eax, byte [0x10666ccf]
test eax, eax
je 0x1003a067
mov ecx, 0x10666e4c
call fcn.1003aae3
movzx eax, al
test eax, eax
jne 0x1003a084
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x10666e4c
call fcn.1003aaf2
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10666ccf], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003a09b
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x7c]
jne 0x1003a09b
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10022ef5
jmp 0x10039fe1
cmp dword [ebp + 0x10], 0
jne 0x1003a0cf
cmp dword [ebp - 0x34], 0xffffffff
je 0x1003a0cf
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x1003a6c1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1003a6bc
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1003a6bc
mov eax, dword [0x10666e48]
and eax, 2
jne 0x1003a159
mov eax, dword [0x10666e48]
or eax, 2
mov dword [0x10666e48], eax
mov dword [ebp - 4], 4
push 0x90df
call fcn.1002b4cd
pop ecx
mov byte [0x10666e6c], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x10c], 2
mov byte [ebp - 0x10b], 0x3d
mov byte [ebp - 0x10a], 0
mov byte [ebp - 0x109], 8
mov byte [ebp - 0x108], 1
mov byte [ebp - 0x107], 8
mov byte [ebp - 0x106], 0x56
mov byte [ebp - 0x105], 0xa4
mov byte [ebp - 0x104], 0xb3
mov byte [ebp - 0x103], 0x7d
mov byte [ebp - 0x102], 0x4d
mov byte [ebp - 0x101], 0x54
mov byte [ebp - 0x100], 0x9e
mov byte [ebp - 0xff], 0xa3
mov byte [ebp - 0xfe], 0xaf
mov byte [ebp - 0xfd], 0x24
mov byte [ebp - 0xfc], 0x89
mov byte [ebp - 0xfb], 0xa7
mov byte [ebp - 0xfa], 0x4c
mov byte [ebp - 0xf9], 0x5e
mov byte [ebp - 0xf8], 0xed
mov byte [ebp - 0xf7], 0x5a
mov byte [ebp - 0xf6], 0xc7
mov byte [ebp - 0xf5], 0x27
mov byte [ebp - 0xf4], 3
mov byte [ebp - 0xf3], 0x70
mov byte [ebp - 0xf2], 0xa2
mov byte [ebp - 0xf1], 0x53
mov byte [ebp - 0xf0], 0xfe
mov byte [ebp - 0xef], 0x60
mov byte [ebp - 0xee], 5
mov byte [ebp - 0xed], 0x1d
mov byte [ebp - 0xec], 0xd4
mov byte [ebp - 0xeb], 0x25
mov byte [ebp - 0xea], 0x28
mov byte [ebp - 0xe9], 0x7c
mov byte [ebp - 0xe8], 0xfe
mov byte [ebp - 0xe7], 0x82
mov byte [ebp - 0xe6], 0xfe
mov byte [ebp - 0xe5], 0x34
mov byte [ebp - 0xe4], 0x8f
mov byte [ebp - 0xe3], 0x4f
mov byte [ebp - 0xe2], 4
mov byte [ebp - 0xe1], 0x80
mov byte [ebp - 0xe0], 0x18
mov byte [ebp - 0xdf], 0xe7
mov byte [ebp - 0xde], 0xd4
mov byte [ebp - 0xdd], 0x57
mov byte [ebp - 0xdc], 0x98
mov byte [ebp - 0xdb], 0xd1
mov byte [ebp - 0xda], 0xee
mov byte [ebp - 0xd9], 0xac
mov byte [ebp - 0xd8], 0x12
mov byte [ebp - 0xd7], 0x2e
mov byte [ebp - 0xd6], 0x4f
mov byte [ebp - 0xd5], 0x42
mov byte [ebp - 0xd4], 0x6c
mov byte [ebp - 0xd3], 0x89
mov byte [ebp - 0xd2], 0xb8
mov byte [ebp - 0xd1], 0xcf
mov byte [ebp - 0xd0], 0x41
mov byte [ebp - 0xcf], 0x19
mov byte [ebp - 0xce], 0x58
mov byte [ebp - 0xcd], 0x27
mov byte [ebp - 0xcc], 0xc1
mov byte [ebp - 0xcb], 7
mov byte [ebp - 0xca], 0xa8
mov byte [ebp - 0xc9], 0xa1
mov byte [ebp - 0xc8], 0x4c
mov byte [ebp - 0xc7], 0xcf
mov byte [ebp - 0xc6], 0xb7
mov byte [ebp - 0xc5], 0xdd
mov byte [ebp - 0xc4], 0x67
mov byte [ebp - 0xc3], 0x55
mov byte [ebp - 0xc2], 0x2b
mov byte [ebp - 0xc1], 0xbf
mov byte [ebp - 0xc0], 0x34
mov byte [ebp - 0xbf], 0x2d
mov byte [ebp - 0xbe], 0x33
mov byte [ebp - 0xbd], 0xa4
mov byte [ebp - 0xbc], 5
mov byte [ebp - 0xbb], 0x4f
mov byte [ebp - 0xba], 0x4b
mov byte [ebp - 0xb9], 0xb9
mov byte [ebp - 0xb8], 0x3d
mov byte [ebp - 0xb7], 0x1e
mov byte [ebp - 0xb6], 0x68
mov byte [ebp - 0xb5], 0xf8
mov byte [ebp - 0xb4], 0x9d
mov byte [ebp - 0xb3], 4
mov byte [ebp - 0xb2], 0
mov byte [ebp - 0xb1], 0x29
mov byte [ebp - 0xb0], 0x99
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x10c]
or eax, 0x51
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
and ecx, 0x51
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x40], 0
jmp 0x1003a42f
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5d
jae 0x1003a4f2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x10c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1003a476
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x10c]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x10c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1003a427
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x10b]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x10e]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x1003a427
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x10666e48]
and eax, 4
jne 0x1003a538
mov eax, dword [0x10666e48]
or eax, 4
mov dword [0x10666e48], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x10666e08
call fcn.10022e6d
push 0x10076566
call fcn.1005d2b6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x6c], 0
jmp 0x1003a545
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jae 0x1003a555
mov eax, dword [ebp - 0x6c]
mov byte [ebp + eax - 0x2c], 0
jmp 0x1003a53e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10666e6c]
cmp eax, ecx
je 0x1003a575
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1003a55b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x184]
call fcn.1003ada7
mov dword [ebp - 4], 6
push 0x10666e08
lea ecx, [ebp - 0x184]
call fcn.10022eff
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x184]
call fcn.1002fa32
push dword [eax]
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x184]
call fcn.1002fa1e
push dword [eax]
lea ecx, [ebp - 0x1b4]
call fcn.1003add0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1b4]
push eax
call fcn.100319c3
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1003a66b
push dword [ebp - 0x28]
lea ecx, [ebp - 0x19c]
call fcn.10022e6d
mov byte [ebp - 4], 8
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x19c]
call fcn.1003109a
movzx eax, al
test eax, eax
je 0x1003a63e
push 0
push dword [ebp - 0x144]
push 0
push dword [ebp - 0x110]
call fcn.1003993e
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1003a65a
push 1
push 0
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x110]
call fcn.1003993e
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.10022ef5
jmp 0x1003a69e
cmp dword [ebp + 0x10], 0
jne 0x1003a681
mov ecx, dword [ebp + 0xc]
call fcn.10022f10
mov dword [ebp - 0x11c], eax
jmp 0x1003a68b
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x11c]
push dword [ebp + 8]
call fcn.100390dc
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.1002f453
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.10022ef5
mov eax, dword [ebp - 0x20]
jmp 0x1003a6c3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret