Function at 0x439a50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push edi
mov dword [0x544b50], eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov edx, dword [0x544f34]
mov ecx, dword [0x544b58]
mov edi, dword [esp + 0x24]
mov dword [0x544b4c], eax
jmp 0x439a99
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebp, esi
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x14]
sub ebp, eax
mov eax, dword [ecx + 0xc]
mov ebx, esi
mov ax, word [eax + ebp*2]
mov dword [esp + 0x28], ebx
sub ax, 0x20
movsx ebp, ax
test ebp, ebp
je 0x439b36
mov eax, dword [edx + 0x14]
mov esi, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, esi
mov esi, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x14]
add eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, byte [esi + ebp + 6]
mov ebp, dword [esp + 0x24]
add ebp, eax
mov eax, dword [0x544b50]
dec eax
mov dword [esp + 0x24], ebp
cmp ebx, eax
je 0x439b2e
mov ebp, dword [esp + 0x28]
inc ebx
add ebp, 2
cmp ebx, eax
mov dword [esp + 0x28], ebp
jge 0x439b2e
mov eax, ebp
mov ebp, dword [esp + 0x1c]
sub eax, ebp
mov ebp, dword [ecx + 0xc]
mov ax, word [eax + ebp]
sub ax, 0x20
movsx ebp, ax
test ebp, ebp
jne 0x439aea
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
cmp eax, ebp
jle 0x439b67
mov eax, dword [edx + 0x14]
mov ebp, edi
sub ebp, eax
mov dword [esp + 0x10], 0
mov eax, ebp
shl eax, 4
add eax, ebp
mov ebp, dword [edx + 0xc]
lea eax, [eax + eax*2]
movsx eax, word [ebp + eax*2 + 2]
add dword [esp + 0x30], eax
mov eax, esi
cmp esi, ebx
mov dword [esp + 0x24], eax
jg 0x439cb7
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
sub eax, esi
lea ebp, [esp + 0x18]
push ebp
push 0x3f800000
mov ax, word [ecx + eax*2]
mov ecx, edi
sub ax, 0x20
movsx esi, ax
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
sub ecx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
lea ecx, [eax + eax*2]
movsx eax, word [edx + ecx*2]
lea ecx, [edx + ecx*2]
mov edx, dword [0x544b3c]
movsx ecx, word [ecx + 2]
push ecx
push eax
mov ecx, dword [esp + 0x44]
imul eax, esi
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
mov ebx, dword [edx]
push eax
mov eax, dword [esp + 0x2c]
add eax, ecx
push eax
push 5
push edx
call dword [ebx + 0x7c]
test eax, eax
fnclex
jge 0x439bf5
mov ecx, dword [0x544b3c]
push 0x7c
push 0x42099c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x544f34]
mov ecx, edi
lea ebp, [esp + 0x18]
mov eax, dword [edx + 0x14]
push ebp
sub ecx, eax
push 0x3f800000
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [0x544b3c]
lea eax, [eax + eax*2]
mov ebx, dword [edx]
lea ecx, [ecx + eax*2]
movsx eax, word [ecx]
mov cx, word [ecx + 2]
add cx, 2
movsx ecx, cx
push ecx
push eax
mov ecx, dword [esp + 0x48]
imul eax, esi
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
dec eax
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [ecx + eax - 1]
push ecx
push 5
push edx
call dword [ebx + 0x7c]
test eax, eax
fnclex
jge 0x439c71
mov edx, dword [0x544b3c]
push 0x7c
push 0x42099c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [0x544f34]
mov ecx, edi
mov ebx, dword [esp + 0x10]
sub ecx, dword [edx + 0x14]
mov eax, ecx
shl eax, 4
add eax, ecx
mov ecx, dword [edx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
xor ecx, ecx
mov cl, byte [eax + esi + 6]
mov eax, dword [esp + 0x24]
add ebx, ecx
mov ecx, dword [0x544b58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
inc eax
cmp eax, ebx
mov dword [esp + 0x24], eax
jle 0x439b75
mov eax, dword [0x544b50]
inc ebx
dec eax
mov dword [esp + 0x14], ebx
cmp ebx, eax
jle 0x439a95
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x1c