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

Disassembly:
sub esp, 0x84
cmp byte [esp + 0x90], 0
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x30], edx
push esi
push edi
mov dword [esp + 0x20], ebp
lea esi, [ebp + 8]
lea ecx, [ebp + 4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], ecx
je 0x483bdf
mov eax, dword [esi]
mov ebx, dword [ecx]
lea edx, [eax + 4]
cmp edx, ebx
ja 0x484524
mov edi, dword [ebp]
mov eax, dword [edi + eax]
mov dword [esi], edx
cmp eax, 0x1cf51ba
jne 0x484524
lea edi, [edx + 4]
cmp edi, ebx
ja 0x484524
mov eax, dword [ebp]
mov eax, dword [edx + eax]
mov dword [esi], edi
mov dword [ecx], eax
jmp 0x483be7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], ecx
mov ebx, dword [esi]
mov edx, dword [ecx]
lea eax, [ebx + 0x10]
cmp eax, edx
ja 0x484524
mov edi, dword [ebp]
mov ecx, dword [edi + ebx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + ebx + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + ebx + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + ebx + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [eax + 1]
mov dword [esi], eax
cmp ecx, edx
ja 0x484524
mov bl, byte [edi + eax]
mov dword [esi], ecx
mov eax, dword [0x4cd4e0]
mov dword [esp + 0x60], eax
mov eax, dword [0x4cd4e4]
mov dword [esp + 0x64], eax
mov eax, dword [0x4cd4e8]
mov dword [esp + 0x68], eax
mov eax, dword [0x4cd4ec]
mov byte [esp + 0x17], bl
mov dword [esp + 0x6c], eax
test bl, bl
je 0x483c82
lea ebx, [ecx + 0x10]
cmp ebx, edx
ja 0x484524
mov eax, dword [edi + ecx]
mov dword [esp + 0x60], eax
mov eax, dword [edi + ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edi + ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [edi + ecx + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esi], ebx
mov ebx, dword [esp + 0x98]
test ebx, ebx
je 0x483c9b
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x483c9b
add ecx, 0x10
jmp 0x483ca0
mov ecx, 0x4cd4e0
mov eax, dword [ecx]
mov edx, 0x4cd4e0
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.00498b58
mov edi, dword [esp + 0x2c]
test al, al
je 0x483ced
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], eax
push 0x40
push 8
push dword [0x4a01c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x483d13
push ebx
lea ecx, [esp + 0x54]
push ecx
push 0
push ebp
mov ecx, eax
call fcn.004802ad
jmp 0x483d15
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push ecx
mov ecx, dword [esp + 0x2c]
push eax
sub esp, 0x10
mov dword [esp + 0x44], 0
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
call fcn.00494f5c
test eax, eax
js 0x484524
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x483d8c
push eax
push 0
mov dword [eax], 0x4d0910
mov dword [eax + 4], 0x4d08f8
mov dword [eax + 8], 0x4d08e8
mov dword [eax + 0x20], 0x4d08e4
push dword [0x4a01c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esi]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 2]
cmp eax, dword [ecx]
ja 0x484524
mov eax, dword [ebp]
movzx eax, word [edx + eax]
mov dword [esp + 0x38], eax
lea eax, [edx + 2]
mov dword [esi], eax
test ebx, ebx
je 0x484213
cmp byte [esp + 0xa0], 0
je 0x483eb7
test edi, edi
je 0x483eb7
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
push 0x4d08d4
push edi
mov dword [esp + 0x30], 0
call dword [eax]
mov ebp, dword [esp + 0x24]
push 0x12
push 8
push dword [0x4a01c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x483e0f
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ecx + 0x10], 0
jmp 0x483e11
xor ecx, ecx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edi
mov byte [ecx + 0x11], 0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x483e25
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x30]
mov dword [ecx], eax
inc dword [ebx + 0x38]
cmp dword [ebx + 0x34], 0
mov dword [ebx + 0x30], ecx
jne 0x483e39
mov dword [ebx + 0x34], ecx
mov ecx, dword [0x4a0154]
test ecx, ecx
je 0x483e58
cmp dword [0x4a0150], 0
jne 0x483e58
mov eax, dword [0x4a0148]
test eax, eax
je 0x483e58
push ecx
call eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x483e64
call fcn.0048021f
push 0x14c
push 8
push dword [0x4a01c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x483e96
push 0x14c
push 0
push ebp
call fcn.00496311
add esp, 0xc
mov ecx, ebp
call fcn.0047ffee
jmp 0x483e98
xor eax, eax
mov dword [edi + 0x48], eax
mov dword [eax + 0x18], edi
mov ecx, dword [edi + 0x48]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x1c], eax
mov ecx, edi
call fcn.0047fe52
test eax, eax
js 0x484524
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
add ecx, 0x5c
add ecx, ebx
cmp byte [esp + 0x17], 0
mov dword [esp + 0x34], ecx
jne 0x483ed7
mov dword [ecx], edi
jmp 0x483fb0
mov ebp, ecx
mov ecx, dword [ecx]
sub ebp, ebx
mov dword [esp + 0x2c], ecx
sub ebp, 0x5c
mov eax, ebp
and ebp, 0x7fffffff
shr eax, 0x1f
mov dword [esp + 0x18], eax
cmp ecx, edi
jne 0x483f12
test edi, edi
je 0x483fb6
test al, al
je 0x483fb6
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x483fb6
test edi, edi
je 0x483f1c
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
xor eax, eax
mov dword [esp + 0x30], ecx
cmp dword [ecx + 0xc], eax
jbe 0x483f93
add ecx, 0x20
mov edx, dword [ecx]
lea ecx, [ecx + 4]
inc eax
cmp dword [edx + 4], ebp
je 0x483f45
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 0xc]
jb 0x483f2f
jmp 0x483f93
mov ebp, dword [edx]
add ebp, ebx
push ebp
mov eax, dword [ebp]
call dword [eax + 4]
cmp dword [esp + 0x2c], 0
je 0x48411c
mov edx, 0x4d0900
lea ecx, [esp + 0x60]
call fcn.00498b58
test al, al
jne 0x48411c
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
call fcn.00481e39
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x484072
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
test edi, edi
je 0x483faa
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp byte [esp + 0x18], 0
je 0x483faa
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x34]
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x20]
movzx eax, ax
add dword [ecx], 4
mov dword [esp + 0x30], 0
test eax, eax
je 0x48420f
push 0
push 0
push ecx
push ebx
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov ecx, ebp
call fcn.00483b7a
add esp, 0x10
test al, al
je 0x484524
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4841f0
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov eax, dword [ecx]
push edx
push 0x4d08d4
push ecx
call dword [eax]
test eax, eax
js 0x4841e6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4841e6
mov eax, dword [esp + 0x24]
push 0x12
push 8
push dword [0x4a01c8]
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x4841b2
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ecx + 0x10], 0
jmp 0x4841b4
mov dword [esp + 0x24], 0
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
test eax, eax
jns 0x48409c
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [ecx]
jmp 0x483f90
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x54]
mov dword [esp + 0x54], 0
push edx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x484108
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esp + 0x50], ebp
je 0x4840fa
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x54]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
je 0x4840ce
jmp 0x484108
mov ecx, dword [esp + 0x28]
push dword [esp + 0x54]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
je 0x48417f
lea edx, [esp + 0x60]
mov ecx, edi
call fcn.00481e39
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x484141
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
jmp 0x483f97
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov eax, dword [ecx]
push edx
push ebp
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x48416f
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x483f97
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x484194
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x34]
mov dword [eax], edi
test edi, edi
je 0x483fb6
cmp byte [esp + 0x18], 0
jne 0x483fb6
jmp 0x483fb0
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x11], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4841d0
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x30]
mov dword [ecx], eax
inc dword [edi + 0x38]
cmp dword [edi + 0x34], 0
mov dword [edi + 0x30], ecx
jne 0x4841f0
mov dword [edi + 0x34], ecx
jmp 0x4841f0
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
inc eax
movzx ecx, dx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x9c]
jl 0x483fdb
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0xa0], 0
je 0x484517
mov edx, dword [esi]
lea edi, [edx + 4]
cmp edi, dword [ecx]
ja 0x484517
mov eax, dword [ebp]
mov dword [esp + 0x34], 0
mov eax, dword [edx + eax]
mov dword [esp + 0x50], eax
mov dword [esi], edi
test eax, eax
jle 0x484517
mov eax, dword [0x4cd4ec]
mov edi, dword [0x4cd4e0]
mov edx, dword [0x4cd4e4]
mov ecx, dword [0x4cd4e8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], edi
mov edi, dword [esi]
mov dword [esp + 0x74], edx
add edi, 4
mov dword [esp + 0x84], edx
mov edx, dword [eax]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
cmp edi, edx
ja 0x484524
mov eax, dword [esi]
mov ecx, dword [ebp]
mov eax, dword [ecx + eax]
mov dword [esp + 0x28], eax
lea eax, [edi + 4]
mov dword [esi], edi
cmp eax, edx
ja 0x484524
mov ebp, dword [ecx + edi]
lea edi, [eax + 4]
mov dword [esp + 0x40], ebp
mov dword [esi], eax
cmp edi, edx
ja 0x484524
mov eax, dword [ecx + eax]
lea ebp, [edi + 4]
mov dword [esp + 0x38], eax
mov dword [esi], edi
cmp ebp, edx
ja 0x484524
mov eax, dword [ecx + edi]
mov dword [esp + 0x24], eax
lea eax, [ebp + 0x10]
mov dword [esi], ebp
cmp eax, edx
ja 0x484524
lea eax, [ecx + ebp]
push 0x10
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0049865d
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
add edx, 0x10
mov dword [esi], edx
lea eax, [edx + 0x10]
cmp eax, dword [ecx]
ja 0x484524
mov edi, dword [esp + 0x20]
push 0x10
mov eax, dword [edi]
add eax, edx
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0049865d
add dword [esi], 0x10
lea eax, [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], 0
push eax
push 1
push 9
call dword [sym.imp.OLEAUT32.dll_SafeArrayCreateEx]
test eax, eax
js 0x484524
mov eax, dword [esp + 0x18]
mov ecx, 0x400
push 0x3c
push 8
or word [eax + 2], cx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [eax + 4], 4
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
add ecx, 0x5c
add ecx, ebx
mov dword [eax + 0x14], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [ecx], eax
push dword [0x4a01c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x484460
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi], 0x4d089c
mov dword [esi + 4], 1
mov esi, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x40]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 0x14], esi
mov esi, dword [esp + 0x28]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edi
mov edi, dword [esp + 0x20]
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x18], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x28], ebx
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x98]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x38], eax
jmp 0x484462
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov dword [eax + 4], ecx
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroyDescriptor]
test eax, eax
js 0x484524
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x24], ebp
jle 0x484500
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 4]
mov ecx, dword [ecx]
cmp ebx, ecx
ja 0x484524
mov edx, dword [edi]
mov eax, dword [edx + eax]
mov dword [esp + 0x4c], eax
lea eax, [ebx + 4]
mov dword [esi], ebx
cmp eax, ecx
ja 0x484524
mov ebx, dword [edx + ebx]
mov edi, dword [esp + 0x98]
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [eax + edi + 0x5c]
push edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [esp + 0x28]
or eax, 0x80000000
push eax
mov eax, dword [esp + 0x4c]
push edi
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0xa0]
push eax
push ebx
lea eax, [esp + 0x80]
push eax
call fcn.00480569
mov edi, dword [esp + 0x20]
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x48448e
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x50]
jl 0x48424a
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x84
ret