Function at 0x427970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
cmp byte [0x4ce800], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x168], eax
je 0x4279de
mov al, 1
jmp 0x4282d3
lea ecx, [ebp - 0x158]
mov byte [0x4ce800], 0
call fcn.00421990
mov esi, eax
cmp esi, 0x4cf754
je 0x427a31
mov ecx, 0x4cf754
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cf754], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cf758], ecx
mov eax, dword [esi + 8]
mov dword [0x4cf75c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
mov edx, edi
lea ecx, [ebp - 0x158]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cea8c
je 0x427a8a
mov ecx, 0x4cea8c
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cea8c], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cea90], ecx
mov eax, dword [esi + 8]
mov dword [0x4cea94], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
mov edx, ebx
lea ecx, [ebp - 0x158]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cf760
je 0x427ae3
mov ecx, 0x4cf760
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cf760], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cf764], ecx
mov eax, dword [esi + 8]
mov dword [0x4cf768], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x158]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cea80
je 0x427b40
mov ecx, 0x4cea80
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cea80], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cea84], ecx
mov eax, dword [esi + 8]
mov dword [0x4cea88], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x427b68
mov eax, dword [ecx]
jmp 0x427b6a
mov eax, ecx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x148]
mov byte [eax], 0
call fcn.00409700
lea ecx, [ebp - 0x158]
call fcn.00427630
mov esi, eax
add esp, 0x18
cmp esi, 0x4cf748
je 0x427bcb
mov ecx, 0x4cf748
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cf748], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cf74c], ecx
mov eax, dword [esi + 8]
mov dword [0x4cf750], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
call fcn.00427820
mov edx, dword [ebp - 0x160]
mov eax, 0x4cebc0
xor ecx, ecx
cmp dword [eax], edx
je 0x427f1e
add ecx, 0xf4
add eax, 0xf4
cmp ecx, 0xb70
jb 0x427be8
cmp byte [0x4ce800], 0
jne 0x427f30
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004797f0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x427f30
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x144]
call fcn.00421520
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x15c], eax
xor esi, esi
mov eax, 0x4cebdc
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], eax
nop dword [eax]
mov edx, eax
lea ecx, [ebp - 0x12c]
call fcn.00425640
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x427dd1
push eax
push 0
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x144]
call fcn.00408f50
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
lea eax, [ecx + 0x10]
jb 0x427cc1
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x118]
lea esi, [ebp - 0x12c]
mov eax, dword [eax]
cmp edi, 0x10
mov ebx, dword [ebp - 0x12c]
mov edx, eax
cmovae esi, ebx
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x11c], eax
cmovb edx, dword [ebp - 0x11c]
test edx, edx
je 0x427d56
sub edx, 4
jb 0x427d11
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x427d16
add esi, 4
add ecx, 4
sub edx, 4
jae 0x427d00
cmp edx, 0xfffffffc
je 0x427d4a
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x427d43
cmp edx, 0xfffffffd
je 0x427d4a
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x427d43
cmp edx, 0xfffffffe
je 0x427d4a
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x427d43
cmp edx, 0xffffffff
je 0x427d4a
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x427d4a
sbb esi, esi
or esi, 1
jmp 0x427d4c
xor esi, esi
test esi, esi
jne 0x427d69
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x11c]
cmp eax, ecx
jbe 0x427d65
or esi, 0xffffffff
jmp 0x427d69
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x1a0]
cmp eax, 0x10
jb 0x427dc1
mov ecx, dword [ebp - 0x1b4]
inc eax
cmp eax, 0x1000
jb 0x427dac
test cl, 0x1f
jne 0x427e93
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x427e93
sub ecx, eax
cmp ecx, 4
jb 0x427e93
cmp ecx, 0x23
ja 0x427e93
mov ecx, eax
push ecx
call fcn.00442364
mov edi, dword [ebp - 0x118]
add esp, 4
mov ebx, dword [ebp - 0x12c]
test esi, esi
je 0x427e50
mov esi, dword [ebp - 0x148]
jmp 0x427ddd
mov edi, dword [ebp - 0x118]
mov ebx, dword [ebp - 0x12c]
mov byte [ebp - 4], 0
cmp edi, 0x10
jb 0x427e1f
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x427e16
test bl, 0x1f
jne 0x427e93
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x427e93
sub ebx, eax
cmp ebx, 4
jb 0x427e93
cmp ebx, 0x23
ja 0x427e93
mov ebx, eax
push ebx
call fcn.00442364
add esp, 4
mov eax, dword [ebp - 0x14c]
add esi, 0xf4
inc dword [ebp - 0x15c]
add eax, 0xf4
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x14c], eax
cmp esi, 0xb70
jb 0x427c80
jmp 0x427ec5
imul eax, dword [ebp - 0x15c], 0xf4
mov ecx, 0x4ceac8
add eax, 0x4cebc0
push eax
call fcn.004282f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x118]
mov byte [0x4ce800], 1
cmp eax, 0x10
jb 0x427ec5
mov ecx, dword [ebp - 0x12c]
inc eax
cmp eax, 0x1000
jb 0x427ebc
test cl, 0x1f
je 0x427e98
call fcn.0047c212
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x427ea4
call fcn.0047c212
sub ecx, eax
cmp ecx, 4
jae 0x427eb0
call fcn.0047c212
cmp ecx, 0x23
jbe 0x427eba
call fcn.0047c212
mov ecx, eax
push ecx
call fcn.00442364
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x427f30
mov ecx, dword [ebp - 0x144]
inc eax
cmp eax, 0x1000
jb 0x427f13
test cl, 0x1f
je 0x427eef
call fcn.0047c212
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x427efb
call fcn.0047c212
sub ecx, eax
cmp ecx, 4
jae 0x427f07
call fcn.0047c212
cmp ecx, 0x23
jbe 0x427f11
call fcn.0047c212
mov ecx, eax
push ecx
call fcn.00442364
add esp, 4
jmp 0x427f30
push eax
mov ecx, 0x4ceac8
call fcn.004282f0
mov byte [0x4ce800], 1
cmp dword [ebp - 0x160], 0xb
jne 0x427ff9
mov edx, dword [ebp - 0x168]
lea ecx, [ebp - 0x144]
call fcn.004272d0
mov esi, eax
mov dword [ebp - 4], 2
cmp esi, 0x4ceafc
je 0x427fd4
mov eax, dword [0x4ceb10]
cmp eax, 0x10
jb 0x427fae
mov ecx, dword [0x4ceafc]
inc eax
cmp eax, 0x1000
jb 0x427fa5
test cl, 0x1f
je 0x427f81
call fcn.0047c212
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x427f8d
call fcn.0047c212
sub ecx, eax
cmp ecx, 4
jae 0x427f99
call fcn.0047c212
cmp ecx, 0x23
jbe 0x427fa3
call fcn.0047c212
mov ecx, eax
push ecx
call fcn.00442364
add esp, 4
push esi
mov ecx, 0x4ceafc
mov dword [0x4ceb10], 0xf
mov dword [0x4ceb0c], 0
mov byte [0x4ceafc], 0
call fcn.00409830
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x427ff9
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.00409a60
mov edx, 0x4ceafc
lea ecx, [ebp - 0x19c]
call fcn.00425640
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.0042d510
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
cmp eax, 0x10
jb 0x42803b
inc eax
push 1
push eax
push dword [ebp - 0x19c]
call fcn.00405d90
add esp, 0xc
cmp byte [0x4ce800], 0
je 0x4282d1
mov edx, dword [ebp - 0x16c]
lea ecx, [ebp - 0x158]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cea50
je 0x42809a
mov ecx, 0x4cea50
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cea50], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cea54], ecx
mov eax, dword [esi + 8]
mov dword [0x4cea58], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4280c8
mov eax, dword [ecx]
jmp 0x4280ca
mov eax, ecx
push 0
push 0x4c0b04
mov byte [eax], 0
call fcn.00409600
mov edx, 0x4ceafc
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x19c]
call fcn.00425640
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.Version
push eax
push ecx
call fcn.0041a2b0
add esp, 0xc
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 6
call fcn.00420b40
add esp, 0x30
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x158]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cf730
je 0x42816c
mov ecx, 0x4cf730
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cf730], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cf734], ecx
mov eax, dword [esi + 8]
mov dword [0x4cf738], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x158]
call fcn.00429c90
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x428195
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.00409a60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
cmp eax, 0x10
jb 0x4281d5
inc eax
lea ecx, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
call fcn.00409a60
lea ecx, [ebp - 0x1b4]
call fcn.004217a0
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x4281ef
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x184]
call fcn.00424f90
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x120]
call fcn.00421990
mov esi, eax
cmp esi, 0x4cf76c
je 0x42824e
mov ecx, 0x4cf76c
call fcn.00429c90
mov ecx, dword [esi]
mov dword [0x4cf76c], ecx
mov ecx, dword [esi + 4]
mov dword [0x4cf770], ecx
mov eax, dword [esi + 8]
mov dword [0x4cf774], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x120]
call fcn.00429c90
mov eax, dword [ebp - 0x170]
cmp eax, 0x10
jb 0x428277
inc eax
lea ecx, [ebp - 0x184]
push eax
push dword [ebp - 0x184]
call fcn.00409a60
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
cmp eax, 0x10
jb 0x4282b0
inc eax
lea ecx, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1b4]
call fcn.00409a60
push 0x4ce808
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x4287e0
call fcn.00488644
add esp, 0xc
mov dword [0x4ce804], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret