Function at 0x47f8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov esi, esp
mov dword [esi + 0x178], ebp
lea edi, [esi + 0x180]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x4199c0
mov eax, dword fs:[0]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x3c], eax
mov dword fs:[0], edi
mov eax, 0xc8
lea ebx, [esi + 0xb0]
push eax
push 0xff
push ebx
call fcn.00450040
add esp, 0xc
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], fcn.00472860
xor ecx, ecx
dec ecx
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [eax], ecx
mov dword [esi + 0x38], ebx
mov dword [edi + 8], 1
mov ecx, dword [ebp + 0x18]
push eax
call fcn.004323e0
mov dword [esi + 0x188], 2
lea ecx, [esi + 0xc]
push 0x4bae0c
call fcn.00432d50
mov dword [esi + 8], eax
mov bl, byte [ebp + 0x14]
lea eax, [esi + 0xb0]
mov ecx, 0xc8
add eax, ecx
lea ecx, [esi + 7]
mov byte [ecx], 0
lea edx, [esi + 0x30]
lea edi, [esi + 0x28]
movzx ebx, bl
push eax
push edx
push edi
push dword [esi + 8]
push ecx
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [eax + 4]
lea eax, [esi + 0xc]
push eax
push ebx
push dword [esi + 0x3c]
lea eax, [ebp + 0xc]
push eax
call fcn.0047fcc0
add esp, 0x2c
mov ebx, dword [esi + 8]
test al, al
je 0x47fb38
lea edx, [esi + 0x10]
xor ecx, ecx
dec ecx
mov dword [edx + 0x10], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [edx], xmm0
mov eax, dword [ebx]
mov edi, dword [eax + 0x28]
mov dword [esi + 0x188], ecx
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x188], 2
mov ecx, ebx
lea eax, [esi + 0x10]
push eax
push 0x4a9d4b
push str.0123456789
call edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], 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
mov dword [esi + 0xa0], 0xffffffff
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x28]
mov eax, edi
sub eax, ebx
cmp eax, 0xc5
jl 0x47fa79
shr eax, 1
add eax, 2
push eax
call fcn.00437880
add esp, 4
mov ecx, eax
test eax, eax
jne 0x47fa7e
mov dword [esi + 0x34], 0
mov dword [esi + 0x188], 3
call fcn.004870a0
lea ecx, [esi + 0x40]
xor eax, eax
cmp byte [esi + 7], 0
je 0x47fa88
mov byte [ecx], 0x2d
inc ecx
cmp ebx, edi
mov dword [esi + 8], eax
jae 0x47fafc
lea edx, [esi + 0x10]
mov eax, ecx
movzx ecx, word [ebx]
mov edi, edx
cmp word [esi + 0x10], cx
je 0x47fae2
lea edi, [esi + 0x12]
cmp word [esi + 0x12], cx
je 0x47fae2
lea edi, [esi + 0x14]
cmp word [esi + 0x14], cx
je 0x47fae2
lea edi, [esi + 0x16]
cmp word [esi + 0x16], cx
je 0x47fae2
lea edi, [esi + 0x18]
cmp word [esi + 0x18], cx
je 0x47fae2
lea edi, [esi + 0x1a]
cmp word [esi + 0x1a], cx
je 0x47fae2
lea edi, [esi + 0x1c]
cmp word [esi + 0x1c], cx
je 0x47fae2
lea edi, [esi + 0x1e]
cmp word [esi + 0x1e], cx
jne 0x47fbca
lea edx, [esi + 0x10]
sub edi, edx
sar edi, 1
mov cl, byte [edi + str.0123456789]
mov byte [eax], cl
add ebx, 2
inc eax
cmp ebx, dword [esi + 0x30]
jb 0x47fa94
jmp 0x47fafe
mov eax, ecx
mov byte [eax], 0
lea eax, [esi + 0x40]
push dword [ebp + 0x20]
push 0x4a9d2d
push eax
call fcn.00416640
add esp, 0xc
cmp eax, 1
jne 0x47fbec
mov eax, dword [esi + 8]
test eax, eax
je 0x47fb2e
push eax
call fcn.004378d0
add esp, 4
mov dword [esi + 0x188], 2
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.004724b0
mov ecx, dword [ebp + 8]
test al, al
je 0x47fb51
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x47fb80
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x188], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edi, dword [esi + 0x28]
mov dword [esi + 0x28], 0
test edi, edi
je 0x47fbb1
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x188], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x188], 0
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0x180]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
lea edi, [esi + 0x20]
cmp word [esi + 0x20], cx
je 0x47fae2
lea edi, [esi + 0x22]
cmp word [esi + 0x22], cx
je 0x47fae2
lea edi, [esi + 0x24]
jmp 0x47fae2
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x188], 3
push str.money_get_error
call fcn.0047f1c0
add esp, 4
nop dword [eax]
push ebp
sub esp, 0x2c
lea esi, [ebp - 0x18c]
mov ebp, dword [esi + 0x178]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x47fc30
push eax
call fcn.004378d0
add esp, 4
add esp, 0x2c
pop ebp
ret