Function at 0x4051c0
Capabilities:
Create thread
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f1795
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [str.rP_]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [str.rP_]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x150]
push eax
push 0
call dword [0x4fa280]
test eax, eax
je 0x405252
mov edi, dword [0x4fa2ac]
mov ebx, dword [0x4fa294]
xor esi, esi
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x164]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x405252
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x405227
lea edx, [esp + 0x90]
push edx
call dword [0x4fa268]
movzx ecx, word [esp + 0x90]
xor eax, eax
mov dword [esp + 0x115], eax
mov dword [esp + 0x119], eax
mov dword [esp + 0x11d], eax
mov dword [esp + 0x121], eax
mov word [esp + 0x125], ax
mov byte [esp + 0x127], al
movzx eax, word [esp + 0x92]
push eax
push ecx
push str.Singon__d__d
lea edx, [esp + 0x120]
mov byte [esp + 0x120], 0
call fcn.00405e00
add esp, 0xc
call dword [0x4fa270]
push str.3D66C561_FD36_40C4_89A8_7406132B97BC
push 0
push 0xf001f
mov edi, eax
call dword [0x4fa26c]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x40531a
push 0xfa4
push esi
push esi
push 0xf001f
push ebx
call dword [0x4fa2a8]
mov esi, eax
test esi, esi
je 0x405311
mov edx, dword [esi]
push 0xfa4
mov dword [esi + edx*4 + 4], edi
inc dword [esi]
push esi
call dword [0x4fa2a0]
push esi
call dword [0x4fa2a4]
push ebx
call dword [0x4fa274]
xor esi, esi
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov word [esp + 0x41], ax
mov byte [esp + 0x43], al
mov byte [esp + 0x128], al
mov dword [esp + 0x129], eax
mov dword [esp + 0x12d], eax
mov dword [esp + 0x131], eax
mov dword [esp + 0x135], eax
mov dword [esp + 0x139], eax
mov dword [esp + 0x13d], eax
mov dword [esp + 0x141], eax
mov dword [esp + 0x145], eax
mov byte [esp + 0x74], al
lea eax, [esp + 0x114]
mov byte [esp + 0x34], 0
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405395
sub eax, edx
push eax
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402a50
mov dword [esp + 0x268], esi
mov eax, dword [esp + 0x74]
mov edi, 0x10
cmp dword [esp + 0x88], edi
jae 0x4053cd
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xc0], 0x67452301
mov dword [esp + 0xc4], 0xefcdab89
mov dword [esp + 0xc8], 0x98badcfe
mov dword [esp + 0xcc], 0x10325476
call fcn.00423480
add esp, 4
lea esi, [esp + 0xbc]
lea ebx, [esp + 0x34]
call fcn.00423540
lea ecx, [esp + 0x128]
push ecx
mov edx, ebx
push edx
call fcn.004026b0
add esp, 8
xor ebx, ebx
lea eax, [esp + 0x128]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405460
sub eax, edx
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x60]
call fcn.00402a50
mov byte [esp + 0x268], 1
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x405491
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
call dword [0x4fa278]
mov esi, eax
call dword [0x4fa288]
cmp eax, 0xb7
jne 0x405537
push str.Found_an_Existing_Instance.
call dword [0x4fa2b4]
cmp esi, ebx
je 0x4054c3
push esi
call dword [0x4fa274]
mov byte [esp + 0x268], 0
cmp dword [esp + 0x6c], edi
jb 0x4054de
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00482674
add esp, 4
mov dword [esp + 0x268], 0xffffffff
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
cmp dword [esp + 0x88], edi
jb 0x405510
mov edx, dword [esp + 0x74]
push edx
call fcn.00482674
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004822c9
mov esp, ebp
pop ebp
ret
push str.Tpsp_Begin_to_Start.
call dword [0x4fa2b4]
push str.NtQueryInformationProcess
push 0x51126c
or ebx, 0xffffffff
call dword [0x4fa27c]
push eax
call dword [0x4fa284]
mov esi, eax
test esi, esi
je 0x4055b8
call dword [0x4fa2d4]
mov edi, eax
test edi, edi
je 0x4055b8
push 0
push 0x18
lea eax, [esp + 0x3c]
push eax
push 0
push edi
call esi
test eax, eax
jne 0x405584
mov ebx, dword [esp + 0x48]
push edi
mov edi, dword [0x4fa274]
call edi
cmp ebx, 0xffffffff
je 0x4055b8
push ebx
push 0
push 1
call dword [0x4fa29c]
mov esi, eax
test esi, esi
je 0x4055b1
push 0
push esi
call dword [0x4fa290]
push esi
call edi
jmp 0x4055c3
push str.GetParentProcessID_OpenProcess_failed.
jmp 0x4055bd
push str.GetParentProcessID_failed.
call dword [0x4fa2b4]
push 0x527140
call dword [0x4fa2cc]
push 0x19000
push 0x2800
push 0
call dword [0x4fa2c4]
mov dword [0x527160], eax
test eax, eax
jne 0x4055f0
push str._BugReport__HeapCreate_Failed__n
jmp 0x40560b
push 0x4038d0
push 1
call dword [0x4fa2bc]
mov dword [0x52715c], eax
test eax, eax
jne 0x405611
push str._BugReport__AddVectoredExceptionHandler_Failed__n
call dword [0x4fa2b4]
mov edi, dword [0x4fa298]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x50e220
push 0
push 0
mov dword [0x527360], 0x28
mov dword [0x527364], 0
mov dword [0x527368], 0x50e2ec
mov dword [0x52736c], 0x50e318
mov dword [0x527374], 0x50e220
call edi
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.00483145
add esp, 4
push 0
push 0
push ebx
mov esi, eax
push esi
push 0xffffffffffffffff
push 0x50e220
push 0
push 0
mov byte [esi + ebx], 0
call edi
mov edi, 0xf
mov eax, esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa0], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4056b0
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0xa8]
call fcn.00402a50
mov bl, 2
push esi
mov byte [esp + 0x26c], bl
call fcn.00483528
add esp, 4
push 0xffffffffffffffff
push 0
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00402c40
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x525be4
mov byte [esp + 0x274], 3
call fcn.00402c40
mov esi, 0x10
mov byte [esp + 0x268], bl
cmp dword [esp + 0x48], esi
jb 0x405739
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00482674
add esp, 4
lea ebx, [esp + 0x34]
mov dword [0x527378], 0x12c
mov dword [0x52737c], 0x278d00
mov dword [0x527380], 0xe10
call fcn.0044c180
mov byte [esp + 0x268], 4
cmp dword [eax + 0x14], esi
jb 0x405771
mov edi, dword [eax]
jmp 0x405773
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x40577d
xor ebx, ebx
jmp 0x4057c0
push esi
push esi
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [0x4fa28c]
mov esi, eax
xor ecx, ecx
lea eax, [esi + esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00483145
add esp, 4
push esi
mov ebx, eax
push ebx
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push eax
mov word [ebx + esi*2], ax
call dword [0x4fa28c]
xor esi, esi
mov byte [esp + 0x268], 2
cmp dword [esp + 0x48], 0x10
jb 0x4057dc
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00482674
add esp, 4
mov eax, 1
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
test byte [0x527470], al
jne 0x405856
or dword [0x527470], eax
mov byte [esp + 0x268], 5
xor edx, edx
mov eax, ebx
mov word [0x527454], dx
mov dword [0x527468], 7
mov dword [0x527464], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x405826
sub eax, edx
sar eax, 1
push eax
push ebx
mov ecx, 0x527454
call fcn.00405a90
push 0x4f92d0
call fcn.00482e37
add esp, 4
mov byte [esp + 0x268], 2
push ebx
call fcn.00483528
add esp, 4
cmp dword [0x527468], 8
jb 0x405874
mov eax, dword [0x527454]
mov dword [0x527384], eax
jmp 0x40587e
mov dword [0x527384], 0x527454
push 0x527360
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], esi
call fcn.004050c0
test eax, eax
jne 0x4058a8
mov edx, dword [esp + 0x14]
push edx
push esi
push 0x4051a0
call fcn.00483217
add esp, 0xc
call dword [0x4fa270]
push str.kernel32
mov ebx, eax
mov dword [esp + 0x18], esi
call dword [0x4fa27c]
cmp eax, esi
je 0x4058f6
push str.IsWow64Process
push eax
call dword [0x4fa284]
mov edi, eax
cmp edi, esi
je 0x4058e3
lea eax, [esp + 0x14]
push eax
call dword [0x4fa2d4]
push eax
call edi
cmp dword [esp + 0x14], esi
je 0x4058f6
push ebx
call fcn.0044d490
add esp, 4
cmp eax, esi
jne 0x4058fc
push ebx
call fcn.00424c20
mov edi, dword [0x4fa3d8]
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
je 0x405941
mov ebx, dword [0x4fa3dc]
mov esi, dword [0x4fa3e0]
lea esp, [esp]
lea edx, [esp + 0x18]
push edx
call ebx
lea eax, [esp + 0x18]
push eax
call esi
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
jne 0x405920
xor esi, esi
push str.Tpsp_Main_Thread_Exit.
call dword [0x4fa2b4]
push esi
call dword [0x4fa2b0]
int3