Function at 0x100c41e0
Capabilities:
Access peb ldr_data

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]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x110]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x100cf460
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0xa0]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
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 + 0xc], ecx
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x10], fcn.1007ce20
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 8]
mov dword [eax], edx
push eax
call fcn.100b9a9a
mov dword [esi + 0x118], 2
lea ecx, [esi + 8]
push 0x10254378
call fcn.100bc430
mov dword [esi + 4], eax
mov al, byte [ebp + 0x14]
lea ecx, [esi + 0x104]
lea edx, [esi + 3]
mov byte [edx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 0xc]
movzx eax, al
push ecx
push edi
push ebx
push dword [esi + 4]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 8]
push ecx
push eax
push dword [esi + 0x20]
lea eax, [ebp + 0xc]
push eax
call fcn.100cbbd0
add esp, 0x2c
mov ecx, dword [esi + 4]
test al, al
je 0x100c43da
lea edx, [esi + 0x24]
xor eax, eax
dec eax
mov dword [edx + 4], eax
mov dword [edx], eax
mov word [edx + 8], 0xffff
mov eax, dword [ecx]
push edx
push 0x1016d106
push 0x1016d0fc
call dword [eax + 0x18]
pcmpeqd xmm0, xmm0
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 dword [esi + 0x90], 0xffffffff
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov eax, edi
sub eax, ebx
cmp eax, 0x63
jl 0x100c4359
add eax, 2
push eax
call fcn.10114e13
add esp, 4
mov edx, eax
test eax, eax
jne 0x100c435e
mov dword [esi + 0x18], 0
mov dword [esi + 0x118], 3
call fcn.100cf81c
lea edx, [esi + 0x30]
xor eax, eax
cmp byte [esi + 3], 0
je 0x100c4368
mov byte [edx], 0x2d
inc edx
cmp ebx, edi
mov dword [esi + 4], eax
jae 0x100c43a0
lea eax, [esi + 0x2e]
mov cl, byte [ebx]
xor edi, edi
cmp byte [esi + edi + 0x24], cl
je 0x100c4386
inc edi
cmp edi, 0xa
jne 0x100c4376
mov ecx, eax
jmp 0x100c438c
lea ecx, [esi + edi]
add ecx, 0x24
lea edi, [esi + 0x24]
sub ecx, edi
mov cl, byte [ecx + 0x1016d0fc]
mov byte [edx], cl
inc ebx
inc edx
cmp ebx, dword [esi + 0x14]
jb 0x100c4372
mov byte [edx], 0
lea eax, [esi + 0x30]
push dword [ebp + 0x20]
push 0x1016d107
push eax
call fcn.10040860
add esp, 0xc
cmp eax, 1
jne 0x100c4446
mov eax, dword [esi + 4]
test eax, eax
je 0x100c43d0
push eax
call fcn.101140e0
add esp, 4
mov dword [esi + 0x118], 2
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.100ba380
mov edi, dword [ebp + 8]
test al, al
je 0x100c43f3
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x100c440c
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [esi + 0xc], 0
test eax, eax
je 0x100c442e
mov dword [esi + 0x118], 0
push eax
call dword [esi + 0x10]
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 + 4]
mov dword [esi + 0x18], eax
mov dword [esi + 0x118], 3
push str.money_get_error
call fcn.100bc3bb
add esp, 4
nop
push ebp
sub esp, 0x2c
lea esi, [ebp - 0x11c]
mov ebp, dword [esi + 0x108]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100c4484
push eax
call fcn.101140e0
add esp, 4
add esp, 0x2c
pop ebp
ret