Function at 0x41d9f0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4a9e10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
call fcn.0046d74a
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41da33
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov al, byte [0x4f11f4]
mov dword [esp + 0x2c], esi
test al, al
jbe 0x41dd09
movzx ecx, al
push ecx
push 0x2b45
push str.CMPToolDlg::vUpdatePcieInfoToDevList
push str._s:_d:_find_pcie_2464_host:_d
call fcn.0044b650
mov edx, dword [0x4ee1d0]
mov ebp, dword [edx + 0x9738]
add esp, 0x10
cmp byte [0x4f11f4], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], esi
jbe 0x41dd09
imul ebp, ebp, 0x638
mov ebx, 0x4f1790
mov eax, dword [0x4ee1d0]
mov byte [eax + ebp + 0x9d6c], 1
mov ecx, dword [0x4ee1d0]
push 4
lea ecx, [ecx + ebp + 0x99d0]
push str.2464
call fcn.00402b20
mov edx, dword [0x4ee1d0]
mov al, byte [esp + 0x14]
mov byte [edx + ebp + 0x9770], al
mov ecx, dword [0x4ee1d0]
lea ecx, [ecx + ebp + 0x99ac]
call fcn.004024f0
xor esi, esi
mov al, byte [ebx + esi - 0x14]
mov dl, al
sub dl, 0x20
cmp dl, 0x5e
ja 0x41db25
movsx eax, al
push eax
lea ecx, [esp + 0x1c]
push 0x4bbd74
push ecx
call fcn.00402d80
mov edx, dword [0x4ee1d0]
lea ecx, [edx + ebp + 0x99ac]
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
add esp, 0xc
push eax
push edx
call fcn.0040ba70
inc esi
cmp esi, 0x14
jl 0x41dae6
movzx eax, word [ebx]
mov ecx, dword [0x4ee1d0]
push eax
lea edx, [ecx + ebp + 0x99a4]
push str._04X
push edx
call fcn.00402d80
movzx eax, word [ebx + 2]
mov ecx, dword [0x4ee1d0]
push eax
lea edx, [ecx + ebp + 0x99a8]
push str._04X
push edx
call fcn.00402d80
movzx eax, byte [ebx + 4]
mov ecx, dword [0x4ee1d0]
mov byte [ecx + ebp + 0x9a33], al
movzx edx, byte [ebx + 6]
mov eax, dword [0x4ee1d0]
mov byte [eax + ebp + 0x99da], dl
movzx ecx, byte [ebx + 7]
mov edx, dword [0x4ee1d0]
mov byte [edx + ebp + 0x9a14], cl
movzx eax, byte [ebx + 8]
mov ecx, dword [0x4ee1d0]
mov byte [ecx + ebp + 0x9a31], al
movzx edx, byte [ebx + 0x10]
mov eax, dword [0x4ee1d0]
mov byte [eax + ebp + 0x9a1c], dl
movzx ecx, byte [ebx + 0x11]
mov edx, dword [0x4ee1d0]
mov byte [edx + ebp + 0x9a1d], cl
movzx eax, byte [ebx + 0x12]
mov ecx, dword [0x4ee1d0]
mov byte [ecx + ebp + 0x9a1e], al
movzx edx, byte [ebx + 0x13]
mov eax, dword [0x4ee1d0]
mov byte [eax + ebp + 0x9a1f], dl
mov ecx, dword [ebx + 0x14]
mov edx, dword [0x4ee1d0]
mov dword [edx + ebp + 0x9a20], ecx
mov eax, dword [ebx + 0x18]
mov ecx, dword [0x4ee1d0]
mov dword [ecx + ebp + 0x9a24], eax
mov edx, dword [ebx + 0x1c]
mov eax, dword [0x4ee1d0]
mov dword [eax + ebp + 0x9a28], edx
mov ecx, dword [ebx + 0x20]
mov edx, dword [0x4ee1d0]
mov dword [edx + ebp + 0x9a2c], ecx
movzx eax, byte [ebx + 8]
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x4ee1d0]
call fcn.00413c20
mov edx, dword [0x4ee1d0]
lea ecx, [edx + ebp + 0x9ae8]
push eax
mov byte [esp + 0x30], 1
call fcn.0040bbf0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
movzx ecx, byte [ebx - 0x213]
movzx edx, byte [ebx - 0x214]
movzx eax, byte [ebx - 0x215]
push ecx
movzx ecx, byte [ebx - 0x216]
push edx
movzx edx, byte [ebx - 0x217]
push eax
movzx eax, byte [ebx - 0x218]
push ecx
mov ecx, dword [0x4ee1d0]
push edx
push eax
lea edx, [ecx + ebp + 0x99cc]
push str._02x_02x_02x_02x_02x_02x
push edx
call fcn.00402d80
mov eax, dword [0x4ee1d0]
inc dword [esp + 0x34]
lea edi, [eax + ebp + 0x9aec]
mov eax, dword [esp + 0x3c]
lea esi, [ebx - 0x94]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movzx ecx, byte [0x4f11f4]
inc eax
add esp, 0x20
add ebp, 0x638
add ebx, 0x23c
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x41da9b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dd31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret