Function at 0x46df40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd245
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
push ebx
push esi
push edi
mov eax, dword [0x50f52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
mov edi, 7
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4e25d8
mov word [ecx + 4], ax
call fcn.00401860
mov dword [ebp - 4], ebx
mov edx, dword [0x5109d8]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x5109dc]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x88], esp
push 6
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.Config
mov word [ecx + 4], dx
call fcn.00401860
mov byte [ebp - 4], 3
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
mov dword [esi + 0x74], ebx
mov eax, dword [0x5109dc]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x8a42f871
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
mov eax, 0x64
div ecx
mov edx, dword [esi + 4]
push ebx
push 0x3e8
push 0x1000
push edx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [esi + 0x80], 1
mov dword [esi + 0x90], ebx
call edi
lea ecx, [esi + 0x54]
push eax
call fcn.00489280
push 0x6a
lea ecx, [ebp - 0x10]
push ecx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 4
mov edx, dword [eax]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], edx
call edi
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov edx, dword [esi + 4]
push edx
call edi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfff7ffff
cmp eax, ecx
je 0x46e0d3
mov eax, dword [ebp - 0x10]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push ecx
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x14]
push 0xc9
push ecx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 5
mov edx, dword [eax]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call edi
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
lea edx, [ebp - 0x14]
push 0x131
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 6
mov ecx, dword [esi + 4]
mov eax, dword [eax]
push 0x45f
push ecx
mov dword [ebp - 0x10], eax
call edi
mov edx, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push 0x459
push eax
call edi
push 1
push 0x4ecbf0
push str.IDB_PNG_BANNER
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
call fcn.00424e90
mov eax, dword [0x5109dc]
cmp dword [eax + 0x25c], ebx
je 0x46e1f5
cmp dword [eax + 0x284], ebx
je 0x46e1ec
mov dword [ebp - 0x14], 0x4ed524
jmp 0x46e1fc
mov dword [ebp - 0x14], 0x4ed500
jmp 0x46e1fc
mov dword [ebp - 0x14], 0x4ed4e0
mov edx, dword [esi + 4]
push 0x453
push edx
call edi
push 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push 0x4ecbf0
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00424e90
mov ecx, esi
call fcn.00468ba0
mov dword [ebp - 0x14], 1
lea esp, [esp]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c0]
push eax
call fcn.0046a490
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 7
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402840
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00426020
mov byte [ebp - 4], 9
push 0x4ed220
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 9
cmp dword [ebp - 0xc8], 0x10
jb 0x46e2d1
mov eax, dword [ebp - 0xdc]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
mov byte [ebp - 4], 8
cmp dword [ebp - 0x90], 0x10
jb 0x46e303
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0x10
jb 0x46e32f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1a8], 0x10
jb 0x46e35b
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.004b29fa
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x150]
push edx
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], ebx
mov byte [ebp - 0x1bc], bl
call fcn.0046a490
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xb
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00402840
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.00426020
mov byte [ebp - 4], 0xd
push 0x4ed230
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0xe
push eax
lea ecx, [esi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push eax
push ecx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x100], 0x10
jb 0x46e412
mov edx, dword [ebp - 0x114]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x100], 0xf
mov dword [ebp - 0x104], ebx
mov byte [ebp - 0x114], bl
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x170], 0x10
jb 0x46e444
mov eax, dword [ebp - 0x184]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], ebx
mov byte [ebp - 0x184], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x34], 0x10
jb 0x46e470
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 0x10
jb 0x46e49c
mov edx, dword [ebp - 0x14c]
push edx
call fcn.004b29fa
add esp, 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x134]
push ecx
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
call fcn.0046a490
mov dword [ebp - 0x10], eax
mov eax, 0xf
mov dword [ebp - 4], eax
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00402840
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.00426020
mov byte [ebp - 4], 0x11
push 0x4ed22c
push eax
lea edx, [ebp - 0xc4]
push edx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x12
push eax
lea ecx, [esi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
push eax
mov eax, dword [esi + 4]
push eax
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0xac], 0x10
jb 0x46e556
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xe4], 0x10
jb 0x46e588
mov edx, dword [ebp - 0xf8]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xe8], ebx
mov byte [ebp - 0xf8], bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x6c], 0x10
jb 0x46e5b4
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x11c], 0x10
jb 0x46e5e0
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.004b29fa
add esp, 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1dc]
push eax
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
call fcn.0046a490
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x13
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00402840
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.00426020
mov byte [ebp - 4], 0x15
push 0x4ed228
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x16
push eax
lea ecx, [esi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov edx, dword [esi + 4]
push eax
push edx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x154], 0x10
jb 0x46e697
mov eax, dword [ebp - 0x168]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x154], 0xf
mov dword [ebp - 0x158], ebx
mov byte [ebp - 0x168], bl
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18c], 0x10
jb 0x46e6c9
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x1a0], bl
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x50], 0x10
jb 0x46e6f5
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c4], 0x10
jb 0x46e721
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.004b29fa
add esp, 4
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 6
mov dword [ebp - 0x1c4], 0xf
mov dword [ebp - 0x1c8], ebx
mov byte [ebp - 0x1d8], bl
mov dword [ebp - 0x14], eax
jle 0x46e230
lea ecx, [ebp - 0x14]
push 0x437
push ecx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 0x17
mov edx, dword [eax]
mov eax, dword [esi + 4]
push 0x3fb
push eax
mov dword [ebp - 0x10], edx
call edi
mov ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e7a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi + 4]
lea ecx, [esi + 0x84]
push ecx
push ebx
push edx
push 0x46bff0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret