Function at 0x41c610
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, esp
mov dword [esi + 0x108], ebp
mov eax, dword [ebp + 0x10]
xor edx, edx
pcmpeqd xmm0, xmm0
dec edx
mov dword [esi + 8], eax
lea eax, [esi + 0x110]
mov dword [eax - 4], esp
mov dword [eax + 8], edx
mov dword [eax + 4], 0x425bd0
mov ecx, dword fs:[0]
mov dword [eax], ecx
lea ecx, [esi + 0xa0]
mov dword fs:[0], eax
mov dword [eax + 8], 1
lea eax, [esi + 0xc]
mov dword [esi + 0x18], edx
mov dword [esi + 0x10], ecx
mov dword [ecx + 0x60], edx
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x14], fcn.0040d920
mov dword [eax], edx
push eax
call fcn.0040f39a
mov dword [esi + 0x118], 2
lea ecx, [esi + 0xc]
push 0x4baea0
call fcn.00421478
mov dword [esi], eax
mov al, byte [ebp + 0x14]
lea edx, [esi + 7]
lea ecx, [esi + 0x104]
lea edi, [esi + 0x18]
lea ebx, [esi + 0x10]
mov byte [edx], 0
movzx eax, al
push ecx
push edi
push ebx
push dword [esi]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 0xc]
push ecx
push eax
push dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0041c930
add esp, 0x2c
mov ecx, dword [esi]
test al, al
je 0x41c7fb
xor eax, eax
lea edx, [esi + 0x24]
dec eax
mov word [edx + 8], 0xffff
mov dword [edx + 4], eax
mov dword [edx], eax
mov eax, dword [ecx]
push edx
push 0x49fb82
push 0x49fb78
call dword [eax + 0x18]
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
pcmpeqd xmm0, xmm0
mov dword [esi + 0x90], 0xffffffff
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov eax, edi
mov dword [esi], ecx
sub eax, ecx
cmp eax, 0x63
jl 0x41c778
add eax, 2
push eax
call fcn.00433c10
add esp, 4
test eax, eax
je 0x41c882
mov ecx, eax
jmp 0x41c77d
lea ecx, [esi + 0x30]
xor eax, eax
cmp byte [esi + 7], 0
je 0x41c787
mov byte [ecx], 0x2d
inc ecx
cmp dword [esi], edi
mov dword [esi + 8], eax
jae 0x41c7c1
mov eax, dword [esi]
lea ebx, [esi + 0x24]
mov dword [esi], ecx
mov cl, byte [eax]
mov edx, 0xa
mov edi, ebx
cmp byte [edi], cl
je 0x41c7a9
inc edi
dec edx
jne 0x41c79e
lea edi, [esi + 0x2e]
lea ebx, [esi + 0x24]
mov edx, dword [esi]
inc eax
sub edi, ebx
mov cl, byte [edi + 0x49fb78]
mov byte [edx], cl
mov ecx, edx
inc ecx
cmp eax, dword [esi + 0x18]
jb 0x41c793
mov byte [ecx], 0
lea eax, [esi + 0x30]
push dword [ebp + 0x20]
push 0x49fb83
push eax
call fcn.0041d370
add esp, 0xc
cmp eax, 1
jne 0x41c865
mov eax, dword [esi + 8]
test eax, eax
je 0x41c7f1
push eax
call fcn.00433c50
add esp, 4
mov dword [esi + 0x118], 2
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.004108a4
mov edi, dword [ebp + 8]
test al, al
je 0x41c814
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov dword [edi], eax
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x41c82d
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [esi + 0x10], ecx
test eax, eax
je 0x41c84d
mov dword [esi + 0x118], 0
push eax
call dword [esi + 0x14]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov eax, dword [esi + 8]
mov dword [esi + 0x118], 3
mov dword [esi + 0x1c], eax
push str.money_get_error
call fcn.0041d3be
add esp, 4
mov dword [esi + 0x1c], eax
mov dword [esi + 0x118], 3
call fcn.00425dec
push ebp
sub esp, 0x2c
lea esi, [ebp - 0x11c]
mov ebp, dword [esi + 0x108]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41c8b4
push eax
call fcn.00433c50
add esp, 4
add esp, 0x2c
pop ebp
ret