Function at 0x547400
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], 0x442380
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.00508060
add esp, 0xc
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], fcn.00535c80
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.004d9660
mov dword [esi + 0x188], 2
lea ecx, [esi + 0xc]
push 0x6058fc
call fcn.004d9fd0
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.005477e0
add esp, 0x2c
mov ebx, dword [esi + 8]
test al, al
je 0x547658
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 0x5dee8b
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 0x547599
shr eax, 1
add eax, 2
push eax
call fcn.004e8530
add esp, 4
mov ecx, eax
test eax, eax
jne 0x54759e
mov dword [esi + 0x34], 0
mov dword [esi + 0x188], 3
call fcn.0054ec40
lea ecx, [esi + 0x40]
xor eax, eax
cmp byte [esi + 7], 0
je 0x5475a8
mov byte [ecx], 0x2d
inc ecx
cmp ebx, edi
mov dword [esi + 8], eax
jae 0x54761c
lea edx, [esi + 0x10]
mov eax, ecx
movzx ecx, word [ebx]
mov edi, edx
cmp word [esi + 0x10], cx
je 0x547602
lea edi, [esi + 0x12]
cmp word [esi + 0x12], cx
je 0x547602
lea edi, [esi + 0x14]
cmp word [esi + 0x14], cx
je 0x547602
lea edi, [esi + 0x16]
cmp word [esi + 0x16], cx
je 0x547602
lea edi, [esi + 0x18]
cmp word [esi + 0x18], cx
je 0x547602
lea edi, [esi + 0x1a]
cmp word [esi + 0x1a], cx
je 0x547602
lea edi, [esi + 0x1c]
cmp word [esi + 0x1c], cx
je 0x547602
lea edi, [esi + 0x1e]
cmp word [esi + 0x1e], cx
jne 0x5476ea
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 0x5475b4
jmp 0x54761e
mov eax, ecx
mov byte [eax], 0
lea eax, [esi + 0x40]
push dword [ebp + 0x20]
push 0x5dee6d
push eax
call fcn.0043ef20
add esp, 0xc
cmp eax, 1
jne 0x54770c
mov eax, dword [esi + 8]
test eax, eax
je 0x54764e
push eax
call fcn.004e8580
add esp, 4
mov dword [esi + 0x188], 2
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00534580
mov ecx, dword [ebp + 8]
test al, al
je 0x547671
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 0x5476a0
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 0x5476d1
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 0x547602
lea edi, [esi + 0x22]
cmp word [esi + 0x22], cx
je 0x547602
lea edi, [esi + 0x24]
jmp 0x547602
mov eax, dword [esi + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x188], 3
push str.money_get_error
call fcn.00546ce0
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 0x547750
push eax
call fcn.004e8580
add esp, 4
add esp, 0x2c
pop ebp
ret