Function at 0x1005264a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100876c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push esi
mov dword [ebp - 0x78], 0x74a9
mov dword [ebp - 0xdc], 0x1000cd34
cmp dword [ebp - 0x78], 0x7743
jle 0x1005270d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
and dword [ebp - 0x20], 0
jmp 0x100526a6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4f36
jge 0x1005270d
and dword [ebp - 0x28], 0
jmp 0x100526bc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x73f2
jge 0x1005270b
and dword [ebp - 0x38], 0
jmp 0x100526d2
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2f17
jge 0x10052709
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x100526cb
jmp 0x100526b5
jmp 0x1005269f
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10052a54
lea eax, [ebp + 0x24]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x1005276b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
jmp 0x10052a4f
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x124], 0x2e91a049
mov dword [ebp - 0xa0], 0xedf6b3e7
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x148], 0xef9953e8
mov dword [ebp - 0x158], 0xab56411d
mov dword [ebp - 0x6c], 0x4614
mov dword [ebp - 0x98], 0x1000cd70
cmp dword [ebp - 0x6c], 0x477a
jle 0x1005288c
and dword [ebp - 0x1c], 0
jmp 0x100527fe
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2110
jge 0x1005288c
and dword [ebp - 0x18], 0
jmp 0x10052818
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7b15
jge 0x10052887
and dword [ebp - 0x30], 0
jmp 0x1005282e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x24fc
jge 0x10052885
and dword [ebp - 0x14], 0
jmp 0x10052844
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3a96
jge 0x10052883
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
xor ecx, dword [ebp - 0x1c]
mov eax, ecx
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x1005283d
jmp 0x10052827
jmp 0x10052811
jmp 0x100527f7
mov dword [ebp - 0x170], 0xffffffff
cmp dword [ebp - 0x6c], 0x44fc
jge 0x100528af
mov edx, dword [ebp - 0x98]
mov ecx, 0x1008bbb8
call fcn.100228da
mov dword [ebp - 0x14c], 1
push 3
lea ecx, [ebp - 0x16c]
call fcn.1001ff2e
and dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x15c], 0xffffffff
push 1
lea ecx, [ebp - 0x144]
call fcn.1001ff2e
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
jmp 0x100528ff
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10052915
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x150], 8
jmp 0x100528f8
mov dword [ebp - 0x10], 0
jmp 0x10052925
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10052941
push dword [ebp - 0x10]
lea ecx, [ebp - 0x16c]
call fcn.1001ffcc
mov dword [eax], 1
jmp 0x1005291e
mov dword [ebp - 0x10], 0
jmp 0x10052951
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10052967
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x160], 0x85c2f4fe
jmp 0x1005294a
push 0x5ca0
push 0x4ce4
push 0
lea eax, [ebp - 0x144]
push eax
push 0x1227
push 0x7020
push 0x5225
lea eax, [ebp - 0x10]
push eax
push 0
push 0x6520
push 1
push 0x2e9e
call fcn.10067988
add esp, 0x30
lea eax, [ebp - 0x124]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10058e8b
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push 0
call fcn.10066ae5
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.1001ffb0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.1001ffb0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x118]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + section.skkitslo]
mov ecx, dword [ebp - 0xb0]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x10052a4f
push 0x5299
push 0
push 0x272e
push 0
call fcn.1004ec41
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x10052db6
lea eax, [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x5c], 0x3e42
mov dword [ebp - 0xb8], 0x1000cd94
cmp dword [ebp - 0x5c], 0x3e8d
jle 0x10052af5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
and dword [ebp - 0x24], 0
jmp 0x10052aa9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e6b
jge 0x10052af5
and dword [ebp - 0x2c], 0
jmp 0x10052abf
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x869
jge 0x10052af3
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
mov ecx, 0x1008bbb8
call fcn.1001fc14
jmp 0x10052ab8
jmp 0x10052aa2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0x5c], 0x3c4f
jge 0x10052b17
mov edx, dword [ebp - 0xb8]
mov ecx, 0x1008bbb8
call fcn.100228da
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x10052c45
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x54], 0x586d
mov dword [ebp - 0xfc], 0x1000cdc8
cmp dword [ebp - 0x54], 0x5a21
jle 0x10052c06
and dword [ebp - 0x34], 0
jmp 0x10052b94
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb7f
jge 0x10052c06
and dword [ebp - 0x3c], 0
jmp 0x10052baa
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x3fa0
jge 0x10052c04
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x188]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x188]
call fcn.1001fbea
jmp 0x10052ba3
jmp 0x10052b8d
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0x54], 0x5749
jge 0x10052c27
push dword [ebp - 0xfc]
call fcn.100714f3
pop ecx
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 0x34], eax
jmp 0x10052db6
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x44], eax
push 1
mov ecx, dword [ebp - 0x50]
call fcn.1001ffcc
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10052ce5
mov dword [ebp - 0x64], 1
jmp 0x10052ce9
and dword [ebp - 0x64], 0
push 1
mov ecx, dword [ebp - 0x58]
call fcn.1001ffcc
mov eax, dword [eax]
cmp eax, dword [ebp - 0x64]
jg 0x10052d03
mov dword [ebp - 0x74], 1
jmp 0x10052d07
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x943c6fe2
jne 0x10052d19
mov dword [ebp - 0x60], 1
jmp 0x10052d1d
and dword [ebp - 0x60], 0
push 1
mov ecx, dword [ebp - 0x58]
call fcn.1001ffcc
mov eax, dword [eax]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx]
jge 0x10052d3c
mov dword [ebp - 0x40], 1
jmp 0x10052d40
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 0
jne 0x10052d5a
mov dword [ebp - 0x68], 1
jmp 0x10052d5e
and dword [ebp - 0x68], 0
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1001ffcc
mov eax, dword [eax]
cmp eax, dword [ebp - 0x68]
jle 0x10052d78
mov dword [ebp - 0x48], 1
jmp 0x10052d7c
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov esi, dword [eax]
imul esi, dword [ebp - 0x48]
push 2
mov ecx, dword [ebp - 0x50]
call fcn.1001ffcc
cmp esi, dword [eax]
jge 0x10052da7
mov dword [ebp - 0x70], 1
jmp 0x10052dab
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
cmp dword [ebp - 0x78], 0x710d
jge 0x10052dcf
mov edx, dword [ebp - 0xdc]
mov ecx, 0x1008bbb8
call fcn.100228da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret