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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065982
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
cmp dword [ebp + 0x10], 0
jbe 0x10037102
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10037102
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10036967
pop ecx
pop ecx
jmp 0x10037cae
cmp dword [ebp + 0x10], 0
jne 0x100376bb
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10034926
mov dword [ebp - 0x78], eax
cmp dword [0x10771248], 0
jne 0x1003768f
mov dword [ebp - 0x10c], 0x1580
lea eax, [ebp - 0x10c]
push eax
call fcn.10036860
pop ecx
mov dword [ebp - 0xec], eax
mov byte [ebp - 0x74], 7
mov byte [ebp - 0x73], 0x93
mov byte [ebp - 0x72], 6
mov byte [ebp - 0x71], 0x1a
mov byte [ebp - 0x70], 8
mov byte [ebp - 0x6f], 0x1c
mov byte [ebp - 0x6e], 3
mov byte [ebp - 0x6d], 0x39
mov byte [ebp - 0x6c], 9
mov byte [ebp - 0x6b], 0x38
mov byte [ebp - 0x6a], 1
mov byte [ebp - 0x69], 0xb
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 0x22
mov byte [ebp - 0x66], 2
mov byte [ebp - 0x65], 0x33
mov byte [ebp - 0x64], 4
mov byte [ebp - 0x63], 0x88
mov byte [ebp - 0x62], 0xa
mov byte [ebp - 0x61], 0xc3
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0xa
mov byte [ebp - 0x5e], 0x31
mov byte [ebp - 0x5d], 5
mov byte [ebp - 0x5c], 0x37
mov byte [ebp - 0x5b], 4
mov byte [ebp - 0x5a], 0x17
mov byte [ebp - 0x59], 0xc
mov byte [ebp - 0x58], 0x32
mov byte [ebp - 0x57], 0xb
mov byte [ebp - 0x56], 0x2f
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x74]
or eax, 0xfa
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
and ecx, 0xfa
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x108], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x88], 0
jmp 0x1003720d
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1f
jae 0x100372ab
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x74]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1003724e
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x74]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x74]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10037205
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x73]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0x76]
movsx ecx, byte [ebp + ecx - 0x108]
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x73]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0x76]
movsx edx, byte [ebp + edx - 0x108]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x74]
mov byte [ebp + ecx - 0x108], al
and dword [ebp - 0x88], 0
jmp 0x10037205
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10038d9b
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x11c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x11c]
call fcn.10034926
mov dword [0x10771248], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.10012a27
and dword [ebp - 0x90], 0
jmp 0x1003731c
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xe
jae 0x10037335
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x108], 0
jmp 0x1003730f
mov byte [ebp - 0xd8], 1
mov byte [ebp - 0xd7], 0x17
mov byte [ebp - 0xd6], 3
mov byte [ebp - 0xd5], 0x13
mov byte [ebp - 0xd4], 0x26
mov byte [ebp - 0xd3], 0xed
mov byte [ebp - 0xd2], 0x19
mov byte [ebp - 0xd1], 0x3c
mov byte [ebp - 0xd0], 0xd4
mov byte [ebp - 0xcf], 0xf1
mov byte [ebp - 0xce], 0x65
mov byte [ebp - 0xcd], 0xec
mov byte [ebp - 0xcc], 0xa7
mov byte [ebp - 0xcb], 0x5a
mov byte [ebp - 0xca], 0xdb
mov byte [ebp - 0xc9], 0x11
mov byte [ebp - 0xc8], 0x76
mov byte [ebp - 0xc7], 0xe0
mov byte [ebp - 0xc6], 0x7f
mov byte [ebp - 0xc5], 0xc9
mov byte [ebp - 0xc4], 0xd
mov byte [ebp - 0xc3], 0x55
mov byte [ebp - 0xc2], 0x94
mov byte [ebp - 0xc1], 0x6d
mov byte [ebp - 0xc0], 0x48
mov byte [ebp - 0xbf], 0x45
mov byte [ebp - 0xbe], 0x3b
mov byte [ebp - 0xbd], 0x82
mov byte [ebp - 0xbc], 0x27
mov byte [ebp - 0xbb], 0x23
mov byte [ebp - 0xba], 0x10
mov byte [ebp - 0xb9], 0x9d
mov byte [ebp - 0xb8], 0x5e
mov byte [ebp - 0xb7], 0x5d
mov byte [ebp - 0xb6], 0x63
mov byte [ebp - 0xb5], 0xa6
mov byte [ebp - 0xb4], 0xf3
mov byte [ebp - 0xb3], 0x51
mov byte [ebp - 0xb2], 0x92
mov byte [ebp - 0xb1], 0xb
mov byte [ebp - 0xb0], 0x53
mov byte [ebp - 0xaf], 0xe7
mov byte [ebp - 0xae], 0x15
mov byte [ebp - 0xad], 0xb
mov byte [ebp - 0xac], 0x12
mov byte [ebp - 0xab], 6
mov byte [ebp - 0xaa], 0x23
mov byte [ebp - 0xa9], 2
mov byte [ebp - 0xa8], 0x35
mov byte [ebp - 0xa7], 0
mov byte [ebp - 0xa6], 0x26
mov byte [ebp - 0xa5], 0xd
mov byte [ebp - 0xa4], 0x14
mov byte [ebp - 0xa3], 8
mov byte [ebp - 0xa2], 0x38
mov byte [ebp - 0xa1], 4
mov byte [ebp - 0xa0], 0x1b
mov byte [ebp - 0x9f], 9
mov byte [ebp - 0x9e], 0x17
mov byte [ebp - 0x9d], 0xc
mov byte [ebp - 0x9c], 0x10
mov byte [ebp - 0x9b], 0xa
mov byte [ebp - 0x9a], 0x16
mov byte [ebp - 0x99], 5
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x97], 7
mov byte [ebp - 0x96], 0x17
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd8]
or eax, 0x65
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
and ecx, 0x65
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x12c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x94], 0
jmp 0x1003755b
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x43
jae 0x10037611
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x100375a5
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd8]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd8]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10037553
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xd7]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x94]
movzx ecx, byte [ebp + ecx - 0xda]
movsx ecx, byte [ebp + ecx - 0x12c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xd7]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x94]
movzx edx, byte [ebp + edx - 0xda]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xd8]
mov byte [ebp + ecx - 0x12c], al
and dword [ebp - 0x94], 0
jmp 0x10037553
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.10038d9b
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x114]
call fcn.10034926
mov dword [0x107712f4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10012a27
and dword [ebp - 0x80], 0
jmp 0x1003767c
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xf
jae 0x1003768f
mov eax, dword [ebp - 0x80]
mov byte [ebp + eax - 0x12c], 0
jmp 0x10037675
mov eax, dword [0x10771248]
cmp eax, dword [ebp - 0x78]
je 0x100376a3
mov eax, dword [0x107712f4]
cmp eax, dword [ebp - 0x78]
jne 0x100376bb
mov ecx, dword [ebp + 0xc]
call fcn.10012a83
push eax
push dword [ebp + 8]
call fcn.10036967
pop ecx
pop ecx
jmp 0x10037cae
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x10037cac
mov eax, dword [ebp - 0x84]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10037cac
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x84]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
jne 0x10037cac
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x74], 0
jbe 0x10037cac
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x78], 0
je 0x10037cac
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
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 0x1003776b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10037766
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10037901
mov eax, dword [0x1077133c]
and eax, 1
jne 0x100377a2
mov eax, dword [0x1077133c]
or eax, 1
mov dword [0x1077133c], eax
mov dword [ebp - 4], 2
mov ecx, 0x10771340
call fcn.10012d59
push 0x1006603b
call fcn.1004c28c
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10771246]
test eax, eax
je 0x10037808
mov ecx, 0x10771340
call fcn.10038e19
movzx eax, al
test eax, eax
jne 0x10037808
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x10771340
call fcn.10012d31
lea eax, [ebp - 0x138]
push eax
mov ecx, 0x10771340
call fcn.10009e43
push eax
lea ecx, [ebp - 0xf0]
call fcn.10012d46
movzx eax, al
test eax, eax
je 0x10037808
lea ecx, [ebp - 0xf0]
call fcn.10038e22
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10037901
mov ecx, 0x10771340
call fcn.100334c2
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10771340
call fcn.10038e66
and dword [ebp - 0x2c], 0
jmp 0x1003783a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x10037901
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x2c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x100378fc
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x198]
call fcn.10038d9b
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x198]
call fcn.10034926
mov dword [ebp - 0xe4], eax
movzx eax, byte [0x10771246]
test eax, eax
je 0x100378b9
mov ecx, 0x10771340
call fcn.10038e19
movzx eax, al
test eax, eax
jne 0x100378d6
lea eax, [ebp - 0xe4]
push eax
mov ecx, 0x10771340
call fcn.10038e28
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x10771246], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100378ed
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x78]
jne 0x100378ed
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.10012a27
jmp 0x10037833
cmp dword [ebp + 0x10], 0
jne 0x10037921
cmp dword [ebp - 0x34], 0xffffffff
je 0x10037921
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
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 0x10037cac
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x10037ca7
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 0x10037ca7
mov eax, dword [0x1077133c]
and eax, 2
jne 0x100379ab
mov eax, dword [0x1077133c]
or eax, 2
mov dword [0x1077133c], eax
mov dword [ebp - 4], 4
push 0x133e
call fcn.10011f7a
pop ecx
mov byte [0x10771380], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], 0x7f
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 8
mov byte [ebp - 0x50], 0xf
mov byte [ebp - 0x4f], 0x3f
mov byte [ebp - 0x4e], 0xcd
mov byte [ebp - 0x4d], 0xdb
mov byte [ebp - 0x4c], 0xf5
mov byte [ebp - 0x4b], 0x44
mov byte [ebp - 0x4a], 0x88
mov byte [ebp - 0x49], 0xd6
mov byte [ebp - 0x48], 0xcf
mov byte [ebp - 0x47], 0x58
mov byte [ebp - 0x46], 0x4b
mov byte [ebp - 0x45], 0x6b
mov byte [ebp - 0x44], 3
mov byte [ebp - 0x43], 0x58
mov byte [ebp - 0x42], 0x36
mov byte [ebp - 0x41], 0xba
mov byte [ebp - 0x40], 2
mov byte [ebp - 0x3f], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x54]
or eax, 0x13
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x54]
and ecx, 0x13
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x54]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x8c], 0
jmp 0x10037a48
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x16
jae 0x10037add
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x54]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10037a89
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x54]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x54]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10037a40
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x53]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0x56]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x53]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x56]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x54]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x8c], 0
jmp 0x10037a40
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x1077133c]
and eax, 4
jne 0x10037b23
mov eax, dword [0x1077133c]
or eax, 4
mov dword [0x1077133c], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10771300
call fcn.10038d9b
push 0x1006602c
call fcn.1004c28c
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x7c], 0
jmp 0x10037b30
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x10037b40
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x38], 0
jmp 0x10037b29
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10771380]
cmp eax, ecx
je 0x10037b60
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10037b46
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x150]
call fcn.1003924d
mov dword [ebp - 4], 6
push 0x10771300
lea ecx, [ebp - 0x150]
call fcn.10038dca
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.1001323d
push dword [eax]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x150]
call fcn.10013229
push dword [eax]
lea ecx, [ebp - 0x180]
call fcn.10039276
mov byte [ebp - 4], 7
lea eax, [ebp - 0x180]
push eax
call fcn.10035daf
pop ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x10037c56
push dword [ebp - 0x28]
lea ecx, [ebp - 0x168]
call fcn.10038d9b
mov byte [ebp - 4], 8
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x168]
call fcn.10035619
movzx eax, al
test eax, eax
je 0x10037c29
push 0
push dword [ebp - 0x110]
push 0
push dword [ebp - 0xdc]
call fcn.100370c2
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10037c45
push 1
push 0
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0xdc]
call fcn.100370c2
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x168]
call fcn.10012a27
jmp 0x10037c89
cmp dword [ebp + 0x10], 0
jne 0x10037c6c
mov ecx, dword [ebp + 0xc]
call fcn.10012a83
mov dword [ebp - 0xe8], eax
jmp 0x10037c76
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe8]
push dword [ebp + 8]
call fcn.10036967
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
call fcn.10012910
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10012a27
mov eax, dword [ebp - 0x20]
jmp 0x10037cae
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret