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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b61b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2fc
push esi
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1003c2de
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x188], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
movzx eax, byte [eax]
test eax, eax
je 0x1003c2ae
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003aed1
jmp 0x1003c42f
mov eax, dword [ebp - 0x114]
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 0x1003aef0
jmp 0x1003c42f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1003af0e
jmp 0x1003c42f
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 - 0x5c], eax
and dword [ebp - 0xe8], 0
jmp 0x1003af42
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x28
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xe8], eax
jge 0x1003afe7
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x104]
jb 0x1003afe2
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x5c]
push dword [eax + 8]
call fcn.1003a03e
pop ecx
pop ecx
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1d0]
jae 0x1003afe2
push 0x56a4
push 1
push 0x3ccb
push 0x305a
push 0xb35
push 0x438d
push 0x768e
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x422f
push 0x24a7
push 0
push 0x7b5
push 0x45e9
call fcn.1003abe1
add esp, 0x38
jmp 0x1003afe7
jmp 0x1003af2c
cmp dword [ebp - 0x20], 0
jne 0x1003aff2
jmp 0x1003c42f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
call fcn.10031afe
push eax
call fcn.1005377a
pop ecx
mov byte [ebp - 0x94], 8
mov byte [ebp - 0x93], 0xd5
mov byte [ebp - 0x92], 5
mov byte [ebp - 0x91], 1
mov byte [ebp - 0x90], 1
mov byte [ebp - 0x8f], 4
mov byte [ebp - 0x8e], 4
mov byte [ebp - 0x8d], 0xd
mov byte [ebp - 0x8c], 0
mov byte [ebp - 0x8b], 9
mov byte [ebp - 0x8a], 9
mov byte [ebp - 0x89], 1
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 3
mov byte [ebp - 0x85], 6
mov byte [ebp - 0x84], 2
mov byte [ebp - 0x83], 0
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0x5f
mov byte [ebp - 0x80], 0xc5
mov byte [ebp - 0x7f], 0xb0
mov byte [ebp - 0x7e], 0x14
mov byte [ebp - 0x7d], 0x42
mov byte [ebp - 0x7c], 0x20
mov byte [ebp - 0x7b], 0x40
mov byte [ebp - 0x7a], 0x9c
mov byte [ebp - 0x79], 0xc9
mov byte [ebp - 0x78], 7
mov byte [ebp - 0x77], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x94]
or eax, 0xe5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
and ecx, 0xe5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x138], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xdc], 0
jmp 0x1003b118
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1e
jae 0x1003b1ce
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x94]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1003b162
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x94]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1003b110
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x93]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xdc]
movzx ecx, byte [ebp + ecx - 0x96]
movsx ecx, byte [ebp + ecx - 0x138]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x93]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xdc]
movzx edx, byte [ebp + edx - 0x96]
movsx edx, byte [ebp + edx - 0x138]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x94]
mov byte [ebp + ecx - 0x138], al
and dword [ebp - 0xdc], 0
jmp 0x1003b110
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x138], 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x308]
call fcn.1003e3c2
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1e0]
call fcn.10031ac3
pop ecx
mov dword [ebp - 0x1cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.1003e44a
and dword [ebp - 0xd0], 0
jmp 0x1003b23f
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xb
jae 0x1003b258
mov eax, dword [ebp - 0xd0]
mov byte [ebp + eax - 0x138], 0
jmp 0x1003b232
mov byte [ebp - 0xc0], 1
mov byte [ebp - 0xbf], 0x27
mov byte [ebp - 0xbe], 3
mov byte [ebp - 0xbd], 4
mov byte [ebp - 0xbc], 0x17
mov byte [ebp - 0xbb], 0x30
mov byte [ebp - 0xba], 0x54
mov byte [ebp - 0xb9], 0xf2
mov byte [ebp - 0xb8], 0x79
mov byte [ebp - 0xb7], 0xed
mov byte [ebp - 0xb6], 0xb1
mov byte [ebp - 0xb5], 0x96
mov byte [ebp - 0xb4], 0xe6
mov byte [ebp - 0xb3], 0x98
mov byte [ebp - 0xb2], 0x6f
mov byte [ebp - 0xb1], 0x65
mov byte [ebp - 0xb0], 0x90
mov byte [ebp - 0xaf], 0x34
mov byte [ebp - 0xae], 0x3c
mov byte [ebp - 0xad], 0x6e
mov byte [ebp - 0xac], 0x58
mov byte [ebp - 0xab], 0x35
mov byte [ebp - 0xaa], 0xab
mov byte [ebp - 0xa9], 0x54
mov byte [ebp - 0xa8], 0x62
mov byte [ebp - 0xa7], 0x49
mov byte [ebp - 0xa6], 0x31
mov byte [ebp - 0xa5], 0xe
mov byte [ebp - 0xa4], 8
mov byte [ebp - 0xa3], 2
mov byte [ebp - 0xa2], 9
mov byte [ebp - 0xa1], 0
mov byte [ebp - 0xa0], 7
mov byte [ebp - 0x9f], 6
mov byte [ebp - 0x9e], 4
mov byte [ebp - 0x9d], 2
mov byte [ebp - 0x9c], 6
mov byte [ebp - 0x9b], 0xd
mov byte [ebp - 0x9a], 2
mov byte [ebp - 0x99], 0xe
mov byte [ebp - 0x98], 5
mov byte [ebp - 0x97], 6
mov byte [ebp - 0x96], 0
mov byte [ebp - 0x95], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc0]
or eax, 0x11
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc0]
and ecx, 0x11
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc0]
mov byte [ebp + ecx - 0x12c], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x64], 0
jmp 0x1003b3da
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2c
jae 0x1003b4a9
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1003b421
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xc0]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xc0]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1003b3d2
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xbf]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x64]
movzx ecx, byte [ebp + ecx - 0xc2]
movsx ecx, byte [ebp + ecx - 0x12c]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xbf]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xc2]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xbf]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
movzx edx, byte [ebp + edx - 0xc2]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0xc0]
mov byte [ebp + ecx - 0x12c], al
and dword [ebp - 0x64], 0
jmp 0x1003b3d2
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.1003e3c2
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1f0]
call fcn.10031ac3
pop ecx
mov dword [ebp - 0x1f8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d8]
call fcn.1003e44a
and dword [ebp - 0xd8], 0
jmp 0x1003b51d
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xb
jae 0x1003b536
mov eax, dword [ebp - 0xd8]
mov byte [ebp + eax - 0x12c], 0
jmp 0x1003b510
push dword [ebp - 0x1f8]
push dword [ebp - 0x1cc]
call fcn.100388fc
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xfc]
mov dword [eax + 8], ecx
push 0x20cd
push 1
push 0x2176
push 0
push 0x6c9
push 0x46ae
lea eax, [ebp - 0xfc]
push eax
push 0x3458
lea eax, [ebp - 0x18]
push eax
push 0x4bad
push 0x677c
call fcn.1003a5ac
add esp, 0x2c
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x272d
push 0
push 0x7782
push 0x25d5
call fcn.1003a0c5
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
and dword [ebp - 0xe0], 0
jmp 0x1003b5e7
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x58]
jge 0x1003b6b5
lea eax, [ebp - 0xe0]
push eax
push 1
push 0x3279
push 0
push 0x74df
push 0x6882
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0x68ab
push 0x101b
lea eax, [ebp - 0x5c]
push eax
push 0x19aa
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1907
call fcn.1003a201
add esp, 0x3c
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4ccc
push 0x78bd
push 0x751f
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x1c4]
push eax
push 0x3d4c
call fcn.1003a940
add esp, 0x28
push 0x553e
push 1
push 0x3cb3
push 0x51a2
push 0x4024
push 0xc82
push 0x111a
lea eax, [ebp - 0x10]
push eax
push 0x2c7d
push 0x64d
push 0
push 1
call fcn.1003ae4f
add esp, 0x30
jmp 0x1003b5da
mov dword [ebp - 0x154], 0x1875
cmp dword [ebp - 0x154], 0x741
jge 0x1003bba3
mov dword [ebp - 0x218], 4
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x1e4]
push eax
push 0x1000b364
call fcn.100527da
add esp, 0xc
push 0x1000b5a0
lea ecx, [ebp - 0x150]
call fcn.1000d04d
mov dword [ebp - 4], 2
and dword [ebp - 0xf4], 0
jmp 0x1003b71e
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x1e4]
jge 0x1003bb78
push 0x1000b0d9
lea ecx, [ebp - 0x278]
call fcn.1000d04d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x278]
push eax
push 4
lea ecx, [ebp - 0x40]
call fcn.1003e524
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.1000d09f
and dword [ebp - 0xcc], 0
jmp 0x1003b77a
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 4
jge 0x1003b899
lea ecx, [ebp - 0x214]
call fcn.1000d03c
mov byte [ebp - 4], 6
lea edx, [ebp - 0x214]
mov ecx, 0x1065b710
call fcn.10030817
and dword [ebp - 0xf0], 0
lea ecx, [ebp - 0x214]
call fcn.1000d735
dec eax
mov dword [ebp - 0x34], eax
jmp 0x1003b7c5
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1003b885
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
mov al, byte [eax]
movzx eax, al
push eax
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov ecx, eax
call fcn.1000eab9
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
movsx eax, byte [eax]
cmp eax, 0x61
je 0x1003b866
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
movsx eax, byte [eax]
cmp eax, 0x65
je 0x1003b866
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
movsx eax, byte [eax]
cmp eax, 0x69
je 0x1003b866
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
movsx eax, byte [eax]
cmp eax, 0x6f
je 0x1003b866
push dword [ebp - 0x34]
lea ecx, [ebp - 0x214]
call fcn.1000eca0
movsx eax, byte [eax]
cmp eax, 0x75
jne 0x1003b873
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x68]
jl 0x1003b880
jmp 0x1003b885
jmp 0x1003b7be
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x214]
call fcn.1000d09f
jmp 0x1003b76d
push 0
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov ecx, eax
call fcn.1000d735
cmp eax, dword [ebp - 0x68]
jb 0x1003b8f1
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov ecx, eax
call fcn.1000d735
cmp eax, dword [ebp - 0x68]
jb 0x1003b8f1
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov ecx, eax
call fcn.1000d735
cmp eax, dword [ebp - 0x68]
jb 0x1003b8f1
push 3
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov ecx, eax
call fcn.1000d735
cmp eax, dword [ebp - 0x68]
jae 0x1003b917
push 0x1000b2b0
lea ecx, [ebp - 0x150]
call fcn.1002f662
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1002ff8b
jmp 0x1003bb78
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 0
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003b99f
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003b99f
push 3
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003b99f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1002ff8b
jmp 0x1003b711
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 0
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003ba2e
push 3
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003ba2e
mov edx, 0x1000b5a0
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
jne 0x1003ba19
mov edx, 0x1000b5a8
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
je 0x1003ba2e
push 0x1000b5a8
lea ecx, [ebp - 0x150]
call fcn.1002f662
jmp 0x1003bb67
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 0
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003babd
push 3
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003babd
mov edx, 0x1000b5a0
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
jne 0x1003baa8
mov edx, 0x1000b5b0
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
je 0x1003babd
push 0x1000b5b0
lea ecx, [ebp - 0x150]
call fcn.1002f662
jmp 0x1003bb67
push 3
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 0
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003bb49
push 2
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov esi, eax
push 1
lea ecx, [ebp - 0x40]
call fcn.1002ff90
mov edx, esi
mov ecx, eax
call fcn.10030b34
movzx eax, al
test eax, eax
je 0x1003bb49
mov edx, 0x1000b5a0
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
jne 0x1003bb37
mov edx, 0x1000b5b8
lea ecx, [ebp - 0x150]
call fcn.1003f003
movzx eax, al
test eax, eax
je 0x1003bb49
push 0x1000b5b8
lea ecx, [ebp - 0x150]
call fcn.1002f662
jmp 0x1003bb67
push 0x1000b2b0
lea ecx, [ebp - 0x150]
call fcn.1002f662
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1002ff8b
jmp 0x1003bb78
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1002ff8b
jmp 0x1003b711
push fcn.10010bca
lea edx, [ebp - 0x150]
mov ecx, 0x1065b658
call fcn.1003067a
mov ecx, eax
call fcn.1000d2b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.1000d09f
push 0x72e6
push 0
push 0x129f
push 0x18ca
push 0x44d4
lea eax, [ebp - 0x6c]
push eax
push 0x4103
push 0x78dd
push 0xe5d
lea eax, [ebp - 0x18]
push eax
push 1
push 0
call fcn.1003ae4f
add esp, 0x30
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
and dword [ebp - 0xe4], 0
jmp 0x1003bbfe
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x58]
jge 0x1003bc3c
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
and dword [ecx + eax], 0
push 0x65b1
push 0x7d54
push 1
push 0x2e70
push 0
lea eax, [ebp - 0x10]
push eax
push 0x2519
call fcn.1003a0c5
add esp, 0x1c
jmp 0x1003bbf1
push 0x23ef
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
push 0x2b45
push 0x2213
lea eax, [ebp - 0x10]
push eax
push 0x675
push 0x149
push 1
push 0x2ede
call fcn.1003aa2c
add esp, 0x2c
push 0x3a0c
push 1
push 0
push 0x2168
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x47fe
push 0x1931
push 0x329c
push 0x3984
push 0x393e
call fcn.1003ad5e
add esp, 0x2c
push 0x720
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x39bb
push 0x494f
push 0x7644
push 0x331
lea eax, [ebp - 0x58]
push eax
push 0x6031
lea eax, [ebp - 0x10]
push eax
push 0x6cc8
push 0x47bb
lea eax, [ebp - 0x18]
push eax
call fcn.1003a201
add esp, 0x3c
mov eax, dword [ebp - 0x58]
shl eax, 1
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1003e3c2
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.1000d735
mov dword [ebp - 0x118], eax
push dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
shr eax, 1
push eax
call fcn.100388fc
pop ecx
pop ecx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], 0x81
mov byte [ebp - 0x52], 2
mov byte [ebp - 0x51], 8
mov byte [ebp - 0x50], 4
mov byte [ebp - 0x4f], 0xb
mov byte [ebp - 0x4e], 0xf7
mov byte [ebp - 0x4d], 0x67
mov byte [ebp - 0x4c], 0xcb
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 0x42
mov byte [ebp - 0x49], 3
mov byte [ebp - 0x48], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x54]
or eax, 0xe5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x54]
and ecx, 0xe5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x54]
mov byte [ebp + ecx - 0x74], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xd4], 0
jmp 0x1003bdc8
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xd
jae 0x1003be5d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x54]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1003be09
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x54]
inc eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x54]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1003bdc0
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x53]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xd4]
movzx ecx, byte [ebp + ecx - 0x56]
movsx ecx, byte [ebp + ecx - 0x74]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x53]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xd4]
movzx edx, byte [ebp + edx - 0x56]
movsx edx, byte [ebp + edx - 0x74]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x54]
mov byte [ebp + ecx - 0x74], al
and dword [ebp - 0xd4], 0
jmp 0x1003bdc0
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x74], 0
cmp dword [ebp - 0x60], 4
jle 0x1003bf1f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.1003e3c2
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
sub eax, 4
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.10038c42
pop ecx
pop ecx
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x170]
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x2c0]
call fcn.1003f025
pop ecx
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x120], eax
jmp 0x1003bf4b
push dword [ebp - 0x60]
lea eax, [ebp - 0x290]
push eax
call fcn.10038c42
pop ecx
pop ecx
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x248]
call fcn.1003e3f1
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1003bf86
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x290]
call fcn.1003e44a
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1003bfa1
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x2c0]
call fcn.1003e44a
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1003bfbc
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x2f0]
call fcn.1003e44a
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1003bfd7
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x2a8]
call fcn.1003e44a
and dword [ebp - 0xc8], 0
jmp 0x1003bfed
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 5
jae 0x1003c003
mov eax, dword [ebp - 0xc8]
mov byte [ebp + eax - 0x74], 0
jmp 0x1003bfe0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
push 0x7694
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x590f
push 0x45dd
push 0x7d5f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1003a5ac
add esp, 0x2c
push 1
push 0x67e2
push 0x457
lea eax, [ebp - 0x60]
push eax
push 0xe3a
push 0x23c4
push 0x7d7c
push 1
push 0xe1d
lea eax, [ebp - 0x10]
push eax
call fcn.1003a940
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
push 0x620d
push 1
push 0x5283
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x42ce
push 0x287
push 0x2a18
push 1
push 0x2035
call fcn.1003aa2c
add esp, 0x2c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
jbe 0x1003c110
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1003c0e4
mov dword [ebp - 0xf8], 0xc
jmp 0x1003c102
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
jmp 0x1003c117
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
and dword [ebp - 0xc4], 0
jmp 0x1003c139
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax + 0x18]
jae 0x1003c207
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x108]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100388fc
pop ecx
pop ecx
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
lea eax, [ebp - 0x260]
push eax
call fcn.10038c42
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
lea eax, [ebp - 0x260]
push eax
push 0
push 0x7e49
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x12
lea eax, [ebp - 0xec]
push eax
push 0x60a1
lea eax, [ebp - 0x24]
push eax
push 0x1367
push 1
push 1
call fcn.1003ae4f
add esp, 0x30
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xec]
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], 0xe
lea ecx, [ebp - 0x260]
call fcn.1003e44a
jmp 0x1003c12c
and dword [ebp - 0x110], 0
push 0x5957
push 1
push 0xb91
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push 0xf68
push 0x2fcb
push 0x7af2
push 0xcb5
push 1
lea eax, [ebp - 0x110]
push eax
push 0x6f56
call fcn.1003abe1
add esp, 0x38
lea eax, [ebp - 0x30]
push eax
push 1
push 1
push 0x8c8
push 0x4a05
push 0x244d
push 0x6a38
push 0x7708
push 0x2cd5
push 0x719c
lea eax, [ebp - 0x110]
push eax
call fcn.1003ad5e
add esp, 0x2c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.1003e44a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.1003e44a
jmp 0x1003c2d9
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0x10c]
mov dword [ecx], eax
jmp 0x1003c42f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x16c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x190]
movzx eax, byte [eax]
test eax, eax
je 0x1003c3e1
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1bc], eax
push 0
mov eax, dword [ebp - 0x1bc]
push dword [eax]
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x158]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x15c]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.1003e465
jmp 0x1003c42f
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18c]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret