joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450634
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp + 0x14]
mov byte [esi + 0x42], 0
push dword [ebp + 0x10]
mov dword [esi + 0x34], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4506c4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0x3e5
cmp eax, ebx
jne 0x4506c6
jmp 0x4506a0
call edi
cmp eax, ebx
jne 0x4506a6
push 1
call fcn.004510ed
mov eax, esi
call fcn.004510d1
test al, al
jne 0x4506b1
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], 0
je 0x45067d
cmp dword [esi + 0x30], 0
jne 0x4506b8
mov eax, dword [esi + 0x2c]
jmp 0x4506c6
mov eax, 0xe0000008
jmp 0x4506c6
mov esi, dword [esi + 0x2c]
test esi, esi
jle 0x4506c4
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4506cd
Capabilities:
Query remote server for available data

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
xor ebx, ebx
mov byte [esi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [esp + 0x20]
mov byte [esi + 0x42], bl
push dword [esp + 0x20]
mov dword [esi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x450758
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebp, 0x3e5
cmp eax, ebp
jne 0x45075a
jmp 0x450735
call edi
cmp eax, ebp
jne 0x45073a
push 1
call fcn.004510ed
mov eax, esi
call fcn.004510d1
test al, al
jne 0x450744
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], bl
je 0x450712
cmp dword [esi + 0x30], ebx
jne 0x45074b
mov eax, dword [esi + 0x2c]
jmp 0x45075a
mov eax, 0xe0000008
jmp 0x45075a
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jle 0x450758
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x451273
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004773f0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4512b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4512d3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, 3
je 0x4512d1
cmp eax, 4
je 0x4512d1
cmp eax, 1
je 0x4512d1
cmp eax, 2
je 0x4512d1
push 2
pop eax
jmp 0x4512d3
xor eax, eax
leave
ret 8

Function at 0x4522e1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test eax, eax
je 0x4522ee
lea esi, [eax - 0x20]
jmp 0x4522f0
xor esi, esi
cmp byte [eax + 0x1c], 0
je 0x452324
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 2
jne 0x452315
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45232a
cmp dword [ebp + 8], 0
jne 0x452324
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 1
je 0x45233e
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0xc]
push eax
mov eax, esi
call fcn.00451928
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x45266f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi], ebx
jne 0x452687
xor al, al
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0xc]
push eax
call fcn.00407441
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0xc]
push str.SELECT__Value__FROM__Property__WHERE__Property____s
push eax
call fcn.0042ec93
mov esi, dword [esi]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push esi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
je 0x4526d3
cmp dword [ebp - 4], ebx
je 0x4526c9
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.004071b8
jmp 0x45267f
push ebx
push dword [ebp - 4]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x4526bc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x45271c
cmp dword [ebp - 8], ebx
je 0x452700
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x45270d
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.004071b8
mov al, bl
jmp 0x452681
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0045281d
mov byte [ebp + 0xb], al
cmp dword [ebp - 8], ebx
je 0x452737
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x452744
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov bl, byte [ebp + 0xb]
jmp 0x45270d
Function at 0x4528aa
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x4528cb
xor al, al
jmp 0x4529eb
push 2
lea esi, [ebp - 0x408]
pop edi
jmp 0x4528dd
mov word [esi], ax
add ecx, edi
add esi, edi
movzx eax, word [ecx]
test ax, ax
jne 0x4528d6
xor eax, eax
mov word [esi], ax
push 0x5c
xor dl, dl
pop ebx
sub esi, edi
xor al, al
mov byte [ebp - 0x409], dl
cmp word [ebp - 0x408], bx
jne 0x45291b
cmp word [ebp - 0x406], bx
jne 0x45291b
mov byte [ebp - 0x409], 1
cmp word [esi], bx
je 0x452922
inc al
jmp 0x452922
cmp word [esi], bx
jne 0x452922
mov dl, 1
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x410], ecx
cmp word [ebp - 0x404], bx
je 0x452944
add ecx, edi
cmp word [ecx], bx
jne 0x452937
mov dword [ebp - 0x410], ecx
test al, al
jne 0x45294e
test dl, dl
je 0x45295e
jmp 0x452957
add esi, edi
mov eax, ebx
mov word [esi], ax
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
and dword [ebp - 0x418], 0
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x420]
push eax
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4529cc
cmp word [esi], bx
jne 0x45299a
jmp 0x452998
cmp word [esi], bx
je 0x4529a4
sub esi, edi
lea eax, [ebp - 0x408]
cmp esi, eax
ja 0x452993
cmp esi, dword [ebp - 0x410]
jb 0x4528c4
cmp byte [ebp - 0x409], 0
jne 0x4529c1
cmp esi, dword [ebp - 0x410]
jne 0x4529c3
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
jmp 0x45296c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x414]
ja 0x4529e9
jb 0x4529e4
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x418]
jae 0x4529e9
xor eax, eax
inc eax
jmp 0x4529eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476b4b
leave
ret

Function at 0x452af7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x452b7e
push esi
call fcn.0047602d
mov edi, eax
pop ecx
test edi, edi
jne 0x452b36
push 8
pop esi
push edi
call fcn.00476c1b
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
push edi
push esi
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x452b7e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x4a4f0c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x452b87
cmp dword [ebp - 0x10], 0
je 0x452b87
mov eax, dword [ebp - 8]
test ebx, ebx
je 0x452b70
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x452b87
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x452b87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
jmp 0x452b29
Function at 0x452b8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00416651
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 4]
call fcn.00405d11
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x452c99
push esi
call fcn.0047602d
mov edi, eax
pop ecx
test edi, edi
jne 0x452bd7
lea ecx, [ebp - 4]
call fcn.004071b8
push edi
jmp 0x452ca3
push edi
push esi
push dword [ebp - 0xc]
lea esi, [ebp - 4]
call fcn.00405d11
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x452bc9
lea eax, [ebp - 8]
push eax
call fcn.00407441
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x452c27
cmp dword [ebp - 0x10], 0
je 0x452c27
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x4a13c4
push ecx
push eax
jmp 0x452c36
push 0x4a13c4
push 0x4e2
push 0x409
lea eax, [ebp - 8]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0042ec93
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 8]
call fcn.00405d11
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x452c8c
cmp dword [ebp - 0x18], 0
je 0x452c8c
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.004073e1
mov ecx, esi
call fcn.004071b8
lea ecx, [ebp - 4]
call fcn.004071b8
push edi
call fcn.00476c1b
mov al, 1
jmp 0x452caa
lea ecx, [ebp - 8]
call fcn.004071b8
jmp 0x452bc9
lea ecx, [ebp - 4]
call fcn.004071b8
push 0
call fcn.00476c1b
xor al, al
pop ecx
pop edi
pop esi
leave
ret

Function at 0x452dde
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0xc8
xor ebx, ebx
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047602d
pop ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push esi
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x452e30
inc dword [ebp - 4]
jmp 0x452df1
cmp eax, ebx
jne 0x452e52
cmp dword [ebp - 8], 1
je 0x452e60
cmp dword [ebp - 8], 4
jne 0x452df1
push dword [esi]
push 0x4a8a2c
push edi
call fcn.0042ec93
add esp, 0xc
mov bl, 1
push esi
call fcn.00476c1b
mov al, bl
pop ecx
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [esi + ecx*2], ax
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.0040f504
call fcn.00406165
lea ecx, [ebp + 0xc]
call fcn.004071b8
push esi
call fcn.00476c1b
mov al, 1
jmp 0x452e5a
Function at 0x4530c7
Capabilities:
Get file size

Disassembly:
mov eax, dword [eax]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4530f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45310e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test esi, esi
je 0x45310c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453307
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x78]
call fcn.0043d760
mov edx, dword [edx]
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push SysReAllocStringLen
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
jne 0x453355
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x453427
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
sub ebx, dword [ebp + 8]
mov esi, 0xc000
push esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
call fcn.0042ca3a
push edi
lea eax, [ebp - 0x88]
push eax
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4533f7
mov edi, dword [ebp - 0x88]
test edi, edi
je 0x4533f5
mov eax, dword [ebp - 0x84]
lea ecx, [edi + eax]
mov byte [ebp - 0x79], 0
cmp ecx, ebx
jbe 0x4533bf
mov edi, ebx
sub edi, eax
mov dword [ebp - 0x88], edi
mov byte [ebp - 0x79], 1
push dword [ebp - 0x80]
mov eax, edi
lea ecx, [ebp - 0x78]
call fcn.0043d790
cmp byte [ebp - 0x79], 0
jne 0x4533f5
add dword [ebp - 0x84], edi
push 0
lea eax, [ebp - 0x88]
push eax
push esi
push dword [ebp - 0x80]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x453396
xor edi, edi
lea esi, [ebp - 0x78]
call fcn.0043d850
mov eax, esi
call fcn.0043d920
push dword [ebp - 0x80]
mov esi, eax
call fcn.00476c1b
pop ecx
cmp dword [ebp - 0x90], edi
je 0x453425
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476b4b
leave
ret
Function at 0x4534a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x64], 0x44
call fcn.004773f0
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 8], bl
cmp byte [ebp + 0x18], bl
je 0x4534e4
lea esi, [ebp - 0xc]
call fcn.004558e7
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push dword [ebp + 0x14]
push ebx
push ebx
push ebx
call fcn.00405d11
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp byte [ebp + 0x18], bl
je 0x453527
cmp byte [ebp - 8], bl
je 0x453527
call fcn.00455831
lea eax, [ebp - 0xc]
push eax
call dword [0x4c22f0]
mov byte [ebp - 8], bl
cmp esi, ebx
jne 0x45353a
lea esi, [ebp - 0xc]
call fcn.004558d0
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
cmp dword [ebp + 0x10], ebx
je 0x453556
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45352b

Function at 0x453563
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004773f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [ebp + 0xc], ebx
je 0x45358e
mov dword [ebp - 0x38], 0x40
push esi
mov esi, dword [edi]
mov ecx, edi
call fcn.0043faa0
test al, al
je 0x45359f
add esi, 8
xor eax, eax
cmp byte [ebp + 0x10], bl
mov dword [ebp - 0x2c], esi
sete al
mov dword [ebp - 0x30], 0x4a0f4c
pop esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x4535c2
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4535d4
xor al, al
jmp 0x4535f7
cmp dword [ebp + 0xc], ebx
je 0x4535f5
cmp dword [ebp - 4], ebx
je 0x4535f5
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov al, 1
pop ebx
leave
ret
Function at 0x453b15
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
mov dword [ebp - 0x414], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x410]
push ecx
mov edi, 0x3ff
push edi
lea ecx, [ebp - 0x40c]
push ecx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x410], ebx
push eax
jmp 0x453bae
mov eax, dword [ebp - 0x410]
mov byte [ebp + eax - 0x40c], bl
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x414]
call fcn.00453f10
push ebx
lea eax, [ebp - 0x410]
push eax
push edi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x41c]
call esi
cmp dword [ebp - 0x410], ebx
jne 0x453b79
mov edi, dword [ebp - 0x414]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x453be8
lea ecx, [eax - 2]
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.0042e282
call fcn.00406165
lea ecx, [ebp - 0x414]
call fcn.004071b8
cmp dword [ebp - 0x41c], ebx
je 0x453bfc
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476b4b
leave
ret
Function at 0x454211
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.00416651
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.00416651
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x454347
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004773f0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push ebx
push eax
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x45427d
push dword [ebp + 8]
call fcn.00407441
jmp 0x454393
push dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov ecx, 0x4c1400
lea esi, [ebp - 0xc]
call fcn.0042e447
cmp dword [ebp - 0x40], 5
push 0x2f
pop eax
jne 0x45429c
push 0x5c
pop eax
push eax
lea esi, [ebp - 0xc]
call fcn.0042e22b
mov esi, eax
cmp esi, ebx
jl 0x4542d0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
sub ecx, esi
push eax
dec ecx
lea eax, [ebp - 0xc]
call fcn.0044b327
lea edi, [ebp - 4]
call fcn.00406165
lea ecx, [ebp - 0x10]
call fcn.004071b8
cmp dword [ebp - 0x40], 3
jne 0x4542da
push 0x3f
jmp 0x4542e2
cmp dword [ebp - 0x40], 1
jne 0x4542ee
push 0x3b
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0042e201
mov esi, eax
cmp esi, ebx
jl 0x454311
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0042e282
lea edi, [ebp - 4]
call fcn.00406165
lea ecx, [ebp - 0x10]
call fcn.004071b8
lea eax, [ebp - 4]
push eax
call fcn.0043f820
lea eax, [ebp - 0x10]
mov dword [esp], str..aiu
push eax
call fcn.0040f504
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 4]
call fcn.0043ec70
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004071b8
lea ecx, [ebp - 0xc]
call fcn.004071b8
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0042e201
test eax, eax
jle 0x45435b
mov eax, esi
jmp 0x45438a
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], ebx
je 0x45437c
lea eax, [ebp - 8]
call fcn.0043e5d0
mov eax, dword [ebp - 4]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.0042e514
jmp 0x454387
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.00406165
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00416651
lea ecx, [ebp - 8]
call fcn.004071b8
lea ecx, [ebp - 4]
call fcn.004071b8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4543ab
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004773f0
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], esi
mov edi, dword [eax - 0xc]
mov ebx, 0x4c1400
push eax
mov ecx, ebx
lea esi, [ebp - 4]
call fcn.0042e447
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x45441f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 4]
call fcn.004071b8
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.0042e447
mov edi, dword [ebp + 0x14]
mov eax, esi
call fcn.00406165
mov ecx, esi
call fcn.004071b8
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.0042e447
mov edi, dword [ebp + 0x18]
mov eax, esi
call fcn.00406165
mov ecx, esi
call fcn.004071b8
cmp dword [ebp - 0x24], 0
je 0x454488
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.0042e447
mov edi, dword [ebp + 0x1c]
mov eax, esi
call fcn.00406165
mov ecx, esi
call fcn.004071b8
cmp dword [ebp - 0x1c], 0
je 0x4544af
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.0042e447
mov edi, dword [ebp + 0x20]
mov eax, esi
call fcn.00406165
mov ecx, esi
call fcn.004071b8
cmp dword [ebp - 0xc], 0
je 0x4544d6
push dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ecx, ebx
lea esi, [ebp + 8]
call fcn.0042e447
mov edi, dword [ebp + 0x24]
mov eax, esi
call fcn.00406165
mov ecx, esi
call fcn.004071b8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
xor esi, esi
jmp 0x454410

Function at 0x454c7d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push edi
push eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x454d0d
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040f504
lea ebx, [ebp - 0x7c]
call fcn.0043d540
inc dword [ebp - 0x74]
mov ecx, ebx
call fcn.004071b8
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x104
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x454cca
pop ebx
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.00476b4b
add ebp, 0x19c
leave
ret 4