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

Disassembly:
push 0xffffffffffffffff
push 0x5f2da0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
test byte [edi + 0x4f8], 4
je 0x4eb5be
movzx ecx, byte [edi + 0x50f]
mov esi, dword [edi + 0xa8]
mov eax, dword [esi + 0x94]
and ecx, 0x1f
cdq
mov ebx, 1
shl ebx, cl
idiv ebx
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x8c]
cdq
idiv ecx
cmp eax, dword [esi + 0x90]
mov dword [esp + 0x18], eax
jle 0x4eae84
mov eax, esi
mov eax, dword [eax + 0x90]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x80], ecx
mov eax, dword [edi + 0x318]
cmp eax, ecx
je 0x4eaeb3
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.00554830
jmp 0x4eafaa
mov edi, esi
cmp dword [edi + 0x90], ecx
mov dword [esp + 0x8c], ecx
jle 0x4eafaa
mov edi, dword [esp + 0x88]
mov ebp, ecx
push ebp
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.00493ee0
test al, al
jne 0x4eaf05
lea ebx, [esp + 0x8c]
lea esi, [esp + 0x44]
mov dword [esp + 0x8c], VariantInit
call fcn.004cdd60
jmp 0x4eaf8e
mov eax, dword [edi + 0xb8]
mov eax, dword [eax]
add edi, 0xb4
mov esi, edi
mov ebx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
nop
test esi, esi
mov ebp, dword [edi + 4]
je 0x4eaf2b
cmp esi, edi
je 0x4eaf30
call fcn.005b8b18
cmp ebx, ebp
je 0x4eaf73
test esi, esi
jne 0x4eaf3d
call fcn.005b8b18
cmp ebx, dword [esi + 4]
jne 0x4eaf47
call fcn.005b8b18
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0xc]
push edx
call fcn.00538740
test al, al
je 0x4eaf60
add dword [esp + 0x14], 1
lea esi, [esp + 0x1c]
call fcn.00519d60
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x4eaf20
lea ebx, [esp + 0x14]
lea esi, [esp + 0x44]
call fcn.004cdd60
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov eax, dword [edi + 0xa8]
add ebp, 1
cmp ebp, dword [eax + 0x90]
mov dword [esp + 0x8c], ebp
jl 0x4eaed1
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x90]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
xor ebp, ebp
push edx
mov ecx, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.004f1060
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 0x90]
xor esi, esi
cmp eax, ebp
jle 0x4eb0d1
mov edi, edi
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x4eb005
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4eb00e
call fcn.005b8b18
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*8 + 4], esi
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 0x94], ebp
jle 0x4eb051
mov edi, dword [ebx + 0x318]
cmp edi, ebp
je 0x4eb078
mov ecx, dword [edi + 0x28]
cmp ecx, ebp
je 0x4eb03d
mov eax, dword [edi + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4eb042
call fcn.005b8b18
mov eax, dword [edi + 0x28]
cmp dword [eax + esi*8 + 4], 0xffffffff
sete al
test al, al
jne 0x4eb078
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x4eb066
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4eb06f
call fcn.005b8b18
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*8], SysReAllocStringLen
jmp 0x4eb0bc
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
je 0x4eb08d
mov eax, dword [esp + 0x4c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4eb096
call fcn.005b8b18
mov ecx, dword [esp + 0x48]
lea edi, [ecx + esi*4]
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x4eb0ae
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4eb0b7
call fcn.005b8b18
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov dword [ecx + esi*8], edx
mov eax, dword [ebx + 0xa8]
add esi, 1
cmp esi, dword [eax + 0x90]
jl 0x4eaff0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov byte [esp + 0x80], 2
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x2e8]
lea ecx, [esp + 0x34]
push ecx
add eax, 0x140
push eax
add edx, 0x3e8
push edx
call fcn.00524060
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x4eb125
call fcn.005b8b18
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov esi, dword [esp + 0x20]
mov edx, 0x24
lea edi, [edx - 0x23]
mov ebx, edx
mov ebp, eax
jbe 0x4eb146
call fcn.005b8b18
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0x8c], ecx
jbe 0x4eb156
call fcn.005b8b18
mov edx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
lea ecx, [esp + 0x44]
mov dword [eax + 0xc], edi
push ebp
mov eax, ecx
push eax
mov eax, dword [esp + 0xa4]
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.004f5740
mov ecx, dword [eax]
mov esi, dword [eax + 4]
add esp, 0x20
test ecx, ecx
je 0x4eb198
lea edx, [esp + 0x34]
cmp ecx, edx
je 0x4eb19d
call fcn.005b8b18
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x4eb20b
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
mov byte [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
push ecx
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
push ebx
mov eax, esi
mov ecx, ebp
call fcn.004fb600
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov eax, edi
call fcn.004f9310
add esp, 0x18
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
mov edi, eax
jbe 0x4eb220
call fcn.005b8b18
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jbe 0x4eb230
call fcn.005b8b18
lea ecx, [ecx]
cmp edi, ebx
je 0x4eb273
cmp edi, dword [esp + 0x3c]
jb 0x4eb23f
call fcn.005b8b18
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [edi]
je 0x4eb256
mov ecx, dword [esp + 0x2c]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jb 0x4eb25f
call fcn.005b8b18
mov eax, dword [esp + 0x28]
add dword [eax + esi*8], 0xffffffff
cmp edi, dword [esp + 0x3c]
jb 0x4eb26e
call fcn.005b8b18
add edi, 0x28
jmp 0x4eb230
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov edi, edx
jbe 0x4eb28e
call fcn.005b8b18
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov esi, ecx
jbe 0x4eb2a1
call fcn.005b8b18
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp esi, edi
je 0x4eb2b7
push edi
push esi
call fcn.004f85f0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 8
cmp ecx, edx
mov dword [esp + 0x8c], edx
jbe 0x4eb2cf
call fcn.005b8b18
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov ebx, ecx
jbe 0x4eb2e2
call fcn.005b8b18
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
xor eax, eax
xor esi, esi
cmp ebx, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
je 0x4eb32d
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
sub esp, 0x14
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov edi, dword [esp + 0xa0]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebp
call fcn.004f8670
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
mov ebx, eax
jbe 0x4eb34a
call fcn.005b8b18
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
cmp edi, eax
jbe 0x4eb363
call fcn.005b8b18
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, ebx
je 0x4eb394
sub eax, ebx
sar eax, 2
test eax, eax
lea esi, [eax*4]
lea ebp, [esi + edi]
jle 0x4eb38e
push esi
push ebx
push esi
push edi
call fcn.005b85b9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add esp, 0x10
mov eax, ebp
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x18]
xor edi, edi
test ebp, ebp
jle 0x4eb3fb
jmp 0x4eb3a4
mov edx, dword [esp + 0x2c]
test ecx, ecx
je 0x4eb3b3
mov eax, edx
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4eb3c0
call fcn.005b8b18
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp dword [ecx + edi*8], 0x7fffffff
je 0x4eb3f7
test ecx, ecx
je 0x4eb3d6
sub edx, ecx
sar edx, 3
cmp edi, edx
jb 0x4eb3df
call fcn.005b8b18
mov ecx, dword [esp + 0x28]
lea ebx, [ecx + edi*8 + 4]
lea esi, [esp + 0x44]
call fcn.004cdd60
mov ecx, dword [esp + 0x28]
add edi, 1
cmp edi, ebp
jl 0x4eb3a0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
xor ebx, ebx
cmp edx, ebx
je 0x4eb540
sub eax, edx
sar eax, 2
je 0x4eb540
mov dword [esp + 0x8c], eax
cmp eax, ebp
lea eax, [esp + 0x8c]
jl 0x4eb42a
lea eax, [esp + 0x18]
mov eax, dword [eax]
push ebx
push eax
lea eax, [esp + 0x4c]
call fcn.004cdc40
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov ebp, eax
jbe 0x4eb452
call fcn.005b8b18
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0x8c], ecx
jbe 0x4eb462
call fcn.005b8b18
cmp ebp, dword [esp + 0x8c]
je 0x4eb53c
mov ebx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
sub esp, 8
mov dword [esp + 0x30], esp
add ebx, 0x1c
mov edi, esp
mov esi, 0x4d7510
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], eax
call fcn.00559a50
mov eax, dword [esp + 0x38]
movzx ecx, byte [0x65af15]
movzx edx, byte [0x65af19]
push eax
mov eax, dword [esp + 0x34]
push esi
push ecx
push edx
push eax
call fcn.0055aa00
add esp, 0x1c
lea edi, [esp + 0x64]
call fcn.004f48e0
mov byte [esp + 0x80], 3
cmp ebp, dword [esp + 0x4c]
jb 0x4eb4e0
call fcn.005b8b18
mov eax, dword [esp + 0x88]
mov edx, dword [ebp]
mov esi, dword [eax + 0xb0]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.004cad00
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4eb527
test al, 1
jne 0x4eb527
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4eb527
lea ecx, [esp + 0x5c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
cmp ebp, dword [esp + 0x4c]
jb 0x4eb532
call fcn.005b8b18
add ebp, 4
xor ebx, ebx
jmp 0x4eb462
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x4eb588
mov edi, dword [esp + 0x3c]
cmp esi, edi
je 0x4eb57b
add esi, 0xc
mov dword [esi - 8], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x4eb565
push eax
call fcn.0059b877
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x28
lea eax, [esi - 0xc]
cmp eax, edi
jne 0x4eb553
mov esi, dword [esp + 0x38]
push esi
call fcn.0059b877
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x4eb5a1
push ecx
call fcn.0059b877
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4eb5be
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8