Function at 0x421ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494a5a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1e3c
call fcn.00455710
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x1e38], eax
push ebx
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x1e50]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
mov dword [esp + 0x1c], edi
jne 0x421c12
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x3c]
lea eax, [esi - 1]
cmp eax, ebx
jle 0x421c0d
call fcn.0040dd70
sub esi, ebx
xor edx, edx
div esi
add edx, ebx
jmp 0x421c0f
mov edx, ebx
mov dword [edi + 0x44], edx
mov eax, dword [edi + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push eax
call ebx
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x42223d
mov esi, dword [eax + 0xc]
call fcn.0040dd70
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3e8
idiv ecx
cmp esi, edx
jle 0x42223d
cmp dword [edi + 0x48], 0
mov dword [esp + 0x20], 0
jbe 0x42235e
mov eax, dword [edi + 0x5c]
mov ecx, 1
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x10], ecx
jne 0x421c70
mov edx, dword [eax + 0x30]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
jle 0x422226
lea eax, [edi + 0x7c]
mov dword [esp + 0x28], eax
jmp 0x421c96
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ecx
push 0x465
push edx
call esi
cmp eax, 0xffffffff
jne 0x421ccf
push 0x3e8
call ebx
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
push 0
push eax
push 0x465
push ecx
call esi
cmp eax, 0xffffffff
je 0x421cb2
mov eax, dword [edi + 0x5c]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 4]
lea edx, [esi - 1]
cmp edx, ebx
jle 0x421cee
call fcn.0040dd70
sub esi, ebx
xor edx, edx
div esi
add edx, ebx
jmp 0x421cf0
mov edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x421d06
sub ecx, esi
mov esi, dword [esp + 0x28]
sar ecx, 1
push ecx
call fcn.00403500
push 0x7ff
xor ebx, ebx
lea eax, [esp + 0xe49]
push ebx
push eax
mov byte [esp + 0xe50], 0
call fcn.00446600
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov eax, esi
mov word [ecx + 4], dx
call fcn.004027a0
lea eax, [esp + 0x64]
push eax
call fcn.0040eab0
mov esi, 0x10
add esp, 0x20
cmp dword [eax + 0x18], esi
jb 0x421d7b
mov eax, dword [eax + 4]
jmp 0x421d7e
add eax, 4
push eax
lea ecx, [esp + 0xe48]
push 0x4aeaa4
push ecx
call fcn.0043f949
add esp, 0xc
cmp dword [esp + 0x60], esi
jb 0x421da7
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043f604
add esp, 4
lea eax, [esp + 0xe44]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421dc2
sub eax, edx
push eax
lea eax, [esp + 0xe48]
push eax
lea ecx, [esp + 0x50]
call fcn.004022f0
lea ecx, [esp + 0x48]
mov dword [esp + 0x1e58], ebx
push ecx
mov ebx, 0x4b9250
call fcn.0040ed80
or ebx, 0xffffffff
mov dword [esp + 0x1e58], ebx
cmp dword [esp + 0x60], esi
jb 0x421e10
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043f604
add esp, 4
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
push 1
push eax
push 0x465
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x5c]
mov eax, dword [edx + 0x10]
cmp eax, 1
jne 0x421e3a
cmp dword [edi + 0x58], 0
jne 0x422220
cmp eax, 6
jne 0x421e61
push str.AD418965_BA62_4742_83D1_650C23B92721
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x5c]
cmp dword [eax + 0x10], 8
jne 0x42220d
inc dword [0x4b8090]
push 8
call fcn.0043f6a7
add esp, 4
push 0xdc
mov esi, eax
call fcn.0043f6a7
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x1e58], 1
test eax, eax
je 0x421ea8
push eax
call fcn.00423f90
jmp 0x421eaa
xor eax, eax
mov dword [esp + 0x1e58], ebx
mov ecx, dword [edi + 0x5c]
mov edx, dword [0x4b8090]
mov dword [eax], ecx
push esi
push ecx
mov dword [esi], edx
mov dword [esi + 4], eax
call fcn.00423b80
add esp, 4
call fcn.00416600
push 0
push 0
push esi
push 0x421140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0xc4e]
push ecx
mov word [esp + 0xc50], ax
call fcn.00446600
mov edx, dword [0x4b8090]
add esp, 0xc
push edx
push str.EEFE71E9_8125_4b08_A99B_76C1FFF5DC0A__d
lea edx, [esp + 0xc4c]
call fcn.00423d20
add esp, 8
lea eax, [esp + 0xc44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401930
movzx esi, word [eax + 0xec]
call fcn.00401930
movzx eax, word [eax + 0xee]
mov ecx, dword [0x4b9204]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push 0
push 0
push 0
push 0
push 0
push 0x20
movzx esi, si
movzx eax, ax
push esi
push eax
call edx
push 0x208
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.00446600
add esp, 0xc
push str.SoftwareMicrosoft
lea ecx, [esp + 0x6c]
push 0x104
push ecx
mov dword [esp + 0x27c], 0
mov dword [esp + 0x70], reloc.WS2_32.dll_accept
call fcn.0043fd68
add esp, 0xc
cmp byte [0x4b92a0], 0
jne 0x421ff6
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x421fef
push 0x4b92a4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov byte [0x4b92a0], 1
cmp dword [0x4b92a4], 0
je 0x42200a
mov dword [esp + 0x270], 0x200
sub esp, 0x1c
mov dword [esp + 0x30], esp
call fcn.00401930
mov esi, esp
call fcn.0041f9c0
lea edi, [esp + 0x64]
call fcn.00403ee0
add esp, 0x1c
mov dword [esp + 0x1e58], 2
mov edx, dword [esp + 0x5c]
push edx
call fcn.0043cdff
mov ecx, dword [esp + 0x60]
add esp, 4
xor esi, esi
mov edi, eax
test ecx, ecx
jbe 0x422098
lea ecx, [ecx]
mov eax, str.fdhgdfgskftowiuetyogaldfjgsdiofuyaeousgdhfjasgfuyasodfuasdgfjhfgajsdghfasgdfuyg
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x422058
sub eax, ebx
mov ebx, eax
cmp esi, ecx
jbe 0x42206c
call fcn.0043fb41
cmp dword [esp + 0x60], 0x10
mov ecx, dword [esp + 0x4c]
jae 0x42207b
lea ecx, [esp + 0x4c]
mov eax, esi
xor edx, edx
div ebx
inc esi
mov al, byte [edx + str.fdhgdfgskftowiuetyogaldfjgsdiofuyaeousgdhfjasgfuyasodfuasdgfjhfgajsdghfasgdfuyg]
xor al, byte [ecx + esi - 1]
mov byte [esi + edi - 1], al
mov ecx, dword [esp + 0x5c]
cmp esi, ecx
jb 0x422050
push ecx
push edi
mov esi, str.6FE14B1E_464E_4942_85C4_5426E2E522B1
lea eax, [esp + 0x6c]
call fcn.00403790
push edi
call fcn.004400c4
add esp, 4
lea eax, [esp + 0x274]
call fcn.0040d850
mov byte [esp + 0x1e58], 3
mov byte [esp + 0x791], 1
call fcn.00401930
mov cx, word [eax + 0xec]
mov word [esp + 0x768], cx
call fcn.00401930
mov si, word [eax + 0xee]
push 0x4af
lea edx, [esp + 0x799]
push 0
push edx
mov word [esp + 0x776], si
mov byte [esp + 0x7a0], 0
call fcn.00446600
add esp, 0xc
cmp byte [esp + 0x791], 0
je 0x422149
movzx eax, word [esp + 0x768]
movzx edx, si
mov dword [esp + 0x14], eax
mov cx, ax
mov ax, dx
mov word [esp + 0x794], cx
mov dword [esp + 0x14], edx
mov word [esp + 0x796], ax
jmp 0x422177
movzx ecx, word [esp + 0x76c]
movzx eax, word [esp + 0x76e]
mov dword [esp + 0x14], ecx
mov dx, cx
mov cx, ax
mov word [esp + 0x794], dx
mov dword [esp + 0x14], eax
mov word [esp + 0x796], cx
xor ecx, ecx
lea esp, [esp]
mov eax, str.fdhgdfgskftowiuetyogaldfjgsdiofuyaeousgdhfjasgfuyasodfuasdgfjhfgajsdghfasgdfuyg
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x422188
sub eax, esi
mov esi, eax
xor edx, edx
mov eax, ecx
div esi
inc ecx
mov dl, byte [edx + str.fdhgdfgskftowiuetyogaldfjgsdiofuyaeousgdhfjasgfuyasodfuasdgfjhfgajsdghfasgdfuyg]
xor byte [esp + ecx + 0x793], dl
cmp ecx, 4
jl 0x422180
push 4
lea eax, [esp + 0x798]
push eax
mov esi, 0x4ad1d8
lea eax, [esp + 0x6c]
call fcn.00403790
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x34]
push 0
push 0x3e8
push 0x2715
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea esi, [esp + 0x274]
call fcn.0040d8f0
mov dword [esp + 0x1e58], 0xffffffff
cmp dword [esp + 0x60], 0x10
jb 0x422209
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043f604
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jl 0x421c90
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x48]
jb 0x421c58
jmp 0x42235e
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x422250
sub ecx, esi
sar ecx, 1
lea esi, [edi + 0x7c]
push ecx
call fcn.00403500
push 0x7ff
xor ebx, ebx
lea ecx, [esp + 0x1649]
push ebx
push ecx
mov byte [esp + 0x1650], 0
call fcn.00446600
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov eax, esi
mov word [ecx + 4], dx
call fcn.004027a0
lea eax, [esp + 0x64]
push eax
call fcn.0040eab0
mov esi, 0x10
add esp, 0x20
cmp dword [eax + 0x18], esi
jb 0x4222c4
mov eax, dword [eax + 4]
jmp 0x4222c7
add eax, 4
push eax
lea ecx, [esp + 0x1648]
push 0x4aeaa4
push ecx
call fcn.0043f949
add esp, 0xc
cmp dword [esp + 0x60], esi
jb 0x4222f0
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043f604
add esp, 4
lea eax, [esp + 0x1644]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422310
sub eax, edx
push eax
lea eax, [esp + 0x1648]
push eax
lea ecx, [esp + 0x34]
call fcn.004022f0
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x4b9250
mov dword [esp + 0x1e5c], 4
call fcn.0040ed80
cmp dword [esp + 0x44], esi
jb 0x422358
mov edx, dword [esp + 0x30]
push edx
call fcn.0043f604
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x50]
add eax, eax
push eax
call ebx
xor al, al
mov ecx, dword [esp + 0x1e50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e38]
xor ecx, esp
call fcn.0043f4b7
mov esp, ebp
pop ebp
ret