Function at 0x41dea0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x430a70
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd8]
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0x3c]
xor ebx, ebx
push ecx
mov byte [eax], bl
call fcn.0041e360
lea eax, [ebx + 0xa]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], ebx
call fcn.0041b020
mov edi, eax
mov eax, 0x4411d4
mov byte [esp + 0xb8], 1
call fcn.00404bf0
mov byte [esp + 0xb8], bl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00421bde
add esp, 4
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x1c]
call fcn.0041b020
mov edi, eax
mov eax, 0x4411e0
mov byte [esp + 0xb8], 2
call fcn.00404bf0
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x1c]
push eax
call fcn.00421bde
add esp, 4
lea eax, [ebx + 0x19]
lea ecx, [esp + 0x1c]
call fcn.0041b020
mov edi, eax
mov eax, 0x4411ec
mov byte [esp + 0xb8], 3
call fcn.00404bf0
mov byte [esp + 0xb8], bl
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00421bde
add esp, 4
lea eax, [ebx + 0x1a]
lea ecx, [esp + 0x1c]
call fcn.0041b020
mov edi, eax
mov eax, 0x4411f8
mov byte [esp + 0xb8], 4
call fcn.00404bf0
mov byte [esp + 0xb8], bl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00421bde
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
add esp, 4
lea eax, [esp + 0x40]
call fcn.00404bf0
mov edi, dword [esp + 0xc8]
lea eax, [esp + 0x4c]
call fcn.00404bf0
push 0x170
call fcn.00421cbb
add esp, 4
cmp eax, ebx
jne 0x41e00f
push 0x437fa8
lea ecx, [esp + 0x1f]
push ecx
mov byte [esp + 0x23], bl
call fcn.0042d7d5
mov dword [esp + 0x14], eax
push eax
mov byte [esp + 0xbc], 5
call fcn.0041d6d0
mov esi, eax
mov byte [esp + 0xb8], bl
mov dword [esp + 0x58], esi
cmp esi, ebx
je 0x41e03a
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x41e04a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x58]
add eax, 0x154
mov edi, ebp
mov dword [esp + 0x5c], esi
call fcn.00404bf0
cmp dword [ebp + 4], ebx
mov ecx, dword [esp + 0x58]
setne al
mov byte [ecx + 0x150], al
mov edx, dword [esp + 0x58]
mov al, byte [esp + 0xdc]
mov byte [edx + 0x169], al
cmp byte [esp + 0xcc], bl
je 0x41e29c
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041d990
cmp dword [esp + 0x9c], ebx
jne 0x41e2a6
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov eax, dword [edx + eax*4 - 4]
mov edi, dword [eax]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14]
push edx
push edi
call eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebx
jbe 0x41e1b0
xor ecx, ecx
xor edx, edx
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], dx
lea edx, [esp + 0x2c]
push edx
push 3
mov byte [esp + 0xc0], 6
mov ecx, dword [edi]
push eax
mov eax, dword [ecx + 0x18]
push edi
call eax
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x1c]
call fcn.00404b30
mov ecx, dword [eax]
movzx eax, word [ecx]
mov edx, 0x73
add ecx, 2
mov esi, 0x434852
cmp ax, dx
jb 0x41e137
cmp ax, dx
ja 0x41e13c
test ax, ax
je 0x41e143
movzx eax, word [ecx]
movzx edx, word [esi]
add ecx, 2
add esi, 2
cmp ax, dx
jae 0x41e11f
or eax, 0xffffffff
jmp 0x41e145
mov eax, 1
jmp 0x41e145
xor eax, eax
mov ecx, dword [esp + 0x1c]
test eax, eax
push ecx
sete bl
call fcn.00421bde
add esp, 4
test bl, bl
jne 0x41e180
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], bl
call fcn.00408620
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jb 0x41e0d2
jmp 0x41e1ae
mov eax, dword [esp + 0x5c]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
push eax
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
push edi
call edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x9c], eax
mov byte [esp + 0xb8], 0
call fcn.00408620
xor ebx, ebx
cmp dword [esp + 0x9c], ebx
jne 0x41e2a6
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x44]
push ecx
push 0x41de90
push ebx
push ebx
mov byte [esp + 0xd0], 7
call fcn.00421e86
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jne 0x41e208
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, ebx
jne 0x41e1fe
mov esi, 1
lea edx, [esp + 0x3c]
push edx
jmp 0x41e330
push 4
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00404e70
mov eax, 0x45
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 8
call fcn.0041b020
mov edi, eax
mov eax, esi
mov byte [esp + 0xb8], 9
call fcn.00404bf0
mov byte [esp + 0xb8], 8
mov eax, dword [esp + 0x2c]
push eax
call fcn.00421bde
mov eax, dword [esp + 0x5c]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, esi
push edx
push eax
call fcn.0041d5c0
mov byte [esp + 0xb8], 7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00421bde
add esp, 4
push ebp
mov byte [esp + 0xbc], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41e2a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e2a6
lea edx, [esp + 0x3c]
push edx
call fcn.0041dbc0
mov esi, dword [esp + 0xd4]
lea eax, [esp + 0xa0]
cmp eax, esi
je 0x41e2fb
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 4], ebx
mov word [ecx], dx
mov eax, dword [esp + 0xa4]
inc eax
cmp eax, dword [esi + 8]
je 0x41e2d5
push eax
call fcn.00404e70
mov edx, dword [esp + 0xa0]
mov ecx, dword [esi]
mov edi, edi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41e2e0
mov eax, dword [esp + 0xa4]
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
jne 0x41e311
mov edi, dword [esp + 0x58]
add edi, 0x144
mov eax, esi
call fcn.00404bf0
mov ecx, dword [esp + 0x58]
mov dl, byte [ecx + 0x140]
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x3c]
mov byte [eax], dl
push ecx
mov dword [esp + 0xbc], 0xffffffff
call fcn.0041e420
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20