Function at 0x1001b63c
Capabilities:
Allocate thread local storage
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10080649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
push 2
mov dword [esp + 0x50], edx
xor ebx, ebx
pop esi
mov dword [esp + 0x34], esi
mov edi, ecx
mov dword [esp + 0x34], ebx
jmp 0x1001b6ac
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1001b697
push ebx
push 0x1a86
push 0xfdc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1001b6a8
push ebx
call fcn.1001e46a
pop ecx
inc dword [esp + 0x34]
cmp dword [esp + 0x34], 0x15
jle 0x1001b675
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.1001c329
pop ecx
pop ecx
cmp dword [edi + 0x10], ebx
jne 0x1001b6cc
xor al, al
jmp 0x1001bde5
mov dword [esp + 0x18], 0x6b8f3d42
mov dword [esp + 0x1c], 0x836b16b4
push 3
pop eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x4f4e7975
mov dword [esp + 0x1c], ebx
xor ebx, ebx
inc ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 0
jmp 0x1001b713
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x88], 0x4caf14c9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001b700
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, 0x76942a1e
setl cl
xor eax, eax
mov dword [esp + 0x8c], ecx
cmp ecx, 0xe60f
setle al
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
imul eax, dword [esp + 0x18]
cmp eax, 0xc9ca
mov eax, dword [esp + 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov eax, dword [esp + 0x10]
setne dl
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
and dword [eax], 0
cmp dword [edi + 0x14], 0x10
jb 0x1001b79d
mov esi, dword [edi]
jmp 0x1001b79f
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x1001b7a9
mov ecx, dword [edi]
jmp 0x1001b7ab
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x1001bd93
mov dword [esp + 0x20], 7
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x3b0a6d08
mov dword [esp + 0x50], 0xe834ab46
mov dword [esp + 0x1c], 5
push 4
call fcn.10017ff2
and dword [esp + 0xbc], 0
lea eax, [esp + 0xa0]
push 0x5541
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x64], 2
push eax
push 0x5ea
push 0
call fcn.1001ea7f
mov eax, dword [esp + 0x34]
xor edx, edx
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov eax, dword [esp + 0x20]
cmp ecx, eax
setg dl
inc edx
neg edx
push 9
sbb edx, edx
inc edx
cmp edx, 0xc9105fa2
sbb eax, eax
or ecx, 0xffffffff
inc eax
cmp ecx, eax
pop ecx
sbb eax, eax
inc eax
cmp ecx, eax
mov eax, dword [esp + 0x20]
push 3
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
sete cl
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
test eax, eax
mov eax, dword [esp + 0x24]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x24]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x24]
setle bl
xor ecx, ecx
cmp ebx, eax
sete cl
xor eax, eax
cmp ecx, 0x985
pop ecx
setle al
cmp ecx, eax
mov eax, dword [esp + 0x20]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setg cl
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
neg edx
push 3
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
pop eax
setne cl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
jl 0x1001b9c1
xor ebx, ebx
inc ebx
or ecx, 0xffffffff
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
jl 0x1001b9b7
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
push ebx
call fcn.10017ff2
push 0x6fac
push 0x2831
lea eax, [esp + 0x9c]
mov byte [esp + 0xc4], bl
push eax
push 0
lea eax, [esp + 0xa0]
push 0x4225
push eax
call fcn.1001c17d
add esp, 0x18
lea eax, [esp + 0x54]
mov edx, 0x25e2
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
push ebx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.1001b1d0
add esp, 0x24
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x94]
call fcn.100188c4
dec dword [esp + 0x24]
jns 0x1001b90c
push 3
pop eax
or ecx, 0xffffffff
dec dword [esp + 0x28]
jns 0x1001b8f1
or eax, 0xffffffff
lea ecx, [esp + 0x70]
mov dword [esp + 0xbc], eax
call fcn.100188c4
mov al, byte [esi]
cmp al, 0x30
jl 0x1001b9f8
cmp al, 0x39
jg 0x1001b9f8
mov edx, dword [esp + 0x4c]
xor ebx, ebx
movsx eax, al
imul ecx, dword [edx], 0xa
add ecx, 0xffffffd0
add eax, ecx
inc esi
mov dword [edx], eax
inc ebx
jmp 0x1001b79f
mov dword [esp + 0x18], 0xd562b994
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], 0xfc35327
mov dword [esp + 0x10], 8
mov dword [esp + 0x10], 0xd681
push 4
call fcn.10017ff2
push 2
pop edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0x10], 0
jmp 0x1001ba47
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x44], 0x71b18d40
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001ba37
push 3
mov dword [esp + 0x14], 0
pop esi
jmp 0x1001ba6a
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x38], 0xe7937d8e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001ba5a
mov dword [esp + 0x10], 0
jmp 0x1001ba8a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
and dword [eax + ecx*4], 0
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1001ba7a
xor ebx, ebx
inc ebx
mov dword [esp + 0x38], ebx
js 0x1001bbb5
push esi
lea ecx, [esp + 0x68]
call fcn.10017ff2
mov dword [esp + 0x10], 0x56a218f0
mov dword [esp + 0x10], 0
jmp 0x1001bacd
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001baba
mov eax, dword [esp + 0x38]
cmp dword [esp + eax*4 + 0x44], 0
jne 0x1001bbac
mov eax, dword [esp + 0x38]
xor edx, edx
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
setl dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x64]
sete dl
xor ecx, ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x38]
mov eax, dword [esp + eax*4 + 0x44]
cmp edx, eax
mov eax, dword [esp + 0x38]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x38]
setg dl
sub edx, eax
jne 0x1001bb41
cmp dword [esp + 0x1c], edx
jne 0x1001bb41
xor eax, eax
jmp 0x1001bb43
mov eax, ebx
mov dword [esp + 0x10], eax
xor edx, edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x38]
cmp eax, ebx
setle dl
sub edx, ecx
neg edx
sbb edx, edx
inc edx
add edx, 0x7e2c101d
jne 0x1001bb75
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + eax*4 + 0x44]
mov ecx, dword [esp + 0x44]
sub ecx, eax
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0x3ae5685e
lea ecx, [esp + 0x64]
setne al
mov dword [esp + 0x10], eax
call fcn.100188c4
dec dword [esp + 0x38]
jns 0x1001ba9e
jmp 0x1001bbb5
lea ecx, [esp + 0x64]
call fcn.100188c4
cmp dword [esp + 0x48], 0
je 0x1001bc33
cmp dword [esp + 0x3c], 0
je 0x1001bbce
cmp dword [esp + 0x18], 0
je 0x1001bbce
mov eax, ebx
jmp 0x1001bbd0
xor eax, eax
mov ecx, dword [esp + 0x40]
xor edx, edx
imul ecx, eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
cmp ecx, dword [eax]
setge dl
cmp edx, dword [esp + 0x18]
jne 0x1001bc09
cmp dword [esp + 0x10], 0
jne 0x1001bc09
xor ecx, ecx
jmp 0x1001bc0b
mov ecx, ebx
mov eax, dword [esp + 0x18]
sub ecx, eax
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, eax
mov eax, dword [esp + 0x1c]
imul eax, ecx
cmp eax, 0x9123ebaa
jb 0x1001bc33
mov edx, ebx
jmp 0x1001bc35
xor edx, edx
mov eax, dword [esp + 0x44]
xor ecx, ecx
sub edx, eax
mov eax, dword [esp + 0x48]
neg eax
cmp eax, edx
setne cl
or eax, 0xffffffff
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xbc], eax
call fcn.100188c4
push 0x1516
lea eax, [esp + 0x50]
push 0
push eax
call fcn.1001be38
mov dword [esp + 0x1c], 7
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x919c44d4
cmp dword [esp + 0x10], 0
je 0x1001bc9c
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x10]
jne 0x1001bc9e
xor ebx, ebx
lea eax, [ebx - 0x39d6]
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
je 0x1001bcb6
cmp dword [esp + 0x10], ebx
jne 0x1001bcbc
cmp dword [esp + 0x10], ebx
je 0x1001bcc0
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
jne 0x1001bcd6
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp ecx, eax
setg dl
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
je 0x1001bd72
mov dword [esp + 0x18], ebx
jmp 0x1001bd24
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0xa4], 0xffff
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x1001bd11
mov dword [esp + 0x10], ebx
jmp 0x1001bd67
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0xa4], ebx
jne 0x1001b6c5
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], bl
je 0x1001bd63
push 0x55aa
push 0x202b
push ebx
push 0x7b68
call fcn.10025c5c
add esp, 0x10
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jle 0x1001bd30
jmp 0x1001b6c5
push 0xf1c
lea eax, [esp + 0x33]
mov byte [esp + 0x33], bl
push eax
push ebx
push 0x1c0a
call fcn.1001e909
add esp, 0x10
jmp 0x1001b6c5
mov dword [esp + 0x30], 0xfffffff6
mov byte [esp + 0x17], 0
cmp byte [esp + 0x17], 0
je 0x1001bdad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esp + 0x30], 0
jmp 0x1001bddc
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0x32bb11ac
push eax
push 0
lea eax, [esp + 0x38]
push 0x1bac
push eax
call fcn.1001e13d
add esp, 0x10
dec dword [esp + 0x30]
cmp dword [esp + 0x30], 0xfffffff4
jg 0x1001bdb7
mov al, bl
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret