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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aeea5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
xor eax, eax
lea edx, [ebx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x7c], eax
jbe 0x4a47a5
cmp byte [ebx + 0x60], 0
lea ecx, [eax*4]
mov eax, dword [ebx + 0x78]
mov edx, dword [edx]
mov esi, dword [ecx + eax]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x30], esi
je 0x4a4678
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
jmp 0x4a4682
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov edi, dword [esi + 0x74]
test edi, edi
je 0x4a46c4
nop dword [eax]
mov eax, dword [esi + 0x70]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x4a46c0
mov dword [ebp - 4], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x4a46ae
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00587dca
add esp, 8
test edi, edi
jne 0x4a4690
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0x74], 0
test ebx, ebx
je 0x4a4701
lea ecx, [esi + 0x70]
call fcn.00439780
push 4
call fcn.00587dd8
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [eax], 0
mov edx, dword [esi + 0x74]
lea ecx, [edx + 1]
mov dword [esi + 0x74], ecx
mov ecx, dword [esi + 0x70]
mov dword [ecx + edx*4], eax
sub ebx, 1
jne 0x4a46d2
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + 0x80]
test edi, edi
je 0x4a4744
nop
mov eax, dword [esi + 0x7c]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x4a4740
mov dword [ebp - 4], 1
mov ecx, dword [ebx]
test ecx, ecx
je 0x4a472e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00587dca
add esp, 8
test edi, edi
jne 0x4a4710
mov ebx, dword [ebp - 0x18]
mov dword [esi + 0x80], 0
test ebx, ebx
je 0x4a478a
lea ecx, [esi + 0x7c]
call fcn.00439780
push 4
call fcn.00587dd8
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [eax], 0
mov edx, dword [esi + 0x80]
lea ecx, [edx + 1]
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*4], eax
sub ebx, 1
jne 0x4a4755
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea edx, [ebx + 8]
cmp eax, dword [ebx + 0x7c]
jb 0x4a4651
lea edx, [ebx + 8]
jmp 0x4a47a8
mov dword [ebp - 0x20], edx
xor edi, edi
cmp dword [ebx + 0x18], edi
jbe 0x4a4978
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edi*8]
lea ecx, [eax + edi*8]
mov eax, dword [edx + 0x34]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
sub esi, dword [eax + edx*4]
mov al, byte [ebx + 0x60]
test al, al
je 0x4a47dd
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov al, byte [ebx + 0x60]
jmp 0x4a47e3
mov dword [ebp - 0x1c], edx
mov edx, dword [ecx + 4]
test al, al
mov dword [ebp - 0x30], 0
mov ecx, esi
cmovne ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
test al, al
mov eax, dword [ebx + 0x6c]
push 0xc
cmovne ecx, esi
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + edi*4]
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 0x24], eax
lea eax, [edx*4]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1c], eax
call fcn.00587dd8
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], esi
mov dword [esi + 4], 0
push esi
mov dword [esi], vtable.CBinderInStream.0
mov dword [esi + 8], eax
call fcn.0040f070
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a4876
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
push 0xc
mov dword [eax], esi
call fcn.00587dd8
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], esi
mov dword [esi + 4], 0
push esi
mov dword [esi], vtable.CBinderOutStream.0
mov dword [esi + 8], eax
call fcn.0040f070
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a48b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4a48e0
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x5c1ee4
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4a4901
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x5c1ee4
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4a4942
test ecx, ecx
je 0x4a4942
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4a4953
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x4a4964
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
inc edi
mov dword [ebp - 4], 0xffffffff
cmp edi, dword [ebx + 0x18]
jb 0x4a47b3
cmp byte [ebx + 0x60], 0
lea esi, [ebx + 0x78]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp + 8], esi
mov eax, dword [eax + ecx*4]
lea ecx, [ebx + 0x60]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], ecx
je 0x4a49e1
mov eax, dword [eax + 0x70]
mov edx, dword [edi]
mov dword [ebp - 0x38], edx
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x4a49c4
mov eax, dword [edx]
push edx
call dword [eax + 4]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a49dc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
jmp 0x4a4a31
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
mov eax, dword [eax + 0x7c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x4a4a10
mov eax, dword [edx]
push edx
call dword [eax + 4]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea ecx, [ebx + 0x60]
lea eax, [ebx + 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
test edx, edx
je 0x4a4a2e
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebx + 0x24], ecx
jbe 0x4a4aaf
sub dword [ebp + 0xc], edi
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edx*4]
lea ecx, [eax*4]
mov eax, dword [ebx + 0x30]
sub edx, dword [eax + ecx]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], 0
je 0x4a4a74
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov esi, dword [edi + ecx]
jmp 0x4a4a79
mov esi, dword [edi]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x4a4a8c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a4a9b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
add edi, 4
inc ecx
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebx + 0x24]
jb 0x4a4a43
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8