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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x14]
and eax, 0xfff
lea ecx, [eax + 2]
mov edx, 0x55555556
mov eax, ecx
imul edx
sar ecx, 0x1f
mov eax, edx
sub eax, ecx
add eax, 1
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x14]
and eax, 0x4000
test eax, eax
setne al
movzx edx, al
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x14]
sar eax, 2
and eax, 0x3ff
lea ecx, [eax + 2]
mov edx, 0x55555556
mov eax, ecx
imul edx
sar ecx, 0x1f
mov eax, edx
sub eax, ecx
add eax, 1
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 0x14]
and eax, 0x8000
test eax, eax
jne 0x4a6e71
mov eax, dword [ebp + 8]
add eax, 0x29272
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.005a9290
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x58], edx
mov eax, dword [ebp + 8]
add eax, 0x9272
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
mov eax, dword [ebp + 8]
lea edx, [eax + 0x9272]
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 8
mov eax, dword [ebp + 8]
lea edx, [eax + 0x39272]
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 8]
lea edx, [eax + 0x39272]
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x54], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x50], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x88], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x8c], 0
mov eax, dword [ebp + 0x14]
and eax, 0x8000
test eax, eax
jne 0x4a7030
mov eax, dword [ebp + 8]
add eax, 0x90
mov dword [esp + 8], 0x8101
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.005a9290
mov eax, dword [ebp + 8]
add eax, 0x8192
mov dword [esp + 8], 0x240
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.005a9290
mov eax, dword [ebp + 8]
add eax, 0x83d2
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.005a9290
mov eax, 0
leave
ret