Function at 0x547110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov ecx, dword [ebp + 0x14]
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
xor edi, edi
dec edi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x44ff40
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov dword [esi + 0x70], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [eax + 8], edx
lea eax, [esi + 0x78]
push eax
call fcn.004cb7c0
mov dword [esi + 0x128], 2
lea ecx, [esi + 0x78]
push 0x5f8bdc
call fcn.004cc5c0
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x28]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 2
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push 0x5d8eaa
push str.0123456789abcdefABCDEFxX_pPiInN
call ebx
mov edi, dword [esi + 0x78]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x5471f2
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor edx, edx
lea ecx, [esi + 8]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov dword [ecx], edx
xor eax, eax
cmp byte [ecx + 0xb], 0
sets al
neg eax
or eax, 0xa
mov dword [esi + 0x128], 1
push edx
push eax
call fcn.004cd5f0
lea ecx, [esi + 8]
xor ebx, ebx
push ebx
call fcn.004c6ea0
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], eax
mov dword [ecx], eax
push 0xa0
push 0xff
lea edi, [esi + 0x78]
push edi
call fcn.00510ea0
add esp, 0xc
lea eax, [esi + 0x30]
mov dword [eax], edi
lea eax, [esi + 0x2c]
mov dword [eax], ebx
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0053f020
test al, al
jne 0x5473a6
mov edi, dword [esi + 0x18]
cmp byte [esi + 0x13], 0
js 0x5472d8
lea ecx, [esi + 8]
call fcn.004c5cd0
add eax, dword [esi + 0x14]
cmp edi, eax
je 0x54732e
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x5472dd
movzx eax, word [eax]
movzx eax, ax
lea ecx, [esi + 0x40]
push ecx
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esi + 0x78]
push ecx
lea ecx, [esi + 0x20]
push ecx
push 0
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esi + 0x18]
push ecx
push dword [esi + 0x14]
push 0x10
push eax
call fcn.00547510
add esp, 0x28
test eax, eax
jne 0x5473a6
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x547304
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x547251
mov eax, dword [esi + 0xc]
jmp 0x547276
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 1
mov ecx, edi
call ebx
jmp 0x54728f
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x128], 1
mov ecx, edi
call ebx
jmp 0x547251
cmp byte [esi + 0x13], 0
jns 0x547385
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1c], eax
lea edi, [esi + 8]
add eax, eax
mov ecx, edi
push 0
push eax
call fcn.004cd5f0
mov eax, dword [esi + 0x10]
mov ecx, SysReAllocString
and eax, ecx
dec eax
cmp byte [esi + 0x13], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 8]
push 0
push eax
call fcn.004cd5f0
lea ecx, [esi + 8]
push 0
call fcn.004c6ea0
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [esi + 0x18], ecx
jmp 0x547281
lea edi, [esi + 8]
mov ecx, edi
call fcn.004c5cd0
mov dword [esi + 0x1c], eax
cmp byte [esi + 0x13], 0
jns 0x54739d
mov eax, dword [esi + 0xc]
jmp 0x54733d
mov ecx, edi
call fcn.004c5cd0
jmp 0x54733d
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
lea ecx, [esi + 8]
push 0
push eax
call fcn.004cd5f0
lea eax, [esi + 0x34]
push eax
call fcn.004cbee0
add esp, 4
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x13], 0
lea ecx, [esi + 8]
jns 0x5473d2
mov ecx, dword [esi + 8]
push dword [ebp + 0x1c]
push eax
push 0x5d5de1
push ecx
call fcn.00544fd0
add esp, 0x10
mov edi, eax
mov ebx, dword [esi + 0x3c]
test ebx, ebx
jne 0x547453
cmp edi, 1
je 0x5473fb
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0053f020
test al, al
je 0x547411
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x13], 0
jns 0x54742a
push dword [esi + 8]
call fcn.0050d60e
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x54743b
push dword [esi + 0x20]
call fcn.0050d60e
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00542120
push ebx
call fcn.0050d60e
add esp, 4
jmp 0x5473ed