Function at 0x1003b463
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007142e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2a4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003c681
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x1003c5f1
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x138], 0x21d8
cmp dword [ebp - 0x138], 0xc94
jge 0x1003b69e
lea ecx, [ebp - 0x1ac]
call fcn.10017833
and dword [ebp - 4], 0
and dword [ebp - 0xa4], 0
lea edx, [ebp - 0x1ac]
mov ecx, 0x10618810
call fcn.10036c0d
lea ecx, [ebp - 0x1ac]
call fcn.10017844
push eax
call fcn.1005b2cd
pop ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0x114], 0
je 0x1003b68f
lea edx, [ebp - 0x1ac]
mov ecx, 0x10618810
call fcn.10036c0d
push 0
push 0x100087fc
lea ecx, [ebp - 0x1ac]
call fcn.1003c864
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jne 0x1003b591
mov dword [ebp - 0xe8], 1
jmp 0x1003b598
and dword [ebp - 0xe8], 0
mov al, byte [ebp - 0xe8]
mov byte [ebp - 0x2e], al
lea ecx, [ebp - 0x1ac]
call fcn.10009f89
cmp eax, 5
jb 0x1003b61a
push dword [0x10007b9c]
lea ecx, [ebp - 0x1ac]
call fcn.10009f89
sub eax, 5
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.1003c886
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov edx, 0x10008804
mov ecx, dword [ebp - 0x164]
call fcn.1003cedd
movzx eax, al
test eax, eax
je 0x1003b61a
mov dword [ebp - 0xd8], 1
jmp 0x1003b621
and dword [ebp - 0xd8], 0
mov al, byte [ebp - 0xd8]
mov byte [ebp - 0x2d], al
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1003b645
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x29c]
call fcn.10009e72
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1003b662
movzx eax, byte [ebp - 0x2d]
test eax, eax
jne 0x1003b662
push 0x1000880c
call fcn.10059952
pop ecx
jmp 0x1003b68a
movzx eax, byte [ebp - 0x2e]
test eax, eax
jne 0x1003b67f
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1003b67f
push 0x10008818
call fcn.10059952
pop ecx
jmp 0x1003b68a
push 0x10008820
call fcn.10059952
pop ecx
jmp 0x1003b52e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10009e72
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1003b6bc
jmp 0x1003c6b3
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1003b6db
jmp 0x1003c6b3
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 0x1003b6f9
jmp 0x1003c6b3
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 0x3342
lea eax, [ebp - 0x44]
push eax
push 1
push 0x3d7a
lea eax, [ebp - 0x28]
push eax
push 0x2261
push 0x7f81
push 0x4268
lea eax, [ebp - 0xf4]
push eax
push 0x6cfb
call fcn.1003a5b9
add esp, 0x30
cmp dword [ebp - 0x28], 0
jne 0x1003b759
jmp 0x1003c6b3
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
call fcn.100374c3
push eax
call fcn.1005b66b
pop ecx
mov byte [ebp - 0x68], 9
mov byte [ebp - 0x67], 0xc6
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 7
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 6
mov byte [ebp - 0x62], 4
mov byte [ebp - 0x61], 9
mov byte [ebp - 0x60], 8
mov byte [ebp - 0x5f], 8
mov byte [ebp - 0x5e], 5
mov byte [ebp - 0x5d], 1
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x59], 4
mov byte [ebp - 0x58], 3
mov byte [ebp - 0x57], 2
mov byte [ebp - 0x56], 7
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], 0x37
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0xf6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0xf6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x104], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0x8c], 0
jmp 0x1003b81a
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jae 0x1003b8f2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x1003b85b
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x1003b812
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0x104]
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x104]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x104]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x104], al
lea eax, [ebp - 0x8c]
push eax
push 1
push 0x26a7
push 1
push 0x55a7
push 0
call fcn.1003a8d8
add esp, 0x18
jmp 0x1003b812
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1003c8b5
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x190], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x190]
call fcn.10037488
pop ecx
mov dword [ebp - 0x188], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.10017ca5
and dword [ebp - 0xb8], 0
jmp 0x1003b966
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x1003b97f
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x104], 0
jmp 0x1003b959
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 0xa1
mov byte [ebp - 0x7e], 6
mov byte [ebp - 0x7d], 0xe
mov byte [ebp - 0x7c], 1
mov byte [ebp - 0x7b], 0xf
mov byte [ebp - 0x7a], 3
mov byte [ebp - 0x79], 0x49
mov byte [ebp - 0x78], 0x43
mov byte [ebp - 0x77], 0xc5
mov byte [ebp - 0x76], 8
mov byte [ebp - 0x75], 6
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x73], 1
mov byte [ebp - 0x72], 5
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x70], 7
mov byte [ebp - 0x6f], 7
mov byte [ebp - 0x6e], 9
mov byte [ebp - 0x6d], 6
mov byte [ebp - 0x6c], 3
mov byte [ebp - 0x6b], 2
mov byte [ebp - 0x6a], 4
mov byte [ebp - 0x69], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x80]
or eax, 0x96
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
and ecx, 0x96
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0x110], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x90], 0
jmp 0x1003ba2c
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jae 0x1003bb0d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x80]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1003ba6d
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x80]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x80]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1003ba24
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x7f]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x90]
movzx ecx, byte [ebp + ecx - 0x82]
movsx ecx, byte [ebp + ecx - 0x110]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x7f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x90]
movzx edx, byte [ebp + edx - 0x82]
movsx edx, byte [ebp + edx - 0x110]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x7f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x90]
movzx edx, byte [ebp + edx - 0x82]
movsx edx, byte [ebp + edx - 0x110]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x80]
mov byte [ebp + ecx - 0x110], al
push 0x158
push 1
lea eax, [ebp - 0x90]
push eax
push 1
push 0x697
push 1
call fcn.1003a8d8
add esp, 0x18
jmp 0x1003ba24
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x20c]
call fcn.1003c8b5
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x178]
call fcn.10037488
pop ecx
mov dword [ebp - 0x12c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.10017ca5
and dword [ebp - 0xc0], 0
jmp 0x1003bb81
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xb
jae 0x1003bb9a
mov eax, dword [ebp - 0xc0]
mov byte [ebp + eax - 0x110], 0
jmp 0x1003bb74
push dword [ebp - 0x12c]
push dword [ebp - 0x188]
call fcn.100384ce
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
push 0x26b5
push 0x2ba7
lea eax, [ebp - 0x44]
push eax
push 0x3e64
push 1
push 1
lea eax, [ebp - 0xd0]
push eax
call fcn.10038741
add esp, 0x1c
push 1
push 0x200
push 0x57e6
lea eax, [ebp - 0xd0]
push eax
push 0x9c5
push 0
push 0x6dc9
push 0x335b
lea eax, [ebp - 0x1c]
push eax
call fcn.1003afea
add esp, 0x24
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x1003bc44
lea eax, [ebp - 0x1c]
push eax
push 0xe16
push 1
push 0x3e73
lea eax, [ebp - 0x88]
push eax
push 1
push 0x7446
push 0x478
call fcn.1003886b
add esp, 0x20
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xbc], 0
jmp 0x1003bc72
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x48]
jge 0x1003be5c
push 1
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10038a33
add esp, 0x20
push 1
push 0
lea eax, [ebp - 0x28]
push eax
push 0x5920
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x134]
push eax
push 0x93d
push 0x6177
lea eax, [ebp - 0x2c]
push eax
call fcn.1003b369
add esp, 0x24
mov dword [ebp - 0xec], 0x62d8
mov dword [ebp - 0x13c], 0x10008838
cmp dword [ebp - 0xec], 0x65d4
jle 0x1003bdd5
and dword [ebp - 0x98], 0
jmp 0x1003bd16
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x6c89
jge 0x1003bdd5
and dword [ebp - 0xa8], 0
jmp 0x1003bd3c
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x6e7a
jge 0x1003bdd0
and dword [ebp - 0xb0], 0
jmp 0x1003bd62
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x47ff
jge 0x1003bdcb
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xb0]
xor eax, dword [ebp - 0x98]
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
lea ecx, [ebp - 0x26c]
call fcn.1000a9f3
pop ecx
pop ecx
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x180]
call fcn.10017844
push eax
call fcn.1005968a
pop ecx
lea ecx, [ebp - 0x26c]
call fcn.10009e72
jmp 0x1003bd55
jmp 0x1003bd2f
jmp 0x1003bd09
mov dword [ebp - 4], 4
cmp dword [ebp - 0xec], 0x611d
jge 0x1003bdf4
push dword [ebp - 0x13c]
call fcn.1005968a
pop ecx
jmp 0x1003be10
or dword [ebp - 4], 0xffffffff
jmp 0x1003be1a
push 0x5c92
push 0
push 0x348e
push 0x1cd6
push 1
push 0x4d4e
push 0x588c
push 0x3c45
push 0x6c20
push 0x794b
push 0x4730
lea eax, [ebp - 0x18]
push eax
call fcn.1003a5b9
add esp, 0x30
jmp 0x1003bc65
push 0x4728
push 1
push 0x535b
push 0xbbc
push 1
push 1
push 0x6dd7
push 0x5c71
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4316
call fcn.10038c4d
add esp, 0x2c
lea eax, [ebp - 0x88]
push eax
push 0x51f1
push 1
lea eax, [ebp - 0x48]
push eax
push 0xb35
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.10039ac9
add esp, 0x20
and dword [ebp - 0xc4], 0
jmp 0x1003bed0
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x48]
jge 0x1003bf2c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push 1
push 1
push 0x62b4
call fcn.10039cab
add esp, 0x1c
push 0x733f
push 1
push 0x3c5e
push 0x58ef
push 0x484
push 0x5fd9
lea eax, [ebp - 0x18]
push eax
push 1
push 0x3af7
push 1
call fcn.1003a991
add esp, 0x28
jmp 0x1003bec3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
call fcn.1003aa91
add esp, 0x14
push 0x6104
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
push 1
call fcn.10039ddf
add esp, 0x14
and dword [ebp - 0xb4], 0
jmp 0x1003bf76
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x48]
jge 0x1003bfd4
lea eax, [ebp - 0x28]
push eax
push 0x2cca
lea eax, [ebp - 0xb4]
push eax
push 1
push 0x1e0a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1003ab4e
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
push 0x6649
push 0xe55
push 0x21d7
push 1
push 0
push 0x1d39
call fcn.1003ad2b
add esp, 0x1c
jmp 0x1003bf69
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x6dc5
push 0xe82
push 1
push 0x2f9b
push 0x3092
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7d49
push 1
call fcn.10039f7a
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1f4]
call fcn.1003c8b5
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x1f4]
call fcn.10009f89
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
shr eax, 1
push eax
call fcn.100384ce
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x40], 1
mov byte [ebp - 0x3f], 0xba
mov byte [ebp - 0x3e], 2
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 3
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0xde
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0xde
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x50], al
mov dword [ebp - 0x38], 2
and dword [ebp - 0xc8], 0
jmp 0x1003c0bd
mov eax, dword [ebp - 0x38]
inc eax
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 8
jae 0x1003c12c
mov eax, dword [ebp - 0x38]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0xc8]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xc8]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xc8]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x50], al
jmp 0x1003c0b5
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x50], 0
cmp dword [ebp - 0x84], 4
jle 0x1003c1f4
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1003c8b5
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x84]
sub eax, 4
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100385bc
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
push dword [ebp - 0x174]
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x254]
call fcn.1003cf3b
pop ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xf0], eax
jmp 0x1003c223
push dword [ebp - 0x84]
lea eax, [ebp - 0x224]
push eax
call fcn.100385bc
pop ecx
pop ecx
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x14]
or eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x160], eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x1c4]
call fcn.1003c8d8
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
and eax, 0x10
je 0x1003c25e
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x224]
call fcn.10017ca5
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1003c279
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x254]
call fcn.10017ca5
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1003c294
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x284]
call fcn.10017ca5
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1003c2af
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x2b4]
call fcn.10017ca5
and dword [ebp - 0xac], 0
jmp 0x1003c2c5
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 5
jae 0x1003c2db
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x50], 0
jmp 0x1003c2b8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c4]
call fcn.1003c931
push 0x2408
push 0x3b4f
push 1
push 0
push 0x3228
push 0x2105
push 0x1214
lea eax, [ebp - 0x18]
push eax
push 1
push 0x51a3
push 0xa46
lea eax, [ebp - 0x84]
push eax
call fcn.1003aec9
add esp, 0x30
push 0x33f2
push 0x2ccd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1003ad2b
add esp, 0x1c
push 0x6500
push 0x6fb9
push 1
push 1
push 0xcb2
lea eax, [ebp - 0x18]
push eax
push 0x91f
push 0x1dcb
push 1
push 0x3ea
push 0x589c
push 0x7378
call fcn.1003aec9
add esp, 0x30
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x1003c3fa
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1003c3ce
mov dword [ebp - 0xe4], 0xc
jmp 0x1003c3ec
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
jmp 0x1003c401
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd4], eax
and dword [ebp - 0x9c], 0
jmp 0x1003c423
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x18]
jae 0x1003c56d
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100384ce
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
lea eax, [ebp - 0x1dc]
push eax
call fcn.100385bc
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x9c]
push eax
push 1
push 0x5fd9
lea eax, [ebp - 0x1c]
push eax
push 0x478f
push 0x1a09
call fcn.1003b0c8
add esp, 0x28
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 1
lea eax, [ebp - 0xcc]
push eax
push 0x1a2e
lea eax, [ebp - 0x28]
push eax
push 0x4c51
push 0
push 0x5cb2
lea eax, [ebp - 0x18]
push eax
push 0x5709
call fcn.1003aec9
add esp, 0x30
push 1
push 0x347b
push 1
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x7f44
push 1
call fcn.1003b1db
add esp, 0x1c
push 1
push 1
push 0x5b17
lea eax, [ebp - 0x2c]
push eax
push 0x5fc0
push 0x6647
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x17f5
call fcn.1003b369
add esp, 0x24
push 0x100a
push 0
lea eax, [ebp - 0x18]
push eax
push 0x3987
push 0x2b11
push 0x31ef
push 0xde3
push 1
push 0x51aa
push 1
call fcn.1003a991
add esp, 0x28
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1dc]
call fcn.10017ca5
jmp 0x1003c416
and dword [ebp - 0x94], 0
jmp 0x1003c583
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x94], eax
jae 0x1003c5bc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x94]
push eax
push 1
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a50b
add esp, 0x18
jmp 0x1003c576
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c4]
call fcn.10017ca5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10017ca5
jmp 0x1003c67f
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
jmp 0x1003c640
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 2
jg 0x1003c67f
mov dword [ebp - 0x120], 0x6deec541
push dword [ebp - 0x118]
push 0x2888
push 0x5370
lea eax, [ebp - 0x120]
push eax
push 1
push 0
push 0xda7
call fcn.10038741
add esp, 0x1c
jmp 0x1003c62f
jmp 0x1003c6b3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
push 0x30d7
push 0x30d
push 0
push 0xf5e
push 0x36fe
push dword [ebp - 0x128]
push 0x53c
call fcn.1003b09a
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret