Function at 0x10037393
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10038a6c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], 0xb4c8f0d0
mov dword [ebp - 0x60], 0xc41ac3dc
mov dword [ebp - 0x18], 0
jmp 0x100373de
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100373f4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa8], 0x67f5ed9a
jmp 0x100373d7
mov dword [ebp - 0x18], 0
jmp 0x10037404
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1003741a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x37c], 0
jmp 0x100373fd
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0xa8]
cmp dword [ebp + eax - 0xa8], ecx
jne 0x10037442
mov dword [ebp - 0x210], 1
jmp 0x10037449
and dword [ebp - 0x210], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa8], 0
jne 0x10037472
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa8], 0
jne 0x10037472
and dword [ebp - 0x108], 0
jmp 0x1003747c
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x24], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x210]
sub ecx, dword [ebp - 0x24]
push 4
pop edx
shl edx, 0
mov edx, dword [ebp + edx - 0xa8]
imul edx, ecx
cmp edx, dword [ebp + eax - 0xa8]
jge 0x100374b9
mov dword [ebp - 0x218], 1
jmp 0x100374c0
and dword [ebp - 0x218], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa8]
cmp dword [ebp - 0x218], eax
jge 0x100374e1
mov dword [ebp - 0x104], 1
jmp 0x100374e8
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
sub eax, 0x2dd78f4f
je 0x10037510
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xa8], 0
je 0x10037510
mov dword [ebp - 0x1e8], 1
jmp 0x10037517
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xb66f
jg 0x1003752f
mov dword [ebp - 0xec], 1
jmp 0x10037536
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], 0
jmp 0x1003754f
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xfffffff7
je 0x10037929
mov dword [ebp - 0xb4], 0xfd9132e8
mov dword [ebp - 0x274], 0xfffffff9
mov dword [ebp - 0x7c], 0
jmp 0x1003757d
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10037593
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x304], 0x4126315b
jmp 0x10037576
push 0x25c9
push 1
push 0x49af
push 0x224
call fcn.10035662
add esp, 0x10
mov dword [ebp - 0x24], 0
jmp 0x100375bc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10037924
mov dword [ebp - 0x2cc], 0xa8a7e8b7
mov dword [ebp - 0x21c], 8
mov dword [ebp - 0xc], 0
jmp 0x100375ea
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x10037600
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xdc], 0xe856dfc9
jmp 0x100375e3
mov dword [ebp - 0xc], 0
jmp 0x10037610
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x10037626
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb0], 1
jmp 0x10037609
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xdc], 0
jmp 0x10037654
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xdc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xdc], 3
jge 0x1003767e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov dword [ebp + eax*4 - 0xa8], 0x86335c0
jmp 0x10037639
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb0], 0
jmp 0x100376ac
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb0], 2
jg 0x1003791f
mov dword [ebp - 0x2c], 0x3a60813c
mov dword [ebp - 0x2c0], 0xd26da612
mov dword [ebp - 0x2bc], 0xd26da612
mov dword [ebp - 0x2b8], 0xd26da612
mov dword [ebp - 0x2b4], 0xd26da612
mov dword [ebp - 0x2c], 0
jmp 0x100376ff
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x10037711
mov dword [ebp - 0xb4], 1
jmp 0x100376f8
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xa8], 0
je 0x10037900
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xa8], 0
jne 0x1003781b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa8]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xb0]
je 0x100377de
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x304]
mov dword [ebp - 0x1f0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp + eax*4 - 0xa8], ecx
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x21c], eax
mov eax, 0x79d795bc
test eax, eax
jne 0x100377a8
mov dword [ebp - 0xf4], 1
jmp 0x100377af
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
imul eax, dword [ebp - 0xf4]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x100377de
mov dword [ebp - 0x1f8], 1
jmp 0x100377e5
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0x9fb1
jge 0x100377fd
mov dword [ebp - 0xfc], 1
jmp 0x10037804
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x274]
cmp dword [ebp - 0xfc], eax
jle 0x1003781b
and dword [ebp - 0x200], 0
jmp 0x10037825
mov dword [ebp - 0x200], 1
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x200]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x304]
je 0x10037848
mov dword [ebp - 0xc8], 1
jmp 0x1003784f
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x37c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0xc8], eax
jge 0x10037883
mov dword [ebp - 0x208], 1
jmp 0x1003788a
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x208], 0x1888
jge 0x100378a2
mov dword [ebp - 0x1d4], 1
jmp 0x100378a9
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x1d4]
cmp eax, dword [ebp - 0x2c]
jl 0x100378cf
mov eax, 0x98f8d6ff
test eax, eax
jne 0x100378cf
xor eax, eax
inc eax
jne 0x100378cf
and dword [ebp - 0x10c], 0
jmp 0x100378d9
mov dword [ebp - 0x10c], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp + eax - 0xdc]
cmp ecx, 0xffff
jb 0x10037900
mov dword [ebp - 0x194], 1
jmp 0x10037907
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x194]
mov dword [ebp + eax - 0x2c0], ecx
jmp 0x10037691
jmp 0x100375b5
jmp 0x10037548
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x27c]
add ecx, dword [eax]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x64], 0x3638ecf5
mov dword [ebp - 0x26c], 8
mov dword [ebp - 0x260], 0x34b0b4ef
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x228], 0x82f
lea eax, [ebp - 0x260]
push eax
push 0x7e8e
push 0
lea eax, [ebp - 0x26c]
push eax
push 0x73f7
lea eax, [ebp - 0x64]
push eax
push 0x441d
push 0xb6a
lea eax, [ebp - 0x11c]
push eax
push 0x742e
call fcn.1003b3e1
add esp, 0x28
mov dword [ebp - 0x64], 0
jmp 0x100379b7
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x2f
jle 0x10037b02
mov dword [ebp - 0x114], 0x77ae2718
mov dword [ebp - 0x124], 0xe7aebb1b
mov dword [ebp - 0x25c], 0x618d7c58
mov dword [ebp - 0x10], 0
jmp 0x100379ef
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10037a05
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2a0], 0xcc8af953
jmp 0x100379e8
mov dword [ebp - 0x10], 0
jmp 0x10037a15
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10037a2b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x22c], 0xffffffff
jmp 0x10037a0e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x228]
cmp eax, 0xf118c84b
jbe 0x10037ad5
mov eax, 0x4d25
test eax, eax
je 0x10037aea
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a0], 0xfffffff9
jl 0x10037a7e
mov dword [ebp - 0x214], 1
jmp 0x10037a85
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x214], eax
jne 0x10037a9f
mov dword [ebp - 0x19c], 1
jmp 0x10037aa6
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x11c]
imul eax, dword [ebp - 0x19c]
test eax, eax
jne 0x10037ac5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x22c], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a0], 0
je 0x10037aea
cmp dword [ebp - 0x124], 0
je 0x10037aea
mov dword [ebp - 0x1dc], 1
jmp 0x10037af1
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x25c], eax
jmp 0x100379b0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x34], 0xfffffff6
mov dword [ebp - 0x9c], 0x955a63a7
mov dword [ebp - 0x270], 0x219a6fdd
mov dword [ebp - 0x24c], 0xee613944
mov dword [ebp - 0x70], 0
jmp 0x10037b45
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10037b5b
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x28c], 0xb91e60e7
jmp 0x10037b3e
cmp dword [ebp - 0x34], 0
je 0x10037cbe
mov dword [ebp - 0x234], 0xfffffff7
mov dword [ebp - 0x134], 0x6695998
mov dword [ebp - 0x278], 0x7d670012
cmp dword [ebp - 0x234], 0
je 0x10037ba3
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10037b9e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x10037cb9
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 0x26], 0
push 0x6390
push 1
lea eax, [ebp - 0x26]
push eax
call fcn.10036841
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x10037c6b
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x14c], eax
jge 0x10037bef
mov dword [ebp - 0x13c], 1
jmp 0x10037bf6
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x34], 0xfffffffb
jae 0x10037c08
mov dword [ebp - 0x12c], 1
jmp 0x10037c0f
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 6
ja 0x10037c24
mov dword [ebp - 0x1a4], 1
jmp 0x10037c2b
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x1fc], 0xffffffff
mov eax, dword [ebp - 0x1fc]
imul eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x34]
jle 0x10037c6b
mov dword [ebp - 0x1ac], 1
jmp 0x10037c72
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xf204795e
jb 0x10037c8a
mov dword [ebp - 0x144], 1
jmp 0x10037c91
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 2
jne 0x10037ca6
mov dword [ebp - 0x1e4], 1
jmp 0x10037cad
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x14c], eax
jmp 0x10037f99
mov dword [ebp - 0x23c], 9
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x44], 0xec1b16eb
mov dword [ebp - 0x284], 0x2ad5889e
mov dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 1
jmp 0x10037d0b
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x10037f99
mov dword [ebp - 0xd0], 5
mov dword [ebp - 0x268], 0x33196add
mov dword [ebp - 0x44], 0
jmp 0x10037d39
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jg 0x10037f94
mov dword [ebp - 0x48], 0x7bc41bbb
mov dword [ebp - 0xbc], 0xd225d8ba
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10037d74
push 0x146e
push 1
push 0x5f90
call fcn.10036893
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x23c], eax
jge 0x10037e47
cmp dword [ebp - 0xd0], 0xd602
jne 0x10037d9b
mov dword [ebp - 0x1b4], 1
jmp 0x10037da2
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x1b4], eax
jle 0x10037dbc
mov dword [ebp - 0x154], 1
jmp 0x10037dc3
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xfffffffd
jae 0x10037dd8
mov dword [ebp - 0x20c], 1
jmp 0x10037ddf
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x20c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x268]
cmp dword [ebp - 0x9c], eax
jge 0x10037e09
mov dword [ebp - 0x15c], 1
jmp 0x10037e10
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 1
jg 0x10037e25
mov dword [ebp - 0x1bc], 1
jmp 0x10037e2c
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1bc], eax
jge 0x10037e3e
push 6
pop eax
test eax, eax
jne 0x10037e47
and dword [ebp - 0x164], 0
jmp 0x10037e51
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
ja 0x10037e6b
mov dword [ebp - 0x1ec], 1
jmp 0x10037e72
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0x41ac
je 0x10037e91
cmp dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x48], eax
jne 0x10037eb1
cmp dword [ebp - 0x9c], 0
je 0x10037eb1
mov dword [ebp - 0x1c4], 1
jmp 0x10037eb8
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x1c4], eax
jg 0x10037ed2
mov dword [ebp - 0x174], 1
jmp 0x10037ed9
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x174], eax
jne 0x10037ef0
mov dword [ebp - 0x244], 1
jmp 0x10037ef7
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x28c]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x254]
mov dword [ebp + eax*4 - 0x28c], ecx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x48], eax
jge 0x10037f5e
mov dword [ebp - 0x204], 1
jmp 0x10037f65
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x204], eax
jge 0x10037f7c
mov dword [ebp - 0x17c], 1
jmp 0x10037f83
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x280], eax
jmp 0x10037d32
jmp 0x10037d04
and dword [ebp - 0xcc], 0
jmp 0x10037fbd
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x84]
inc eax
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0xcc], eax
jae 0x1003886f
mov dword [ebp - 8], 0x7f21
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x54], 0xe8597a0b
mov dword [ebp - 0xb8], 0x66da
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x1a0], 0xfffffffd
mov dword [ebp - 0x2ec], 0x852b186e
mov dword [ebp - 4], 0
jmp 0x1003802d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x10038043
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2b0], 0xca0e2c23
jmp 0x10038026
mov dword [ebp - 4], 0
jmp 0x10038053
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10038069
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x294], 0x77cb11b1
jmp 0x1003804c
mov dword [ebp - 4], 0
jmp 0x10038079
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1003808f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x35c], 0x62ed5bb0
jmp 0x10038072
cmp dword [ebp - 8], 0xc380a388
jne 0x100380a4
mov dword [ebp - 0x1cc], 1
jmp 0x100380ab
and dword [ebp - 0x1cc], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp + eax - 0x2b0], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2b0]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x340], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 8]
cmp dword [ebp + eax - 0x2b0], ecx
jle 0x100380f7
mov dword [ebp - 0x184], 1
jmp 0x100380fe
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 8]
je 0x10038125
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x2b0], 0
je 0x10038125
mov dword [ebp - 0x1f4], 1
jmp 0x1003812c
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jl 0x10038146
mov dword [ebp - 0x18c], 1
jmp 0x1003814d
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18c], eax
jl 0x10038164
mov dword [ebp - 0x100], 1
jmp 0x1003816b
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x100], eax
jle 0x10038185
mov dword [ebp - 0xe0], 1
jmp 0x1003818c
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xe0]
je 0x100381a3
mov dword [ebp - 0x110], 1
jmp 0x100381aa
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x33c], eax
mov eax, 0xffff
test eax, eax
je 0x100381d1
mov dword [ebp - 0x118], 1
jmp 0x100381d8
and dword [ebp - 0x118], 0
imul eax, dword [ebp - 0x118], 9
add eax, 0x2f2aa787
cmp eax, dword [ebp - 0x20]
jge 0x100381f5
mov dword [ebp - 0x120], 1
jmp 0x100381fc
and dword [ebp - 0x120], 0
imul eax, dword [ebp - 0x120], 0xba1f
cmp eax, 0x18a0a82b
jge 0x10038219
mov dword [ebp - 0xc4], 1
jmp 0x10038220
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax - 0x294], ecx
cmp dword [ebp - 0xc4], 0
je 0x1003824d
xor eax, eax
inc eax
je 0x1003824d
mov dword [ebp - 0x128], 1
jmp 0x10038254
and dword [ebp - 0x128], 0
imul eax, dword [ebp - 0x128], 0
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jg 0x1003826f
mov dword [ebp - 0x130], 1
jmp 0x10038276
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x130], eax
jge 0x1003828d
mov dword [ebp - 0x138], 1
jmp 0x10038294
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x138]
cmp eax, 0x93dfe8e2
je 0x100382b1
mov dword [ebp - 0xd4], 1
jmp 0x100382b8
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + eax - 0x35c], ecx
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xd4], eax
je 0x100382e5
mov dword [ebp - 0x140], 1
jmp 0x100382ec
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xfffffff7
jge 0x10038304
cmp dword [ebp - 8], 0
jne 0x10038304
and dword [ebp - 0x150], 0
jmp 0x1003830e
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x148]
imul eax, dword [ebp - 0x150]
test eax, eax
jge 0x1003832b
mov dword [ebp - 0x158], 1
jmp 0x10038332
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x158], eax
jl 0x10038349
mov dword [ebp - 0x160], 1
jmp 0x10038350
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0x1ecd
jge 0x10038368
mov dword [ebp - 0x168], 1
jmp 0x1003836f
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x168], eax
je 0x10038386
mov dword [ebp - 0x170], 1
jmp 0x1003838d
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
sub eax, dword [ebp - 0xb8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x90], eax
jle 0x100383b6
mov dword [ebp - 0x178], 1
jmp 0x100383bd
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 8], 0x3d06
jle 0x100383de
mov dword [ebp - 0x188], 1
jmp 0x100383e5
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x90], 0
imul eax, dword [ebp - 0x54], 0xb828
cmp eax, dword [ebp - 0x90]
jle 0x10038407
mov dword [ebp - 0x180], 1
jmp 0x1003840e
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 1
jb 0x10038423
mov dword [ebp - 0x224], 1
jmp 0x1003842a
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x190], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x190]
mov dword [ebp + eax - 0x294], ecx
mov eax, dword [ebp - 0x188]
add eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x54]
je 0x1003846f
mov dword [ebp - 0x198], 1
jmp 0x10038476
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0xffff
jbe 0x1003848e
mov dword [ebp - 0x1a8], 1
jmp 0x10038495
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a0]
imul eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x220], 0xfffffffd
mov dword [ebp - 0x78], 0
jmp 0x100384c6
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x100384dc
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x338], 0x16652d0d
jmp 0x100384bf
mov dword [ebp - 0x3c], 0
jmp 0x100384ec
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffeb
je 0x1003877e
mov dword [ebp - 0x58], 0x36432a27
mov dword [ebp - 0x2d4], 0xfffffffd
mov dword [ebp - 0x1d0], 0x95da2282
mov dword [ebp - 0x324], 0xfffffff6
mov dword [ebp - 0x2dc], 0xffffffff
mov dword [ebp - 0x334], 0xcd3bed16
mov dword [ebp - 0x2e8], 0xfffffffd
mov dword [ebp - 0x32c], 0xfffffffe
mov dword [ebp - 0xc0], 0x18a1
mov dword [ebp - 0x1c8], 0xfffffffa
mov dword [ebp - 0x14], 0
jmp 0x10038567
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1003857d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x398], 0x764ce34a
jmp 0x10038560
mov dword [ebp - 0x14], 0
jmp 0x1003858d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x100385a3
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x36c], 0xe72e
jmp 0x10038586
mov byte [ebp - 0x3f], 0
movzx eax, byte [ebp - 0x3f]
test eax, eax
je 0x100385bd
push 1
push 0x1cc
call fcn.100368db
pop ecx
pop ecx
mov dword [ebp - 0x58], 0x12
jmp 0x100385cd
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x1b
je 0x10038779
mov dword [ebp - 0x2f0], 0x885ea6ed
mov dword [ebp - 0x31c], 0xfe7528ac
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x1e0], 0x2f88d967
mov dword [ebp - 0x80], 0
jmp 0x1003860f
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x10038625
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x314], 0x3df2ef51
jmp 0x10038608
cmp dword [ebp - 0x58], 0
jne 0x100386f9
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc0]
dec ecx
mov dword [ebp - 0xc0], ecx
test eax, eax
jne 0x100386f9
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x314]
cmp dword [ebp - 0x1c8], eax
jne 0x1003866a
mov dword [ebp - 0x1b0], 1
jmp 0x10038671
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1b0], eax
jl 0x10038688
mov dword [ebp - 0x1b8], 1
jmp 0x1003868f
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
sub eax, dword [ebp - 0x3c]
cmp eax, 1
jle 0x100386a9
mov dword [ebp - 0x1c0], 1
jmp 0x100386b0
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
sub eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
imul eax, dword [ebp - 0x1d0], 0xffff
cmp eax, 0x9177
jl 0x100386df
mov dword [ebp - 0x1d8], 1
jmp 0x100386e6
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x36c], 0x333f
je 0x10038718
mov dword [ebp - 0xe4], 1
jmp 0x1003871f
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x314]
add eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x3c]
jne 0x10038742
mov dword [ebp - 0xe8], 1
jmp 0x10038749
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x26a0
jne 0x10038761
mov dword [ebp - 0xf0], 1
jmp 0x10038768
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x220], eax
jmp 0x100385c6
jmp 0x100384e5
mov eax, dword [ebp - 0x84]
movzx eax, word [eax]
sar eax, 0xc
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x84]
push eax
push 0x7e73
push 1
lea eax, [ebp - 0x248]
push eax
call fcn.10036919
add esp, 0x10
mov dword [ebp - 0x98], 0xfffffffb
mov dword [ebp - 0x88], 0
jmp 0x100387d0
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jge 0x100387ec
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x388], 1
jmp 0x100387c3
mov dword [ebp - 0x98], 0
jmp 0x10038805
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jg 0x10038827
mov byte [ebp - 0x25], 0
push 0x781c
push 0
lea eax, [ebp - 0x25]
push eax
call fcn.1003697a
add esp, 0xc
jmp 0x100387f8
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 3
je 0x10038840
jmp 0x1003886a
mov eax, dword [ebp - 0x240]
add eax, dword [ebp - 0x248]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x250]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xf8]
mov dword [ecx], eax
jmp 0x10037fa2
mov dword [ebp - 0x74], 0x9841b3c6
mov dword [ebp - 0x320], 1
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x94], 0x7383cc47
mov dword [ebp - 0x328], 1
mov dword [ebp - 0x318], 3
mov dword [ebp - 0x1c], 0
jmp 0x100388b8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100388ce
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2e4], 0x6eb6b9dd
jmp 0x100388b1
mov dword [ebp - 0x1c], 0
jmp 0x100388de
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x100388f4
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x3a8], 0x758e356e
jmp 0x100388d7
mov dword [ebp - 0x74], 0xffffffec
jmp 0x10038904
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 5
jge 0x100389f1
mov dword [ebp - 0x8c], 0x149febb6
mov dword [ebp - 0x258], 0xffff
mov dword [ebp - 0x68], 0
jmp 0x10038932
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10038948
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x34c], 0xfffffffb
jmp 0x1003892b
mov dword [ebp - 0x8c], 0xa
jmp 0x10038961
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xe
je 0x100389c2
mov dword [ebp - 0x5c], 0x464f16ef
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x35]
push eax
push 1
push 0x16fe
call fcn.1003697a
add esp, 0xc
mov dword [ebp - 0x5c], 1
jmp 0x10038998
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x100389c0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34c], 1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp + eax*4 - 0x2e4], 0
je 0x100389be
jmp 0x100389c0
jmp 0x10038991
jmp 0x10038954
push 0x2444
lea eax, [ebp - 0x258]
push eax
push 0x79ab
push 0x131d
push 1
push 0x1b0d
push 0x7b45
call fcn.100369c8
add esp, 0x1c
jmp 0x100388fd
mov dword [ebp - 0x94], 0
jmp 0x10038a0a
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x12
jge 0x10038a58
mov byte [ebp - 0x40], 0
movzx eax, byte [ebp - 0x40]
test eax, eax
je 0x10038a42
push 0x1132
push 0x2499
push 0x2826
push 0x50b1
push 0x8b4
push 0
call fcn.100397bf
add esp, 0x18
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x10038a56
push 1
call fcn.10037240
pop ecx
jmp 0x100389fd
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
jmp 0x10038ab0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jmp 0x10038a94
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0xd
jg 0x10038ab0
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10038aae
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
jmp 0x10038a89
mov esp, ebp
pop ebp
ret