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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.00420840
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 4
push 0x45f36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404580
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x10
push str.UserDataMigrated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424035
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x424073
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424069
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4240fe
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4240c0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4240b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4240fe
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret 4
call fcn.0043c8de
int3
Function at 0x424110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.00420840
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 4
push 0x45f36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404580
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0xf
push 0x46350c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424205
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x424243
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424239
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4242ce
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x424290
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424286
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4242ce
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret 4
call fcn.0043c8de
int3
Function at 0x4242e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.00420840
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 4
push 0x45f36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404580
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x14
push str.LocalAppDataMigrated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4243d5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x424413
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424409
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42449e
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x424460
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42449e
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret 4
call fcn.0043c8de
int3
Function at 0x4244b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.00420840
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 4
push 0x45f36c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404580
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x13
push str.ProgramDataMigrated
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000001
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4245a5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4245e3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4245d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42466e
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x424630
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424626
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42466e
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret 4
call fcn.0043c8de
int3
Function at 0x4268b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45429e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x426901
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 1
cmp eax, 0xea
jne 0x4269fc
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x10]
shr edx, 1
mov dword [ebp - 0x14], eax
cmp edx, eax
ja 0x426977
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42696c
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edx
mov word [eax + edx*2], cx
jmp 0x4269d5
mov edi, dword [ebp + 8]
mov ecx, edx
sub ecx, eax
mov eax, dword [esi + 0x14]
sub eax, dword [ebp - 0x14]
cmp ecx, eax
ja 0x4269c7
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], edx
mov dword [ebp - 0x18], esi
jb 0x42699b
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x14]
lea edi, [eax + edi*2]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x4269bf
mov edi, dword [ebp - 0x14]
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x4269d5
push 0
push ecx
push dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00404660
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4269df
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4269e7
mov edi, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x426a20
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x426a0d
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0
jne 0x426a20
push 0
dec eax
mov ecx, esi
push eax
call fcn.00403ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428c80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x428cb1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x428ca0
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x4319b9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00431995
pop esi
leave
ret 8

Function at 0x433bf6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x433c35
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x433c35
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x433c35
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x433c35
cmp dword [ecx + 0x74], 0xe
jbe 0x433c35
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44331c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45a904
push 0x45a8fc
push str.FlsAlloc
push 0x1e
call fcn.004431c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x443350
push dword [ebp + 8]
mov ecx, esi
call dword [0x45627c]
call esi
jmp 0x443356
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44339a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45a914
push 0x45a90c
push str.FlsGetValue
push 0x20
call fcn.004431c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4433d1
push dword [ebp + 8]
mov ecx, esi
call dword [0x45627c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4458dc
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x445927
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00445a7b
test al, al
jne 0x445921
sub edx, 2
cmp edx, edi
jne 0x445907
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x445949
lea eax, [edi + 2]
cmp edx, eax
je 0x445949
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00445828
add esp, 0x10
jmp 0x445a43
push esi
lea ecx, [ebp - 0x255]
call fcn.00445a7b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44598c
push dword [ebp - 0x25c]
jmp 0x445939
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4459c9
cmp word [ebp - 0x226], 0
je 0x4459ea
cmp word [ebp - 0x226], ax
jne 0x4459c9
cmp word [ebp - 0x224], 0
je 0x4459ea
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00445828
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x445a36
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4459a3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x445a1e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x445a43
push 0x445658
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0044bf00
add esp, 0x10
jmp 0x445a13
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432e76
leave
ret
Function at 0x44dff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44e01d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44e01d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xbe7d51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0xbffd2b
sub esp, 0x24
mov eax, dword [0xc62154]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0xbffd99
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.00be84d6
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.00bea5fb
pop ecx
pop ecx
test al, al
jne 0xbffdb0
lea ecx, [esp + 0x18]
add edi, 4
call fcn.00bea57e
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0xbffd64
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00be99ad
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.00bea57e
jmp 0xbffd9b

Function at 0xbea7b3
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc007aa
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0xc0089e
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0xc654f8
mov bl, byte [esi + edi]
push 0xc475c8
push ebp
call fcn.00be9660
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0xba1f3c
push 0xc475d4
mov bh, byte [edx + section..euro]
push 0xc655e0
xor bh, bl
call fcn.00be9660
pop ecx
pop ecx
mov ecx, eax
call fcn.00bec70c
mov bl, byte [esi + edi]
push 0xba1f3c
push 0xc475e4
push ebp
call fcn.00be9660
pop ecx
pop ecx
mov ecx, eax
call fcn.00bec70c
add byte [esi + edi], bh
push 0xba1f3c
push 0xc475f8
push ebp
call fcn.00be9660
pop ecx
pop ecx
mov ecx, eax
call fcn.00bec70c
dec byte [esi + edi]
push 0xc47618
push ebp
call fcn.00be9660
add byte [esi + edi], 0xfe
push 0xc47624
push ebp
call fcn.00be9660
sub byte [esi + edi], bl
push 0xc47638
push ebp
call fcn.00be9660
inc byte [esi + edi]
push 0xc47648
push ebp
call fcn.00be9660
inc byte [esi + edi]
push 0xc47654
push ebp
call fcn.00be9660
inc byte [esi + edi]
push 0xc47660
push ebp
call fcn.00be9660
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0xc007c3
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0xbecb1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0xbffdf6
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0xc96198], eax
pop edi
pop esi
ret
Function at 0x4075e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5141
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4ff4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4b168c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.cpop
push 0x4b16b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call fcn.004380d0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x4077c7
push 0x5b
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspace_supportcomputer_centercomputercenter_src_baseconfig_mgr.cc
mov dword [ebp - 0x234], 0xf
call fcn.0040a230
push 3
push 0x4b16c4
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040a230
push 0x74
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00406000
mov esi, eax
push str.ini_val:
push esi
mov byte [ebp - 4], 2
call fcn.00406ea0
add esp, 8
mov ecx, esi
push edi
call fcn.00406d30
call fcn.004380d0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e0]
call fcn.00406fe0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x407776
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40776c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4077fd
push edx
push ecx
call fcn.0043ac72
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x4077c7
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407802
push edx
push ecx
call fcn.0043ac72
add esp, 8
xor eax, eax
test edi, edi
jne 0x4077d2
lea eax, [edi + 1]
jmp 0x4077e0
cmp dword [ebp + 8], 2
jne 0x4077e0
xor eax, eax
cmp edi, 2
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af28
mov esp, ebp
pop ebp
ret 4
call fcn.0046a2d8
call fcn.0046a2d8
int3
Function at 0x407c40
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4ff4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.00466d80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4b14a4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x20019
xor ebx, ebx
lea ecx, [ebp - 0x224]
push 0x4b15d0
push SysReAllocString
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.004084a0
mov esi, dword [ebp - 0x224]
test eax, eax
jne 0x407d21
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 4
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x4b15f8
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407d21
cmp dword [ebp - 0x218], 4
jne 0x407d21
cmp dword [ebp - 0x210], ebx
setne bl
test esi, esi
je 0x407d2c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
mov dword [edi], ebx
push eax
push 0
push 0x4b1594
push 0x4b15c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, edi
mov dword [edi + 4], eax
call fcn.00407d70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043af28
mov esp, ebp
pop ebp
ret