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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52aefd
mov eax, dword fs:[0]
push eax
sub esp, 0x7e8
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x7e0], eax
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x7f8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x800], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], vtable.CUseDll.0
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x800], 1
mov eax, dword [0x559ef0]
mov edx, dword [eax + 0xc]
mov ecx, 0x559ef0
call edx
add eax, 0x10
mov dword [esp + 0x70], eax
mov byte [esp + 0x800], 2
push 0x18
mov byte [esp + 0x70], bl
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], ebx
call fcn.005134b2
add esp, 4
cmp eax, ebx
je 0x4c4c46
mov dword [eax + 4], ebx
mov dword [eax], vtable.CUseDll.0
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], bl
jmp 0x4c4c48
xor eax, eax
mov dword [esp + 0x68], eax
push 1
lea esi, [esp + 0x40]
mov byte [esp + 0x804], 3
call fcn.004a6460
test al, al
je 0x4c4e54
mov eax, dword [edi + 0xa888]
cmp eax, ebx
je 0x4c4e54
push eax
lea esi, [esp + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004fcba0
mov byte [esp + 0x800], 4
cmp dword [esp + 0x34], ebx
jg 0x4c4d01
lea edx, [esp + 0x7c]
call fcn.00401d20
push 0x104
lea eax, [esp + 0x5e0]
push eax
mov byte [esp + 0x808], 5
call fcn.004022b0
test al, al
je 0x4c4cd3
lea ecx, [esp + 0x5dc]
push ecx
mov eax, esi
call fcn.004fcf00
lea esi, [esp + 0x7c]
mov byte [esp + 0x800], 6
call fcn.004371e0
lea edx, [esp + 0xf0]
push edx
call fcn.00437b40
mov eax, esi
push eax
mov byte [esp + 0x804], 4
call fcn.00436b50
mov eax, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x4c4df6
jmp 0x4c4d20
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
lea edi, [esp + 0x40]
call fcn.004a6520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x800], 7
call fcn.004fce50
mov byte [esp + 0x800], 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x4c4d66
push eax
call fcn.005134a7
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x20], ebx
jle 0x4c4de3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4c4d79
mov eax, 0x538640
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0xa888]
add edx, 0x20a
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.00401170
test al, al
je 0x4c4de3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4c4da5
mov eax, 0x538640
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea esi, [edi + 0xe0]
call fcn.00425690
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x4c4dc3
mov eax, 0x538640
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4c4ddb
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
inc dword [esp + 0x14]
mov esi, dword [esp + 0x28]
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x58]
jl 0x4c4d20
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
call fcn.004c4fc0
mov esi, dword [esp + 0x18]
add esi, 0xe0
call fcn.00425770
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4c4e3b
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push ecx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x800], 3
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4c4e54
push eax
call fcn.005134a7
add esp, 4
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x804], 1
call fcn.004010b0
mov byte [esp + 0x800], 8
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4c4e9b
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004fc190
push ecx
push 0xc
push eax
call fcn.00513b17
push esi
call fcn.005134a7
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x804], bl
call fcn.00438f60
mov dword [esp + 0x800], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c4ec8
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [esp + 0x7f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7e0]
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret