Function at 0x413340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4372c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x448458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x43ed3d
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004018e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x640
push str.cy53cTU4MS5jb218MTIzLm5tZW51Lm5ldHxiYWlidS5jb218c29nb3VscC5jb20vaW5kZXh8d3d3dGVzdC5zb2dvdS5jb218c2hvcGluZy5jb218d3d3Lm1vaGUxMjMuY29tfHZpcC5zb3NvLmNvbXx3d3cuNzI1OC5uZXR8d3d3LmhhbzI2MjkuY29tfC52MjMyLmNvbXx3d3cuMzQ1Ni5jb218d3d3LnBjOTE4Lm5ldHx3d3cuZ2RpY29vdS5jb20rZ3VpZGV8OC5pY29vdS5jb20vc29nb3UvfHd3dy55b3VkYW8uY29tL258d3d3LjU4bnkuY29tfHdiLnNvc28uY29tfHd3dy5zb3NvLmNvbSt3YmhwfDEyMy5zb2dvdS5jb20vPy03MTAyMS03MTAyNi03MTAzM3x3d3cudGFvMTIzLmNvbS8_fDIzNDUuY29tLWFkMTIzNDUtZGlhbnlpbmctdi4yMzQ1LmNvbXxodW85OS5jb218d3d3LjEyMzE4d2IuY29tfHd3dy4xMjMxOHdoLmNvbXx3d3cub2pqeXkuY29tfHd3dy4xOXNvLmNufHd3dy5zb2dvdXNlYXJjaC5jb218bW0uMDc1NXBhc3MuY29tfHd3dy5zenNwcmluZy5jb218d3d3LnkxZC5uZXR8dW4uNTh3Yi5jb218d3d3LjE1NS5jb218d3d3LmhhbzEyMy41NGh3LmNvbXx3d3cuODAzMTI2LmNvbXx3d3cuNTMzNC5jb218d3d3LnYyMzIuY258d3d3LmRoMTguY29tfGhhby4zNjAuY24td2JsbXx0Zy5obHkuY29tL3difDEyMy5zb2dvdS5jb20vd2IvfHd3dy41OG55LmNvbXx3d3cuNTU2Ni5uZXR8aW5kZXguc28xMTguY258d2JpbmRleC5jbnwxMjMuMTlzby5jbnxhZC56emluZm9yLmNuL25tZW51Lmh0bWx8d3d3LjkxN3diLmNvbXx3d3cudGlxaWFuOC5jb218aW5kZXgud2JnZ2xtLmNvbXx3d3cuaWUzNjguY29tfHd3dy5oYW8yMzI2LmNvbXx3d3cuNjMzdy5jb218d3d3Lnd6NTguY29tfHd3dy4zNDU2LmNjfHd3dy42MjAwLmNjfHd3dy5zbzI2LmNvbXxiYXJob21lLmppbmFuODAwLmNvbXx3d3cuc29nb3U1OC5jb218d3d3Lnd6bi5jb20vaW5kZXhfd2IuaHRtbHwxMjMua2Vkb3UuY29tL3d3dy53YmxvdmUuY29tL2luZGV4LmFzcHh8d3d3LmR1YmEuY29tfHd3dy41OGtuLmNvbXx3d3cuNThhcS5jb218d3d3LmhhbzEyMy5jb20vP3RuLTk5ODk1NzE1Xy05NDA4MTIyMV8tOTU4OTE5NDBfLTk4MDk3MTMzXy05NDkyODg2Nl8tOTQ4NDI5MzVffHd3dy5oYW8xMjMuY29tLz9zcmMtMTAwMDI1MDVfLTk0OTA1Mjg1Xy05ODA5NzEzM18tOTQ5Mjg4NjZfLTk0ODQyOTM1Xw0KMTIzLnNvZ291LmNvbS8_NzEwNjMtNTAyOQ0KRmFsc2U
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004018e0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
call fcn.00421b30
add esp, 4
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x4133fd
push dword [ebp - 0x28]
call fcn.004238d6
add esp, 4
test bl, bl
jne 0x4134c4
push 2
push 0x43f6fc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], bl
call fcn.004018e0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00421030
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x413450
push dword [ebp - 0x28]
call fcn.004238d6
add esp, 4
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jne 0x4134ae
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x413479
mov eax, dword [eax]
push eax
push 0x43ed38
call fcn.00423008
test eax, eax
lea edx, [esi + 0x18]
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.00420650
add esp, 0xc
test eax, eax
je 0x4134ae
push eax
push 0
push 0x413220
call fcn.004251bf
add esp, 0xc
test esi, esi
je 0x4134c4
push dword [ebp - 0x48]
push esi
call fcn.00401b50
push esi
call fcn.004238d6
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x4134d5
push dword [ebp - 0x40]
call fcn.004238d6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret