Function at 0x421f08
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov eax, 0x499b27
call fcn.00497330
sub esp, 0x44
push ebx
push esi
push edi
mov edi, 0x4cb658
mov dword [0x4cb658], 0x4b7e6c
mov dword [ebp - 0x18], edi
mov dword [0x4cb65c], 0x4b7e60
mov dword [0x4cb660], 0x4b7e54
call fcn.00439f9c
mov dword [0x4cb668], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, 0x4cb66c
call fcn.00407b50
xor ebx, ebx
mov ecx, 0x4cb688
push ebx
mov dword [ebp - 4], ebx
call fcn.0040c4a3
mov dword [0x4cb688], 0x4b3b9c
mov ecx, 0x4cb690
mov byte [ebp - 4], 1
call fcn.0043269a
mov byte [ebp - 4], 2
push 0x18
mov dword [0x4cb790], ebx
mov dword [0x4cb794], ebx
call fcn.00403d08
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x4cb790], eax
mov dword [0x4cb7bc], ebx
mov dword [0x4cb7c0], ebx
mov dword [0x4cb7c4], 1
mov dword [ebp - 0x40], ebx
push 0xf
mov dword [ebp - 0x30], ebx
pop ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x4cb7c8
call fcn.004367dc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00403b90
push edi
call fcn.00421ea0
push eax
mov ecx, 0x4cb970
call fcn.00412798
mov esi, 0x4cba58
mov byte [ebp - 4], 8
push 0
mov ecx, esi
call fcn.0041467c
and dword [0x4cba68], 0
push 0x4cba6c
mov dword [0x4cba58], 0x4b49cc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov dword [0x4cba90], 0x4cb65c
push eax
push eax
push esi
push 0x413fa8
mov dword [0x4cba84], eax
mov dword [0x4cba88], eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4cba8c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
push ecx
push 0x4cb660
call fcn.00421ea0
push eax
mov ecx, 0x4cba98
call fcn.00411d4e
lea ecx, [ebp - 0x40]
call fcn.00403b90
or dword [0x4cbd6c], 0xffffffff
xor eax, eax
mov dword [0x4cbd60], eax
mov dword [0x4cbd64], 3
mov dword [0x4cbd68], eax
mov word [0x4cbd74], ax
mov dword [0x4cbd78], eax
mov dword [0x4cbd88], eax
mov dword [0x4cbd8c], 7
mov byte [ebp - 4], bl
push eax
mov byte [0x4cbd90], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [0x4cb668]
xor ebx, ebx
mov dword [0x4cb664], eax
mov dword [ebp - 0x14], ebx
call fcn.0042233b
cmp dword [eax + 0x14], 0x10
jb 0x4220e8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0043a084
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x24], 0
jbe 0x42210f
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_AddFontMemResourceEx]
mov ecx, edi
call fcn.00422528
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x4cb684], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x40], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x3f], al
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4b7e30
mov dword [ebp - 0x48], 0x422486
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0x11
push ecx
mov ecx, 0x4cb9e0
call fcn.0040e430
lea ecx, [ebp - 0x50]
call fcn.0040e4ba
lea ecx, [ebp - 0x28]
call fcn.00403f37
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret