joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x168
mov eax, dword [0x496f74]
mov dword [esp + 0x164], eax
mov eax, dword [0x4988d0]
test eax, eax
je 0x403201
push str.FNPLicensingService
push str.FLEXnet_Publisher
push str.Macrovision
push str.SOFTWARE_s_s_s
lea eax, [esp + 0x74]
push 0x100
push eax
mov dword [esp + 0x18], 0
call fcn.0045490d
add esp, 0x18
push 0
lea ecx, [esp + 4]
push ecx
push 0x498888
push 0xf003f
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x403140
xor al, al
mov ecx, dword [esp + 0x164]
call fcn.004543e5
add esp, 0x168
ret
push esi
push edi
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
call fcn.00454993
push eax
call fcn.00454964
add esp, 8
call fcn.00454971
mov esi, eax
shl esi, 0x10
call fcn.00454971
add esi, eax
mov eax, dword [esp + 0x174]
add eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x174], eax
mov edi, 4
jmp 0x403190
lea eax, [esp + 0x174]
push eax
call fcn.00402ff0
mov eax, dword [esp + 0x178]
mov dword [esp + edi + 0x10], eax
lea ecx, [eax + eax]
sub ecx, esi
add edi, 4
add esp, 4
cmp edi, 0x60
mov dword [esp + 0x174], ecx
jb 0x403190
mov eax, dword [esp + 8]
push 0x60
lea edx, [esp + 0x10]
push edx
push 3
push 0
push 0x470354
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x164]
call fcn.004543e5
add esp, 0x168
ret
mov ecx, dword [esp + 0x164]
mov al, 1
call fcn.004543e5
add esp, 0x168
ret

Function at 0x403300
Capabilities:
Access the windows event log

Disassembly:
push ecx
push esi
push str.FLEXnet_Licensing_Service
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
je 0x40333e
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
pop ecx
ret
Function at 0x403770
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x496f74]
push ebx
mov ebx, dword [esp + 0x11c]
test ebx, ebx
mov dword [esp + 0x114], eax
jne 0x4037a7
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x110]
call fcn.004543e5
add esp, 0x114
ret
push ebp
mov ebp, dword [esp + 0x124]
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403845
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x403831
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00403770
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4037f5
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
mov ecx, dword [esp + 0x118]
pop ebp
pop ebx
call fcn.004543e5
add esp, 0x114
ret

Function at 0x403860
Capabilities:
Query service configuration

Disassembly:
push ecx
mov eax, dword [0x4988d4]
test eax, eax
jne 0x40386e
mov al, 1
pop ecx
ret
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push eax
xor bl, bl
mov dword [esp + 0x20], 1
call ebp
mov edx, dword [esp + 0x10]
push edx
call fcn.00452faa
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4988d4]
lea eax, [esp + 0x10]
push eax
push ecx
push esi
push edx
call ebp
test eax, eax
je 0x4038d2
cmp dword [esi + 4], 3
sete bl
push esi
call fcn.0045505d
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
Function at 0x4038f0
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
mov eax, dword [0x496f74]
push ebx
mov dword [ebp - 0x14], eax
mov al, byte [ebp + 0xc]
test al, al
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x403938
mov eax, dword [0x4988d4]
xor edi, edi
cmp eax, edi
jne 0x40396c
mov dword [0x4963e4], 0x2000000c
mov eax, dword [ebp + 8]
test eax, eax
je 0x403947
mov edx, dword [0x4963e4]
mov dword [eax], edx
mov eax, dword [0x4963e4]
mov ecx, dword [ebp - 0xc]
neg eax
sbb eax, eax
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
and eax, 0x19
call fcn.004543e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
lea ecx, [ebp + 0xc]
push ecx
push edi
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], 1
call esi
mov edx, dword [ebp + 0xc]
push edx
call fcn.00452faa
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4988d4]
add esp, 4
mov ebx, eax
lea eax, [ebp + 0xc]
push eax
push ecx
push ebx
push edx
call esi
test eax, eax
je 0x403b0a
mov esi, 0x104
push esi
mov dword [0x4963e4], edi
call fcn.00452faa
add esp, 4
push esi
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esi - 2]
cmp eax, ecx
jbe 0x4039eb
push edi
add esi, 0x104
call fcn.0045505d
push esi
call fcn.00452faa
add esp, 8
jmp 0x4039c1
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push edi
call fcn.004550f2
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push edi
call fcn.00455062
mov eax, dword [ebx + 0xc]
push eax
call fcn.00454c5c
push edi
call fcn.00454c5c
push 0x103
lea ecx, [ebp - 0x118]
push str.FNPLicensingService
push ecx
call fcn.004549cc
lea edx, [ebp - 0x118]
push edx
call fcn.00454c5c
mov eax, dword [ebx + 0xc]
add esp, 0x40
test eax, eax
je 0x403a64
push edi
push eax
call fcn.00454a5f
add esp, 8
test eax, eax
jne 0x403a6e
mov dword [0x4963e4], 0x2000000d
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x403a89
lea ecx, [ebp - 0x118]
push ecx
push eax
call fcn.00454a5f
add esp, 8
test eax, eax
jne 0x403a93
mov dword [0x4963e4], 0x2000000e
test byte [ebx], 0x10
jne 0x403aa4
mov dword [0x4963e4], 0x2000000f
jmp 0x403b01
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x403af7
push str.FLEXnet_Licensing_Service
push eax
call fcn.00454b11
add esp, 8
test eax, eax
jne 0x403af7
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x403b01
push str..System
push eax
call fcn.00454b11
add esp, 8
test eax, eax
je 0x403b01
mov eax, dword [ebx + 0x1c]
push str.LocalSystem
push eax
call fcn.00454b11
add esp, 8
test eax, eax
je 0x403b01
mov dword [0x4963e4], 0x20000011
jmp 0x403b01
mov dword [0x4963e4], 0x20000010
push edi
call fcn.0045505d
add esp, 4
push ebx
call fcn.0045505d
add esp, 4
jmp 0x403938
Function at 0x403d90
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, 2
setne cl
push edi
mov dword [0x4988a8], edx
mov edx, dword [0x498894]
mov dword [0x4988a0], eax
mov eax, dword [esp + 0x10]
push 0x49889c
mov dword [0x4988a4], ecx
mov ecx, dword [esp + 0x18]
push edx
mov dword [0x49889c], 0x10
mov dword [0x4988ac], 0
mov dword [0x4988b0], eax
mov dword [0x4988b4], ecx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edi, eax
test edi, edi
jne 0x403e2d
push esi
push str.FLEXnet_Licensing_Service
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], str.SetServiceStatus_failed
je 0x403e28
push edi
lea eax, [esp + 0x10]
push eax
push edi
push 1
push edi
push edi
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov eax, edi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x405e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.00455274
mov edi, dword [esp + 0x34]
cmp edi, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esi], 0x470538
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jne 0x405e79
mov edi, 0x470354
lea ecx, [esi + 0x18]
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea ebp, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x405e90
sub eax, ebp
push eax
push edi
call fcn.00404c20
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x407a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a1bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x470560
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], 3
call fcn.0043a280
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.004057a0
mov eax, dword [edi + 4]
push eax
call fcn.00453df1
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00405860
mov eax, dword [edi + 4]
push eax
call fcn.00453df1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov edi, dword [esi + 0x14]
add esp, 4
cmp edi, ebx
mov byte [esp + 0x1c], bl
je 0x407b34
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x407b34
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x407b34
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov esi, dword [esi + 0xc]
cmp esi, ebx
mov dword [esp + 0x1c], 0xffffffff
je 0x407b69
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x407b69
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x407b69
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x408760
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x4081b0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], str.FLEXnet_Licensing_Service
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x4087d5
push esi
push str.FLEXnet_Licensing_Service
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
mov dword [esp + 4], str.StartServiceCtrlDispatcher___failed
je 0x4087ce
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
pop esi
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret
Function at 0x408850
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0
push ebx
je 0x408870
dec eax
je 0x408868
dec eax
jne 0x4088be
mov ebx, dword [0x498a14]
jmp 0x408876
mov ebx, dword [0x498a10]
jmp 0x408876
mov ebx, dword [0x498a0c]
test ebx, ebx
je 0x4088be
cmp ebx, 1
jne 0x40888e
call fcn.004024c0
mov ecx, dword [esp + 0xc]
mov byte [ecx], al
mov al, bl
pop ebx
ret
cmp ebx, 0x41
jb 0x4088be
cmp ebx, 0x5a
ja 0x4088be
lea edx, [esp + 8]
mov dword [esp + 8], 0x5c3a41
push edx
mov byte [esp + 0xc], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4088be
mov eax, dword [esp + 0xc]
mov byte [eax], bl
mov al, 1
pop ebx
ret
xor al, al
pop ebx
ret

Function at 0x409750
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4989f4
call esi
push 0x4989dc
call esi
push 0
push 0
push 0
push 0x4096e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x40aab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0x470450
mov dword [esp + 0x28], 0x7eb9cba7
mov dword [esp + 0x14], 0x470874
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
mov word [esp + 8], ax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x470844
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 8]
push eax
mov byte [esp + 0x40], 2
call fcn.0040a8b0
mov edx, dword [esp + 0x24]
add esp, 8
push 0xd1e28639
push 0x6ee41966
push 0xcdafd027
lea ecx, [esp + 0x28]
call dword [edx]
mov edx, dword [esi]
xor eax, 0xcb495fd8
mov ecx, eax
not ecx
xor ecx, eax
and ecx, 0x32884fd2
not eax
xor ecx, eax
xor ecx, 0xbb810d92
mov ecx, dword [edx + ecx*8 + 4]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx]
push edx
lea edx, [esp + 8]
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x40bd80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x40bdb6
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
push 1
lea ecx, [esi + 0x10]
push 0x5e
push 0x1f
call dword [eax]
xor al, 0x51
mov byte [edi], al
mov esi, dword [esi]
inc edi
cmp esi, ebx
jne 0x40bd93
mov eax, dword [esp + 0x10]
mov dword [eax], edi
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
pop esi
mov dword [eax], ecx
pop ebx
ret

Function at 0x414e7e
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x414eb9
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x414ea0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x414eb1
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x414ebb
inc edi
add eax, 0x28
cmp edi, esi
jb 0x414e96
xor eax, eax
pop edi
pop esi
ret
Function at 0x428420
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46d858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x496f74]
push ebx
push ebp
push esi
push edi
push 4
xor ebp, ebp
push str._tmp
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
call fcn.00404c20
push 0x104
mov dword [esp + 0x78], ebp
call fcn.00452faa
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 4
mov esi, eax
push esi
push 0x104
call ebx
mov edi, eax
cmp edi, ebp
jne 0x42849c
push 3
push 0x4710b0
jmp 0x4284db
cmp edi, 0x104
jb 0x4284c4
push esi
call fcn.0045505d
lea ebp, [edi + 1]
push ebp
call fcn.00452faa
add esp, 8
mov esi, eax
push esi
push ebp
call ebx
mov edi, eax
cmp edi, ebp
jae 0x4284a4
xor ebp, ebp
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4284d0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00404c20
push esi
call fcn.0045505d
add esp, 4
push 0x450c40
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
call fcn.00451410
push 0x450c40
mov bl, 1
push str.libFNP_events.log
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], bl
call fcn.00451470
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 2
call fcn.00451520
mov eax, dword [esp + 0x2c]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0x74], bl
jb 0x428546
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00453df1
add esp, 4
mov edi, dword [esp + 0x7c]
push edi
lea ecx, [esp + 0x50]
call fcn.00450c50
cmp dword [esp + 0x64], esi
jb 0x428567
mov edx, dword [esp + 0x50]
push edx
call fcn.00453df1
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
jb 0x42858b
mov eax, dword [esp + 0x34]
push eax
call fcn.00453df1
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5c]
pop ebx
call fcn.004543e5
add esp, 0x68
ret
Function at 0x432580
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x18
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
pop edi
ret
Function at 0x433e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x160
mov ecx, dword [esp + 0x170]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
push ebx
push ebp
mov dword [ecx + 0x18], eax
push esi
mov dword [ecx + 0x1c], eax
push edi
mov dword [ecx + 0x20], eax
mov byte [esp + 0x94], al
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0x180]
mov ecx, 0xa
mov esi, 0x472930
lea edi, [esp + 0x9c]
lea eax, [esp + 0x11c]
push eax
mov eax, dword [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x180]
push ecx
push edx
push eax
xor ebp, ebp
call fcn.00435000
mov ecx, 0xb
lea esi, [esp + 0xd4]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
lea esi, [esp + 0x100]
lea edi, [esp + 0x50]
add esp, 0x14
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
nop
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x433ec4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x433f78
test byte [esp + 0x18], 1
je 0x433f06
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x98]
push edx
mov eax, ecx
push eax
call fcn.00434f20
mov edx, dword [esp + 0x18c]
mov ecx, ebp
shr ecx, 5
or ebx, eax
lea eax, [edx + ecx*4]
mov ecx, ebp
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
add esp, 0xc
xor ecx, edx
mov dword [eax], ecx
mov al, byte [esp + 0x10]
lea ecx, [esp + 0x6c]
push ecx
push 0x10
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], al
mov eax, dword [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x2c]
push ecx
inc ebp
call fcn.00437630
mov eax, dword [esp + 0x18c]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
test eax, eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x40]
push eax
push ecx
je 0x433f50
call fcn.00434e90
jmp 0x433f55
call fcn.00434f20
mov ecx, 0xb
lea esi, [esp + 0x74]
lea edi, [esp + 0x48]
or ebx, eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x48]
add esp, 0xc
xor al, 1
mov byte [esp + 0x3c], al
jmp 0x433eb0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x160
ret
Function at 0x434910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1cc]
push edi
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1d8]
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov byte [esp + 0x94], al
mov ecx, 0xa
mov esi, 0x472930
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esp + 0x1d8]
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x1d4]
lea edx, [esp + 0x120]
push edx
push eax
push ecx
call fcn.00435000
mov ecx, 0xb
lea esi, [esp + 0xd4]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
lea esi, [esp + 0x100]
lea edi, [esp + 0x50]
add esp, 0x14
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x4349c5
test eax, eax
je 0x434ab2
mov cl, byte [esp + 0x18]
test cl, 1
je 0x434a3e
shr cl, 1
test eax, eax
je 0x4349e9
movzx eax, word [esp + 0x44]
shl eax, 1
sar eax, 1
xor al, cl
mov cl, byte [esp + 0x10]
and al, 1
xor al, cl
jmp 0x4349f4
mov al, byte [esp + 0x10]
and cl, 1
xor cl, al
mov al, cl
xor edx, edx
test al, al
setne dl
mov byte [esp + 0x94], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [edx + edx + 1]
mov esi, edx
mov edx, eax
push edx
call fcn.00434f20
mov ecx, dword [esp + 0x1e4]
or ebp, eax
mov eax, ebx
shr eax, 5
lea eax, [ecx + eax*4]
mov ecx, ebx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [eax]
add esp, 0xc
xor ecx, esi
mov dword [eax], ecx
mov dl, byte [esp + 0x10]
lea eax, [esp + 0x6c]
push eax
push 0x10
lea ecx, [esp + 0x78]
push ecx
mov byte [esp + 0x74], dl
mov edx, dword [esp + 0x20]
push 1
push edx
lea eax, [esp + 0x2c]
push eax
add ebx, 2
call fcn.00437630
mov eax, dword [esp + 0x1e4]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
test eax, eax
push edx
lea eax, [esp + 0x44]
push eax
je 0x434a8a
call fcn.00434e90
jmp 0x434a8f
call fcn.00434f20
mov ecx, 0xb
lea esi, [esp + 0x74]
lea edi, [esp + 0x48]
or ebp, eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x48]
add esp, 0xc
xor al, 1
mov byte [esp + 0x3c], al
jmp 0x4349b1
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x1b8
ret
Function at 0x442f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push 0x10
mov esi, ecx
push str.BER_decode_error
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404c20
lea eax, [esp + 4]
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0040a830
cmp dword [esp + 0x1c], 0x10
mov dword [esi], 0x474a64
jb 0x442fe0
mov ecx, dword [esp + 8]
push ecx
call fcn.00453df1
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x474bc8
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x445fc0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e588
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push 0xf0000000
push 1
push 0
mov esi, ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x446036
push 0x13
push str.CryptAcquireContext
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.00404c20
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0
call fcn.00445e20
push 0x493ec0
lea ecx, [esp + 0x24]
push ecx
call fcn.0045523a
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret

Function at 0x446050
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e5b6
push eax
mov al, byte [0x498aec]
mov dword fs:[0], esp
sub esp, 0x48
test al, 1
jne 0x44609f
or dword [0x498aec], 1
mov ecx, 0x498ae8
mov dword [esp + 0x50], 0
call fcn.00445fc0
push 0x46f360
call fcn.004543a2
add esp, 4
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x498ae8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4460fe
push 0xe
push 0x474f38
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc], al
call fcn.00404c20
lea eax, [esp]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 1
call fcn.00445e20
push 0x493ec0
lea ecx, [esp + 0x20]
push ecx
call fcn.0045523a
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8