Function at 0x45b550
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x49c498]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov eax, dword [0x4a09c8]
cmp eax, dword [ecx + 4]
jle 0x45b665
push 0x4a09c8
call fcn.0046ec80
add esp, 4
cmp dword [0x4a09c8], 0xffffffff
jne 0x45b665
push 0x4a09c8
mov dword [0x49dae8], 0x43c932
mov dword [0x49daec], 0
mov dword [0x49daf0], 0x49cc70
mov dword [0x49daf8], 1
mov dword [0x49dafc], 0x488194
mov dword [0x49db00], 0
mov dword [0x49db04], 2
mov dword [0x49db08], 0x43c921
mov dword [0x49db0c], 0
mov dword [0x49db10], 0x49cc58
mov dword [0x49db18], 0
mov dword [0x49db1c], 0
mov dword [0x49db20], 0
mov dword [0x49db24], 0
mov dword [0x49db28], 0
mov dword [0x49db2c], 0
mov dword [0x49db30], 0
call fcn.0046ebc0
add esp, 4
cmp dword [0x49dadc], 0
mov edi, 0x49dad8
je 0x45b717
cmp dword [edi], 1
jne 0x45b70a
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0xc], eax
jne 0x45b70a
mov ecx, dword [edi + 4]
mov edx, 0x488194
mov esi, 0xc
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45b70a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x45b6a0
mov ebx, dword [edi + 0x18]
test ebx, ebx
jne 0x45b6d7
mov ecx, dword [esp + 0x10]
lea ebx, [esp + 0x4c]
mov edx, ebx
push edx
push dword [ebp + 0x14]
mov eax, dword [ecx]
push dword [ebp + 0xc]
push 0x488194
call dword [eax + 0x1c]
test eax, eax
js 0x45b717
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
movzx eax, word [ebx + 6]
cmp ax, 8
jle 0x45b72d
mov esi, 0x80004005
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret 0x24
add edi, 0x20
cmp dword [edi + 4], 0
jne 0x45b677
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret 0x24
movsx esi, ax
lea eax, [esp + 0x64]
neg esi
sbb esi, esi
xor edx, edx
and esi, eax
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xc], edx
jbe 0x45b76e
xor edi, edi
test esi, esi
je 0x45b6ef
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
cmp ecx, 8
jae 0x45b6ef
mov eax, dword [esp + 0xc]
inc edx
mov eax, dword [eax]
add eax, edi
add edi, 0x10
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 0xc]
jb 0x45b747
cmp edx, dword [eax + 8]
jae 0x45b79b
mov edi, edx
shl edi, 4
test esi, esi
je 0x45b6ef
mov ecx, dword [eax]
movsx eax, word [ebx + 6]
add ecx, edi
sub eax, edx
add edi, 0x10
inc edx
mov dword [esi + eax*4 - 4], ecx
mov eax, dword [esp + 0xc]
cmp edx, dword [eax + 8]
jb 0x45b778
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x468f93
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45b7ec
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [ebx + 8]
push eax
movsx eax, word [ebx + 6]
push eax
movzx eax, word [ebx + 4]
push eax
push dword [ebx]
lea eax, [esp + 0x48]
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeTypeEx]
mov esi, eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x84]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret 0x24