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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f20e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
cmp dword [ebp + 0x10], 0
jbe 0x1003a73d
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003a73d
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10039ea6
pop ecx
pop ecx
jmp 0x1003b2fa
cmp dword [ebp + 0x10], 0
jne 0x1003ac7e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1002fd57
mov dword [ebp - 0xc8], eax
cmp dword [0x10671520], 0
jne 0x1003ac4c
mov dword [ebp - 0x11c], 0x9c30
lea eax, [ebp - 0x11c]
push eax
call fcn.10039ce4
pop ecx
mov dword [ebp - 0xd8], eax
mov byte [ebp - 0x68], 4
mov byte [ebp - 0x67], 0x74
mov byte [ebp - 0x66], 6
mov byte [ebp - 0x65], 0x16
mov byte [ebp - 0x64], 2
mov byte [ebp - 0x63], 7
mov byte [ebp - 0x62], 3
mov byte [ebp - 0x61], 0x22
mov byte [ebp - 0x60], 5
mov byte [ebp - 0x5f], 0x24
mov byte [ebp - 0x5e], 4
mov byte [ebp - 0x5d], 0xea
mov byte [ebp - 0x5c], 0x31
mov byte [ebp - 0x5b], 0x3a
mov byte [ebp - 0x5a], 0xb1
mov byte [ebp - 0x59], 0xb
mov byte [ebp - 0x58], 0xa
mov byte [ebp - 0x57], 7
mov byte [ebp - 0x56], 0x11
mov byte [ebp - 0x55], 0xc
mov byte [ebp - 0x54], 0x3e
mov byte [ebp - 0x53], 8
mov byte [ebp - 0x52], 0x38
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 0x28
mov byte [ebp - 0x4f], 0xa
mov byte [ebp - 0x4e], 2
mov byte [ebp - 0x4d], 1
mov byte [ebp - 0x4c], 0x20
mov byte [ebp - 0x4b], 9
mov byte [ebp - 0x4a], 0xb
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0x11
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0x11
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0xf0], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1003a843
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1f
jae 0x1003a8f4
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1003a881
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1003a83b
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0xf0]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0xf0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0xf0], al
and dword [ebp - 0x3c], 0
jmp 0x1003a83b
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10025cf4
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x108]
call fcn.1002fd57
mov dword [0x10671520], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.10025d7c
and dword [ebp - 0xc4], 0
jmp 0x1003a965
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xe
jae 0x1003a97e
mov eax, dword [ebp - 0xc4]
mov byte [ebp + eax - 0xf0], 0
jmp 0x1003a958
mov byte [ebp - 0xb4], 0xd
mov byte [ebp - 0xb3], 0xc5
mov byte [ebp - 0xb2], 0xc
mov byte [ebp - 0xb1], 0x24
mov byte [ebp - 0xb0], 8
mov byte [ebp - 0xaf], 0x1c
mov byte [ebp - 0xae], 6
mov byte [ebp - 0xad], 0x3f
mov byte [ebp - 0xac], 1
mov byte [ebp - 0xab], 0x22
mov byte [ebp - 0xaa], 2
mov byte [ebp - 0xa9], 0x17
mov byte [ebp - 0xa8], 5
mov byte [ebp - 0xa7], 0
mov byte [ebp - 0xa6], 0xa
mov byte [ebp - 0xa5], 0
mov byte [ebp - 0xa4], 3
mov byte [ebp - 0xa3], 4
mov byte [ebp - 0xa2], 9
mov byte [ebp - 0xa1], 2
mov byte [ebp - 0xa0], 0
mov byte [ebp - 0x9f], 0x20
mov byte [ebp - 0x9e], 7
mov byte [ebp - 0x9d], 0x31
mov byte [ebp - 0x9c], 0xb
mov byte [ebp - 0x9b], 1
mov byte [ebp - 0x9a], 4
mov byte [ebp - 0x99], 7
mov byte [ebp - 0x98], 0xc
mov byte [ebp - 0x97], 0xd6
mov byte [ebp - 0x96], 0x99
mov byte [ebp - 0x95], 0x75
mov byte [ebp - 0x94], 0xb5
mov byte [ebp - 0x93], 0x8c
mov byte [ebp - 0x92], 0xd1
mov byte [ebp - 0x91], 0xa3
mov byte [ebp - 0x90], 5
mov byte [ebp - 0x8f], 0x6e
mov byte [ebp - 0x8e], 0x11
mov byte [ebp - 0x8d], 0x30
mov byte [ebp - 0x8c], 0x29
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb4]
or eax, 0x92
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb4]
and ecx, 0x92
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb4]
mov byte [ebp + ecx - 0x100], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x44], 0
jmp 0x1003aaf0
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x29
jae 0x1003abbf
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1003ab37
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xb4]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xb4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1003aae8
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xb3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0xb6]
movsx ecx, byte [ebp + ecx - 0x100]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xb3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xb6]
movsx edx, byte [ebp + edx - 0x100]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xb3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0xb6]
movsx edx, byte [ebp + edx - 0x100]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xb4]
mov byte [ebp + ecx - 0x100], al
and dword [ebp - 0x44], 0
jmp 0x1003aae8
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x100], 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10025cf4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x114]
call fcn.1002fd57
mov dword [0x106715d8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.10025d7c
and dword [ebp - 0xbc], 0
jmp 0x1003ac33
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xf
jae 0x1003ac4c
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0x100], 0
jmp 0x1003ac26
mov eax, dword [0x10671520]
cmp eax, dword [ebp - 0xc8]
je 0x1003ac66
mov eax, dword [0x106715d8]
cmp eax, dword [ebp - 0xc8]
jne 0x1003ac7e
mov ecx, dword [ebp + 0xc]
call fcn.100092e7
push eax
push dword [ebp + 8]
call fcn.10039ea6
pop ecx
pop ecx
jmp 0x1003b2fa
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x1003b2f8
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1003b2f8
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
jne 0x1003b2f8
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x74], 0
jbe 0x1003b2f8
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + eax + 0x78], 0
je 0x1003b2f8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
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 0x1003ad2e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1003ad29
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1003aeca
mov eax, dword [0x1067161c]
and eax, 1
jne 0x1003ad65
mov eax, dword [0x1067161c]
or eax, 1
mov dword [0x1067161c], eax
mov dword [ebp - 4], 2
mov ecx, 0x10671620
call fcn.1003b6d1
push 0x10080838
call fcn.10066ae6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10671534]
test eax, eax
je 0x1003adce
mov ecx, 0x10671620
call fcn.1003b796
movzx eax, al
test eax, eax
jne 0x1003adce
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 0x10671620
call fcn.1003b79f
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x10671620
call fcn.1003b788
push eax
lea ecx, [ebp - 0xdc]
call fcn.1003b7ba
movzx eax, al
test eax, eax
je 0x1003adce
lea ecx, [ebp - 0xdc]
call fcn.1003b7b4
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003aeca
mov ecx, 0x10671620
call fcn.10008fec
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10671620
call fcn.1003b80b
and dword [ebp - 0x30], 0
jmp 0x1003ae00
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 0x1003aeca
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 - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x1003aec5
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x188]
call fcn.10025cf4
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x188]
call fcn.1002fd57
mov dword [ebp - 0xe0], eax
movzx eax, byte [0x10671534]
test eax, eax
je 0x1003ae7f
mov ecx, 0x10671620
call fcn.1003b796
movzx eax, al
test eax, eax
jne 0x1003ae9c
lea eax, [ebp - 0xe0]
push eax
mov ecx, 0x10671620
call fcn.1003b7cd
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10671534], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003aeb6
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xc8]
jne 0x1003aeb6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10025d7c
jmp 0x1003adf9
cmp dword [ebp + 0x10], 0
jne 0x1003aeea
cmp dword [ebp - 0x34], 0xffffffff
je 0x1003aeea
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 0x1003b2f8
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 - 0x104], eax
mov eax, dword [ebp - 0x104]
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 0x1003b2f3
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1003b2f3
mov eax, dword [0x1067161c]
and eax, 2
jne 0x1003af74
mov eax, dword [0x1067161c]
or eax, 2
mov dword [0x1067161c], eax
mov dword [ebp - 4], 4
push 0xae8c
call fcn.10045453
pop ecx
mov byte [0x10671660], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x88], 2
mov byte [ebp - 0x87], 0x13
mov byte [ebp - 0x86], 1
mov byte [ebp - 0x85], 0
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x83], 8
mov byte [ebp - 0x82], 0x19
mov byte [ebp - 0x81], 0xe7
mov byte [ebp - 0x80], 0x7f
mov byte [ebp - 0x7f], 0x63
mov byte [ebp - 0x7e], 0x94
mov byte [ebp - 0x7d], 0x99
mov byte [ebp - 0x7c], 0x82
mov byte [ebp - 0x7b], 0x5c
mov byte [ebp - 0x7a], 0xcf
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0xa5
mov byte [ebp - 0x77], 0x31
mov byte [ebp - 0x76], 0x76
mov byte [ebp - 0x75], 0xef
mov byte [ebp - 0x74], 0x55
mov byte [ebp - 0x73], 0x84
mov byte [ebp - 0x72], 0x2a
mov byte [ebp - 0x71], 0xdb
mov byte [ebp - 0x70], 0xdd
mov byte [ebp - 0x6f], 0x51
mov byte [ebp - 0x6e], 0x12
mov byte [ebp - 0x6d], 0xa7
mov byte [ebp - 0x6c], 0xa4
mov byte [ebp - 0x6b], 0x4f
mov byte [ebp - 0x6a], 0x99
mov byte [ebp - 0x69], 0xa1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0x7f
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0x7f
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x1003b057
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jae 0x1003b11a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x88]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003b09e
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x88]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x88]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003b04f
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x8a]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x8a]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x88]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x1003b04f
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x1067161c]
and eax, 4
jne 0x1003b160
mov eax, dword [0x1067161c]
or eax, 4
mov dword [0x1067161c], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x106715e0
call fcn.10025cf4
push 0x10080829
call fcn.10066ae6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xc0], 0
jmp 0x1003b176
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 4
jae 0x1003b18c
mov eax, dword [ebp - 0xc0]
mov byte [ebp + eax - 0x2c], 0
jmp 0x1003b169
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10671660]
cmp eax, ecx
je 0x1003b1ac
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1003b192
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x140]
call fcn.1003bea1
mov dword [ebp - 4], 6
push 0x106715e0
lea ecx, [ebp - 0x140]
call fcn.10025d86
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x140]
call fcn.1003b6b4
push dword [eax]
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x140]
call fcn.1003b6a0
push dword [eax]
lea ecx, [ebp - 0x170]
call fcn.1003beca
mov byte [ebp - 4], 7
lea eax, [ebp - 0x170]
push eax
call fcn.10032060
pop ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x1003b2a2
push dword [ebp - 0x28]
lea ecx, [ebp - 0x158]
call fcn.10025cf4
mov byte [ebp - 4], 8
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x158]
call fcn.10030bd3
movzx eax, al
test eax, eax
je 0x1003b275
push 0
push dword [ebp - 0x118]
push 0
push dword [ebp - 0xcc]
call fcn.1003a6fd
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1003b291
push 1
push 0
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0xcc]
call fcn.1003a6fd
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x158]
call fcn.10025d7c
jmp 0x1003b2d5
cmp dword [ebp + 0x10], 0
jne 0x1003b2b8
mov ecx, dword [ebp + 0xc]
call fcn.100092e7
mov dword [ebp - 0xd4], eax
jmp 0x1003b2c2
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
push dword [ebp + 8]
call fcn.10039ea6
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x170]
call fcn.1003b659
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.10025d7c
mov eax, dword [ebp - 0x20]
jmp 0x1003b2fa
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret