Function at 0x4b8fb0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x50f95b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
mov eax, dword [esp + 0x1bc]
push ebx
push ebp
push 0x545eb4
mov ebx, ecx
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 8], ebp
je 0x4b94b2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push edi
push str.SilverPACS_A_ASSOCIATE_AC_Packet_Dump_r_n_r_n
push ebp
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
add esp, 8
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x261]
mov edx, dword [ebx + 0x261]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push str._tCalling_Application_Title_:___s__r_n
push ebp
mov dword [esp + 0x30], eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [ebx + 0x250]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x18]
push edx
push str._tCalled_Application_Title_:___s__r_n
push ebp
mov dword [esp + 0x30], ecx
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
lea esi, [ebx + 0x29c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x298]
lea edi, [esp + 0x24]
mov eax, ecx
add esp, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
lea ecx, [esp + 0x18]
push ecx
push str._tApplication_Context_:___s__r_n
push ebp
call esi
mov eax, dword [ebx + 0x2f4]
add esp, 0xc
push eax
push str._tNumber_of_Accepted_Presentation_Contexts:__d_r_n
push ebp
call esi
mov eax, dword [ebx + 0x2f4]
add esp, 0xc
xor ebp, ebp
test eax, eax
jbe 0x4b92b5
lea ecx, [esp + 0x98]
call fcn.004c7450
mov eax, dword [ebx + 0x2f4]
mov dword [esp + 0x1c4], 0
cmp ebp, eax
jb 0x4b910e
xor esi, esi
jmp 0x4b9178
mov edx, dword [ebx + 0x2ec]
test edx, edx
je 0x4b9139
mov ecx, dword [ebx + 0x2f0]
inc ecx
cmp ecx, ebp
jne 0x4b9139
mov edx, dword [edx + 0xa8]
mov dword [ebx + 0x2f0], ecx
mov dword [ebx + 0x2ec], edx
mov esi, edx
jmp 0x4b9178
mov ecx, eax
shr ecx, 1
cmp ebp, ecx
jae 0x4b9158
mov esi, dword [ebx + 0x2e4]
test ebp, ebp
jbe 0x4b916c
mov eax, ebp
mov esi, dword [esi + 0xa8]
dec eax
jne 0x4b914d
jmp 0x4b916c
mov esi, dword [ebx + 0x2e8]
sub eax, ebp
dec eax
je 0x4b916c
mov esi, dword [esi + 0xa4]
dec eax
jne 0x4b9163
mov dword [ebx + 0x2ec], esi
mov dword [ebx + 0x2f0], ebp
mov dl, byte [esi]
mov byte [esp + 0x98], dl
mov al, byte [esi + 1]
mov byte [esp + 0x99], al
mov cx, word [esi + 2]
mov word [esp + 0x9a], cx
mov dl, byte [esi + 4]
mov byte [esp + 0x9c], dl
mov al, byte [esi + 5]
mov byte [esp + 0x9d], al
mov cl, byte [esi + 6]
mov byte [esp + 0x9e], cl
mov dl, byte [esi + 7]
mov byte [esp + 0x9f], dl
mov al, byte [esi + 8]
mov byte [esp + 0xa0], al
mov cl, byte [esi + 9]
mov byte [esp + 0xa1], cl
mov dx, word [esi + 0xa]
lea eax, [esi + 0xc]
lea ecx, [esp + 0xa4]
push eax
mov word [esp + 0xa6], dx
call fcn.004a9cd0
add esi, 0x54
lea ecx, [esp + 0xec]
push esi
call fcn.004b3cf0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x13c]
lea esi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa4]
lea edi, [esp + 0x13c]
and ecx, 0x3f
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x13c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf0]
lea esi, [esp + 0xf4]
and ecx, 0x3f
lea edi, [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x9c]
and ecx, 3
and eax, 0xff
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ebp
push str._t__d__Presentation_Context_ID_d_:_ABS__s__r_n_t_tTransfer_Syntax:___s__r_n
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x18
lea ecx, [esp + 0x98]
inc ebp
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004c74c0
cmp ebp, dword [ebx + 0x2f4]
jb 0x4b90e9
lea ecx, [ebx + 0x2fc]
call fcn.004c5170
test eax, eax
je 0x4b949d
mov ebp, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push str._tUser_Information:_r_n
push ebp
call esi
add esp, 8
lea ecx, [ebx + 0x304]
call fcn.004f5b00
push eax
push str._t_t_51__Maximum_Length_sub_item:__d__r_n
push ebp
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
lea esi, [ebx + 0x314]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x310]
lea edi, [esp + 0x24]
and ecx, 0x3f
add esp, 0xc
mov edx, ecx
lea eax, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push str._t_t_52__Implementation_class_UID_sub_item:___s__r_n
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push ebp
call esi
movsx ecx, word [ebx + 0x362]
movsx edx, word [ebx + 0x360]
add esp, 0xc
push ecx
push edx
push str._t_t_53__Asynchronous_operation_windowclass_sub_item:__r_n_t_t_tMaximum_number_invoked_:__d__r_n_t_t_tMaximum_number_performed_:__d_r_n
push ebp
call esi
mov eax, dword [ebx + 0x418]
add esp, 0x10
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jbe 0x4b9459
jmp 0x4b936d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x418]
cmp ecx, eax
jb 0x4b937b
xor ebp, ebp
jmp 0x4b93dc
mov esi, dword [ebx + 0x410]
test esi, esi
je 0x4b93a3
mov edx, dword [ebx + 0x414]
inc edx
cmp edx, ecx
jne 0x4b93a3
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x414], edx
mov dword [ebx + 0x410], eax
mov ebp, eax
jmp 0x4b93dc
mov edx, eax
shr edx, 1
cmp ecx, edx
jae 0x4b93bf
mov ebp, dword [ebx + 0x408]
test ecx, ecx
jbe 0x4b93d0
mov eax, ecx
mov ebp, dword [ebp + 0x54]
dec eax
jne 0x4b93b7
jmp 0x4b93d0
mov ebp, dword [ebx + 0x40c]
sub eax, ecx
dec eax
je 0x4b93d0
mov ebp, dword [ebp + 0x50]
dec eax
jne 0x4b93ca
mov dword [ebx + 0x410], ebp
mov dword [ebx + 0x414], ecx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
lea esi, [ebp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 4]
lea edi, [esp + 0x18]
and ecx, 0x3f
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
lea ecx, [esp + 0x18]
push ecx
push str._t_t_54__SCP_SCU_role_selection_sub_item:___r_n_t_t_tSOP_class_UID__s__r_n
push edi
call esi
xor edx, edx
add esp, 0xc
mov dl, byte [ebp + 0x4c]
push edx
push str._t_t_tSCU_role_:__d_r_n
push edi
call esi
xor eax, eax
add esp, 0xc
mov al, byte [ebp + 0x4d]
push eax
push str._t_t_tSCP_role_:__d_r_n
push edi
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x418]
add esp, 0xc
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4b9369
mov ebp, edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
lea esi, [ebx + 0x36c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x368]
lea edi, [esp + 0x18]
and ecx, 0x3f
lea eax, [esp + 0x18]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str._t_t_55__Implementation_version_name_sub_item:___s__r_n
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
jmp 0x4b94a1
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b8
ret 4