Function at 0x10137890
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], 0x10140520
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 + 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x18], fcn.1002a710
mov dword [esi + 0x10], edx
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + 0xc]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [eax + 8], 1
push 0x102b4aa0
call fcn.1013c896
mov dword [esi + 8], eax
mov al, byte [ebp + 0x14]
lea ebx, [esi + 7]
mov byte [ebx], 0
movzx eax, al
lea ecx, [ebp + 0xc]
mov edx, dword [esi + 0x20]
lea edi, [esi + 0x104]
push edi
lea edi, [esi + 0x10]
push edi
lea edi, [esi + 0x14]
push edi
push dword [esi + 8]
push ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
push dword [edi + 4]
lea edi, [esi + 0xc]
push edi
push eax
call fcn.10137b70
add esp, 0x24
mov ecx, dword [esi + 8]
test al, al
je 0x10137a76
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 0x10261d4c
push 0x10261d42
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 + 0x10]
mov ebx, dword [esi + 0x14]
mov eax, edi
sub eax, ebx
cmp eax, 0x63
jl 0x101379f9
add eax, 2
push eax
call fcn.10170ad0
add esp, 4
mov edx, eax
test eax, eax
jne 0x101379fe
mov dword [esi + 0x1c], 0
mov dword [esi + 0x118], 2
call fcn.101406fc
lea edx, [esi + 0x30]
xor eax, eax
cmp byte [esi + 7], 0
je 0x10137a08
mov byte [edx], 0x2d
inc edx
cmp ebx, edi
mov dword [esi + 8], eax
jae 0x10137a40
lea eax, [esi + 0x2e]
mov cl, byte [ebx]
xor edi, edi
cmp byte [esi + edi + 0x24], cl
je 0x10137a26
inc edi
cmp edi, 0xa
jne 0x10137a16
mov ecx, eax
jmp 0x10137a2c
lea ecx, [esi + edi]
add ecx, 0x24
lea edi, [esi + 0x24]
sub ecx, edi
mov cl, byte [ecx + 0x10261d42]
mov byte [edx], cl
inc ebx
inc edx
cmp ebx, dword [esi + 0x10]
jb 0x10137a12
mov byte [edx], 0
lea eax, [esi + 0x30]
push dword [ebp + 0x20]
push 0x10263494
push eax
call fcn.101387bb
add esp, 0xc
cmp eax, 1
jne 0x10137adb
mov eax, dword [esi + 8]
test eax, eax
je 0x10137a6c
push eax
call fcn.10170af0
add esp, 4
mov dword [esi + 0x118], 1
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.1002ebde
mov edi, dword [ebp + 8]
test al, al
je 0x10137a8f
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x10137aa8
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10137ac3
mov dword [esi + 0x118], 0
push eax
call dword [esi + 0x18]
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 + 0x1c], eax
mov dword [esi + 0x118], 2
push str.money_get_error
call fcn.10138809
add esp, 4
push ebp
sub esp, 0x24
lea esi, [ebp - 0x11c]
mov ebp, dword [esi + 0x108]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10137b18
push eax
call fcn.10170af0
add esp, 4
add esp, 0x24
pop ebp
ret