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

Disassembly:
sub esp, 0x80
push ebx
push esi
mov esi, dword [0x100ef48c]
push edi
push 8
lea eax, [esp + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x14], edi
add esi, 0x190
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x90]
push edi
push edi
push 1
push 3
push 3
push edi
push edi
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x68], ecx
push 0xc0000000
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x68], 0x18
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], 0x40
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call eax
call eax
mov esi, eax
cmp esi, edi
je 0x4a0ce5
mov edx, dword [esp + 0xc]
cmp edx, edi
je 0x4a0cd7
mov eax, dword [0x100ef48c]
cmp eax, edi
push edx
je 0x4a0cd1
mov edx, dword [eax + 0x2b0]
lea ecx, [eax + 0x2b0]
mov eax, dword [edx + 0x24]
call eax
call eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x80
ret 8
call dword [0x100cf21c]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x80
ret 8
mov eax, dword [esp + 0x94]
or ecx, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.004840d0
push 0x100cf494
lea ecx, [esp + 0x18]
push ecx
call dword [0x100ef7e0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], edx
call fcn.00484250
test eax, eax
je 0x4a0e62
lea ecx, [ecx]
mov ebx, dword [esp + 0x80]
cmp ebx, dword [esp + 0x74]
jge 0x4a0e62
push 0x100cf494
lea ecx, [esp + 0x28]
push ecx
call dword [0x100ef7e0]
lea esi, [esp + 0x3c]
lea eax, [esp + 0x6c]
mov dword [esp + 0x48], edi
call fcn.00484250
cmp dword [esp + 0x48], 1
je 0x4a0e62
mov esi, dword [0x100ef48c]
push 8
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x18], edi
add esi, 0x190
call dword [0x100ef7e8]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
push edi
push edi
sub eax, ecx
push 1
push 3
mov dword [esp + 0x28], ecx
mov cx, word [esp + 0x40]
push 3
sar eax, 1
shr cx, 1
add ax, cx
push edi
add ax, ax
push edi
mov word [esp + 0x30], ax
mov word [esp + 0x32], ax
mov dword [esp + 0x74], edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x74]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x38]
mov dword [esp + 0x80], eax
push 0xc0000000
lea eax, [esp + 0x38]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
mov dword [esp + 0x80], 0x18
mov dword [esp + 0x8c], 0x40
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call eax
call eax
mov esi, eax
cmp esi, edi
jne 0x4a0e96
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4a0e4d
mov ecx, dword [0x100ef48c]
cmp ecx, edi
push eax
je 0x4a0e47
mov edx, dword [ecx + 0x2b0]
mov eax, dword [edx + 0x24]
add ecx, 0x2b0
call eax
call eax
jmp 0x4a0e4d
call dword [0x100cf21c]
lea esi, [esp + 0x2c]
lea eax, [esp + 0x6c]
call fcn.00484250
test eax, eax
jne 0x4a0d30
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4a0ebc
mov ecx, dword [0x100ef48c]
cmp ecx, edi
push eax
je 0x4a0eb6
mov edx, dword [ecx + 0x2b0]
mov eax, dword [edx + 0x24]
add ecx, 0x2b0
call eax
call eax
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x80
ret 8
lea eax, [esp + 0x10]
call fcn.0053d580
lea eax, [esp + 0xc]
call fcn.0053d580
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x80
ret 8
call dword [0x100cf21c]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x80
ret 8