Function at 0x10036ff4
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c8d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10037491
lea eax, [ebp + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x100372b9
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x68], 0x1ec1fcc8
mov dword [ebp - 0x2c], 0
jmp 0x10037056
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x10037069
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x20], 0xfffffff9
jmp 0x1003704f
mov dword [ebp - 0x10], 2
jmp 0x10037079
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x100372b4
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x9c], 0xe8e548e0
mov dword [ebp - 0xb8], 0xd1d9d65f
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xdc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x20]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x20], 0x37b3
jne 0x100370fa
mov dword [ebp - 0x90], 1
jmp 0x10037101
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
cmp dword [ebp - 0x90], eax
jge 0x10037119
mov dword [ebp - 0x74], 1
jmp 0x1003711d
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x20]
imul ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x10]
sub eax, ecx
cmp eax, dword [ebp - 0x10]
je 0x1003714e
mov dword [ebp - 0xc0], 1
jmp 0x10037155
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
mov ecx, dword [ebp - 0x10]
add eax, dword [ebp + ecx*4 - 0x20]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x20]
jle 0x10037178
mov dword [ebp - 0x88], 1
jmp 0x1003717f
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
dec eax
cmp eax, 0x18e9934b
je 0x10037196
mov dword [ebp - 0x5c], 1
jmp 0x1003719a
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
cmp dword [ebp - 0x5c], eax
jg 0x100371b2
mov dword [ebp - 0x84], 1
jmp 0x100371b9
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0x84], eax
je 0x100371d4
mov dword [ebp - 0x64], 1
jmp 0x100371d8
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
cmp eax, dword [ebp - 0x64]
jge 0x100371ed
mov dword [ebp - 0x7c], 1
jmp 0x100371f1
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x20]
je 0x10037209
mov dword [ebp - 0x6c], 1
jmp 0x1003720d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x6c], eax
je 0x10037224
mov dword [ebp - 0x8c], 1
jmp 0x1003722b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
imul eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x10]
test eax, eax
je 0x10037254
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x20], 0
je 0x10037254
mov dword [ebp - 0x54], 1
jmp 0x10037258
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xfff6
ja 0x1003726a
mov dword [ebp - 0x58], 1
jmp 0x1003726e
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
add eax, dword [ebp - 0x58]
jne 0x10037286
cmp dword [ebp - 0x3c], 0
jne 0x10037286
and dword [ebp - 0x60], 0
jmp 0x1003728d
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x20]
cmp dword [ebp - 0x60], eax
je 0x100372a2
mov dword [ebp - 0x50], 1
jmp 0x100372a6
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb8], eax
jmp 0x10037072
jmp 0x1003748f
mov dword [ebp - 0x94], 0x25da
cmp dword [ebp - 0x94], 0x4b9
jge 0x10037477
lea eax, [ebp - 0x28]
push eax
push 0x1000b300
call fcn.100634cb
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
push 0x1000b16c
call fcn.100634cb
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.10028260
and dword [ebp - 4], 0
and dword [ebp - 0x30], 0
jmp 0x10037311
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
dec eax
cmp dword [ebp - 0x30], eax
jge 0x10037334
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.1002809c
push eax
push 0x1000b16c
call fcn.100634cb
pop ecx
pop ecx
jmp 0x1003730a
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100282af
push dword [eax]
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100282a1
push dword [eax]
call fcn.1002cdf4
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
dec eax
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.1002809c
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x28]
dec eax
dec eax
mov dword [ebp - 0x34], eax
jmp 0x10037388
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x100373b0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.1002809c
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa4]
jne 0x100373ac
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
jmp 0x100373ae
jmp 0x100373b0
jmp 0x10037381
mov byte [ebp - 0x11], 0
and dword [ebp - 0x40], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x1003745c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100282af
push dword [eax]
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100282a1
push dword [eax]
call fcn.1002cdf4
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
dec eax
dec eax
mov dword [ebp - 0x24], eax
jmp 0x10037402
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10037449
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
call fcn.1002809c
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jg 0x10037447
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
call fcn.1002809c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x12], 1
jmp 0x10037449
jmp 0x100373fb
movzx eax, byte [ebp - 0x12]
test eax, eax
jne 0x10037457
mov byte [ebp - 0x11], 1
jmp 0x1003745c
jmp 0x100373b8
push dword [ebp - 0x40]
push 0x1000b300
call fcn.100636ff
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1002829c
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1003748f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
jmp 0x10037510
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x100374cd
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10037510
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb0]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret