Function at 0x4d1a10
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 + 0x2c], eax
lea eax, [esi + 0x110]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x41f8d0
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 + 0x28], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x10], fcn.004c5510
mov dword [esi + 0x20], edx
mov dword [eax + 8], 1
lea eax, [esi + 8]
mov dword [eax], edx
push eax
call fcn.00461c00
mov dword [esi + 0x118], 2
lea ecx, [esi + 8]
push 0x5551b4
call fcn.00462a00
mov dword [esi + 4], eax
mov al, byte [ebp + 0x14]
lea edx, [esi + 0x104]
lea ecx, [esi + 3]
mov byte [ecx], 0
lea edi, [esi + 0x20]
lea ebx, [esi + 0xc]
movzx eax, al
push edx
push edi
push ebx
push dword [esi + 4]
push ecx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 8]
push ecx
push eax
push dword [esi + 0x2c]
lea eax, [ebp + 0xc]
push eax
call fcn.004d1e10
add esp, 0x2c
mov ebx, dword [esi + 4]
test al, al
je 0x4d1c5e
lea edx, [esi + 0x14]
xor ecx, ecx
dec ecx
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov word [edx + 8], 0xffff
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
mov dword [esi + 0x118], ecx
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x118], 2
mov ecx, ebx
lea eax, [esi + 0x14]
push eax
push 0x538c8c
push 0x538c82
call edi
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 ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0xc]
mov eax, ecx
sub eax, ebx
cmp eax, 0x63
jl 0x4d1bac
add eax, 2
push eax
mov edi, ecx
call fcn.00468190
mov ecx, edi
add esp, 4
mov edi, eax
test eax, eax
jne 0x4d1bb1
mov dword [esi + 0x24], 0
mov dword [esi + 0x118], 3
call fcn.004da220
lea edi, [esi + 0x30]
xor eax, eax
cmp byte [esi + 3], 0
je 0x4d1bbb
mov byte [edi], 0x2d
inc edi
cmp ebx, ecx
mov dword [esi + 4], eax
jae 0x4d1c24
xor eax, eax
inc eax
mov cl, byte [ebx]
xor edx, edx
cmp byte [esi + 0x14], cl
je 0x4d1c15
mov edx, eax
cmp byte [esi + 0x15], cl
je 0x4d1c15
mov edx, 2
cmp byte [esi + 0x16], cl
je 0x4d1c15
mov edx, 3
cmp byte [esi + 0x17], cl
je 0x4d1c15
mov edx, 4
cmp byte [esi + 0x18], cl
je 0x4d1c15
mov edx, 5
cmp byte [esi + 0x19], cl
je 0x4d1c15
mov edx, 6
cmp byte [esi + 0x1a], cl
je 0x4d1c15
mov edx, 7
cmp byte [esi + 0x1b], cl
jne 0x4d1cf0
mov cl, byte [edx + 0x538c82]
mov byte [edi], cl
inc ebx
inc edi
cmp ebx, dword [esi + 0x20]
jb 0x4d1bc5
mov byte [edi], 0
lea eax, [esi + 0x30]
push dword [ebp + 0x20]
push 0x538c8d
push eax
call fcn.0041bb80
add esp, 0xc
cmp eax, 1
jne 0x4d1d14
mov eax, dword [esi + 4]
test eax, eax
je 0x4d1c54
push eax
call fcn.004681e0
add esp, 4
mov dword [esi + 0x118], 2
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0045bb70
mov ecx, dword [ebp + 8]
test al, al
je 0x4d1c77
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x4d1ca6
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x118], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], 0
test edi, edi
je 0x4d1cd7
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x118], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x118], 0
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov edx, 8
cmp byte [esi + 0x1c], cl
je 0x4d1c15
xor edx, edx
cmp byte [esi + 0x1d], cl
sete dl
mov ecx, edx
mov edx, 0xa
sub edx, ecx
jmp 0x4d1c15
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x118], 3
push str.money_get_error
call fcn.004d2b90
add esp, 4
nop word cs:[eax + eax]
push ebp
sub esp, 0x2c
lea esi, [ebp - 0x11c]
mov ebp, dword [esi + 0x108]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4d1d60
push eax
call fcn.004681e0
add esp, 4
add esp, 0x2c
pop ebp
ret