Function at 0x41dc60
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42d4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437024]
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.0041e160
lea eax, [ebx + 0xa]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], ebx
call fcn.0041b000
mov edi, eax
mov eax, 0x43c0d4
mov byte [esp + 0xb8], 1
call fcn.00404be0
mov byte [esp + 0xb8], bl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420d1e
add esp, 4
lea eax, [ebx + 0x18]
lea ecx, [esp + 0x1c]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c0e0
mov byte [esp + 0xb8], 2
call fcn.00404be0
mov byte [esp + 0xb8], bl
mov eax, dword [esp + 0x1c]
push eax
call fcn.00420d1e
add esp, 4
lea eax, [ebx + 0x19]
lea ecx, [esp + 0x1c]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c0ec
mov byte [esp + 0xb8], 3
call fcn.00404be0
mov byte [esp + 0xb8], bl
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420d1e
add esp, 4
lea eax, [ebx + 0x1a]
lea ecx, [esp + 0x1c]
call fcn.0041b000
mov edi, eax
mov eax, 0x43c0f8
mov byte [esp + 0xb8], 4
call fcn.00404be0
mov byte [esp + 0xb8], bl
mov edx, dword [esp + 0x1c]
push edx
call fcn.00420d1e
mov eax, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
add esp, 4
lea eax, [esp + 0x40]
call fcn.00404be0
mov edi, dword [esp + 0xc8]
lea eax, [esp + 0x4c]
call fcn.00404be0
push 0x170
call fcn.00420dfb
add esp, 4
cmp eax, ebx
jne 0x41ddcf
push 0x433bc0
lea ecx, [esp + 0x1f]
push ecx
mov byte [esp + 0x23], bl
call fcn.0042a275
mov dword [esp + 0x14], eax
push eax
mov byte [esp + 0xbc], 5
call fcn.0041d680
mov esi, eax
mov byte [esp + 0xb8], bl
mov dword [esp + 0x58], esi
cmp esi, ebx
je 0x41ddfa
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x41de0a
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.00404be0
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 0x41e05c
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041d960
cmp dword [esp + 0x9c], ebx
jne 0x41e09e
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 0x41df70
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, 0x430832
cmp ax, dx
jb 0x41def7
cmp ax, dx
ja 0x41defc
test ax, ax
je 0x41df03
movzx eax, word [ecx]
movzx edx, word [esi]
add ecx, 2
add esi, 2
cmp ax, dx
jae 0x41dedf
or eax, 0xffffffff
jmp 0x41df05
mov eax, 1
jmp 0x41df05
xor eax, eax
mov ecx, dword [esp + 0x1c]
test eax, eax
push ecx
sete bl
call fcn.00420d1e
add esp, 4
test bl, bl
jne 0x41df40
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], bl
call fcn.004084d0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jb 0x41de92
jmp 0x41df6e
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.004084d0
xor ebx, ebx
cmp dword [esp + 0x9c], ebx
jne 0x41e09e
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x44]
push ecx
push 0x41dc50
push ebx
push ebx
mov byte [esp + 0xd0], 7
call fcn.00420fc6
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jne 0x41dfc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, ebx
jne 0x41dfbe
mov esi, 1
lea edx, [esp + 0x3c]
push edx
jmp 0x41e126
push 4
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00404e60
mov eax, 0x45
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 8
call fcn.0041b000
mov edi, eax
mov eax, esi
mov byte [esp + 0xb8], 9
call fcn.00404be0
mov byte [esp + 0xb8], 8
mov eax, dword [esp + 0x2c]
push eax
call fcn.00420d1e
mov eax, dword [esp + 0x5c]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, esi
push edx
push eax
call fcn.0041d580
mov byte [esp + 0xb8], 7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00420d1e
add esp, 4
push ebp
mov byte [esp + 0xbc], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41e09e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e09e
cmp byte [esp + 0x94], bl
jne 0x41e078
lea edx, [esp + 0x3c]
push edx
call fcn.0041d960
cmp dword [esp + 0x9c], ebx
jne 0x41e09e
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push ebx
push 0xffffffffffffffff
push ebx
push eax
call edx
mov dword [esp + 0x9c], eax
mov esi, dword [esp + 0xd4]
lea eax, [esp + 0xa0]
cmp eax, esi
je 0x41e0f1
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 0x41e0cd
push eax
call fcn.00404e60
mov edx, dword [esp + 0xa0]
mov ecx, dword [esi]
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41e0d6
mov eax, dword [esp + 0xa4]
mov dword [esi + 4], eax
cmp dword [esi + 4], ebx
jne 0x41e107
mov edi, dword [esp + 0x58]
add edi, 0x144
mov eax, esi
call fcn.00404be0
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.0041e220
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