joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024f4c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp byte [ebp + 8], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x1c], ebx
je 0x10025033
mov dword [ebp - 0x14], 0x6a9
cmp dword [ebp - 0x14], 0x97e
jle 0x10024ff1
xor esi, esi
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 0xc], edi
xor ebx, ebx
lea eax, [ebx + edi]
mov edi, 0x158f
add eax, esi
mov dword [ebp - 0x18], eax
mov esi, eax
mov eax, esi
lea ecx, [ebp - 0x34]
cdq
push edx
push eax
call fcn.10001a94
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10024fa6
mov eax, dword [eax]
push eax
call fcn.10045eb3
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.1000efb0
inc esi
dec edi
jne 0x10024f8f
mov esi, dword [ebp - 0x10]
inc ebx
mov edi, dword [ebp - 0xc]
cmp ebx, 0x73e9
jl 0x10024f80
inc edi
mov dword [ebp - 0xc], edi
cmp edi, 0x3d54
jl 0x10024f7e
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x6252
jl 0x10024f79
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], 0x505
jge 0x10025005
push str.zwqnbba_dhs_xnphyveko_bgbohgon
call fcn.10045eb3
pop ecx
cmp byte [ebx], 0
je 0x10025050
push 0x6527
push 1
push 0x79bf
push 0x3750
push 1
push 0x11bb
mov edx, 0x2cd7
mov cl, 1
call fcn.100229c5
add esp, 0x18
jmp 0x10025050
push ecx
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 0
push 0x7110
push eax
mov edx, 0x24ac
call fcn.10022358
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100250e6
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
cmp byte [ebp + 0x10], 0
push ebx
push esi
mov byte [esp + 0xc], cl
je 0x10025137
test cl, cl
je 0x10025115
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10025172
sub esp, 0x10
mov dl, 1
call fcn.1002387c
add esp, 0x10
jmp 0x10025172
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10025172
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 2
jl 0x10025123
jmp 0x10025172
cmp byte [ebp + 8], 0
je 0x10025162
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esi], ebx
jmp 0x1002515b
mov byte [esp + 0xb], bl
cmp byte [esp + 0xb], bl
je 0x10025159
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
inc dword [esi]
cmp dword [esi], 8
je 0x10025146
jmp 0x10025172
push 0xea1
push 0x1e91
call dword [sym.imp.USER32.dll_SetParent]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100251e6
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [ebp + 0x1c], 0
push esi
mov esi, edx
je 0x1002523a
imul eax, dword [esi], 0x9e0
mov ecx, 0xb172e520
sub ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [eax]
mov eax, dword [ebp + 0x20]
add ecx, dword [eax]
jne 0x10025211
mov eax, dword [esi]
mov eax, dword [esi]
xor ecx, ecx
mov eax, dword [esi]
mov eax, dword [esi]
dec eax
cmp eax, 0x4912
mov eax, dword [ebp + 8]
setl cl
xor edx, edx
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [esi]
sete dl
sub edx, eax
mov eax, dword [ebp + 0xc]
inc edx
mov dword [eax], edx
jmp 0x1002524c
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x1002524c
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002538f
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x1005f1df
call fcn.1005ddd8
sub esp, 0xc
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
je 0x100253c8
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
je 0x1002544b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1002544b
mov dword [ebp - 0x14], 0x7e9b
cmp dword [ebp - 0x14], 0x7fcf
jle 0x100253fe
xor esi, esi
xor ebx, ebx
lea eax, [ebx + esi]
mov ecx, 0x10079158
cdq
push edx
push eax
call fcn.1000e4b2
inc ebx
cmp ebx, 0x249c
jl 0x100253dc
inc esi
cmp esi, 0x803d
jl 0x100253da
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x7abd
jge 0x10025439
mov edx, str.vznd_cuyv_zxhe_kuxqykic_vtbj_zvrzdkz_ejzk
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x10025439
cmp byte [edi], 0
je 0x1002544b
push 0
push 0xeb0
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10025aba
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp byte [ebp + 0x14], 0
push esi
push edi
mov edi, ecx
je 0x10025af7
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
and dword [eax], 0
jmp 0x10025aee
push 0x792d
push 1
push edi
push ecx
mov edx, 0x7937
call fcn.1002313b
mov eax, dword [esi]
add esp, 0x10
inc dword [eax]
mov eax, dword [esi]
cmp dword [eax], 0x16
jge 0x10025ad4
jmp 0x10025b0a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10025d83
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1005f20d
call fcn.1005ddd8
sub esp, 0x14
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], cl
je 0x10025e76
test cl, cl
je 0x10025e65
mov dword [ebp - 0x1c], 0x51b2
cmp dword [ebp - 0x1c], 0x537f
jle 0x10025e23
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp + 0xc], edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov eax, edx
mov dword [ebp - 0x20], eax
mov esi, eax
mov ecx, ebx
xor edi, edi
sar esi, cl
mov eax, esi
mov ecx, 0x10079158
or eax, edi
cdq
push edx
push eax
call fcn.1000e4b2
inc edi
cmp edi, 0x3487
jl 0x10025dd9
mov eax, dword [ebp - 0x20]
inc ebx
cmp ebx, 0x7572
jl 0x10025dd1
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 0x62fd
jl 0x10025dc5
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x3b01
jl 0x10025dc0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5045
jge 0x10025e3f
mov edx, str.fvfb_crn_sxmcgts_mnnvzde_ailuoerg_oser_iqagxznwh_odi_klaz_quiq_kfz
mov ecx, 0x10079158
call fcn.10012e6f
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
jmp 0x10025ea9
cmp byte [edx], 0
je 0x10025ea9
push 1
push ecx
call fcn.100228ac
pop ecx
pop ecx
jmp 0x10025ea9
cmp byte [ebp + 8], 0
je 0x10025e93
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
sub ecx, dword [eax]
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.1000e691
jmp 0x10025ea9
mov byte [ebp + 0xf], 0
cmp byte [ebp + 0xf], 0
je 0x10025ea9
xor dl, dl
mov ecx, 0x66a0
call fcn.10024723
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100300cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f61a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10030247
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], 0x7090
mov dword [ebp - 0x24], str.nzby_wzeogucc_myezs_xxyxlln_yhu
cmp dword [ebp - 0x1c], 0x725e
jle 0x1003018f
and dword [ebp - 0x14], 0
jmp 0x1003012b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x333a
jge 0x10030185
and dword [ebp - 0x18], 0
jmp 0x10030141
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x24f8
jge 0x10030183
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.1000e18e
push eax
call fcn.10045eb3
pop ecx
lea ecx, [ebp - 0x78]
call fcn.1000e184
jmp 0x1003013a
jmp 0x10030124
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6f20
jge 0x100301ab
push dword [ebp - 0x24]
call fcn.10045eb3
pop ecx
jmp 0x100301c7
or dword [ebp - 4], 0xffffffff
jmp 0x100301d1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003021f
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
call fcn.1003f4af
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10030245
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10030245
push 0xea1
push 0x1e91
call dword [sym.imp.USER32.dll_SetParent]
jmp 0x10030260
push 0x5319
push 0x7b6e
push 0x6dc6
push 0
call fcn.1003e840
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100304f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030527
push 0
call fcn.1003227f
pop ecx
jmp 0x10030668
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003054a
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x10030668
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0x62e2
mov dword [ebp - 0x3c], str.hasxnbthh_wmkkwy_poe_fvnkvdp_nxdyii
cmp dword [ebp - 0x2c], 0x65b8
jle 0x100305d8
and dword [ebp - 0x18], 0
jmp 0x1003057a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4250
jge 0x100305d8
and dword [ebp - 0x1c], 0
jmp 0x10030590
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7080
jge 0x100305d6
and dword [ebp - 0x20], 0
jmp 0x100305a6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3264
jge 0x100305d4
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
mov ecx, 0x10079158
call fcn.1000e4b2
jmp 0x1003059f
jmp 0x10030589
jmp 0x10030573
mov eax, dword [ebp - 0x24]
mov dword [eax], 0xc
jmp 0x100305ee
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x12
jge 0x10030628
mov dword [ebp - 0x28], 0xfffffffd
mov dword [ebp - 0x28], 0xfffffff0
jmp 0x1003060d
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffef
jle 0x10030626
mov byte [ebp - 0x11], 0
push 0
lea eax, [ebp - 0x11]
push eax
call fcn.100315d0
pop ecx
pop ecx
jmp 0x10030606
jmp 0x100305e3
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x6185
jge 0x10030642
mov edx, dword [ebp - 0x3c]
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x1003065e
or dword [ebp - 4], 0xffffffff
jmp 0x10030668
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dl, byte [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov al, byte [ebp + 0x14]
vmovsd xmm0, qword [ebp + 0xc]
mov edi, esp
mov dword [esi + 0xd4], edi
mov dword [esi + 0xe0], 0xffffffff
lea edi, [esi + 0xd8]
mov dword [esi + 0xdc], 0x405870
mov ebx, dword fs:[0]
mov dword [esi + 0xd8], ebx
mov dword fs:[0], edi
and dl, 1
mov byte [esi + 0xd3], dl
and al, 1
mov byte [esi + 0xd2], al
vmovsd qword [esi + 0xc8], xmm0
mov dword [esi + 0xc4], ecx
mov dword [esi + 0xbc], 0x40f1e760
mov dword [esi + 0xb8], 0
mov eax, esp
mov dword [eax], str.chwdgqgibskldwjscvtzujbvdpnvntitzupanjcqoqddfryzxibqeuvccubsnbzizqikuqvpetgrusxklr
lea ecx, [esi + 0xa0]
call fcn.00405930
sub esp, 4
mov byte [esi + 0x9f], 0
mov dword [esi + 0xe0], 0
mov eax, esp
mov dword [eax], str.xtnhuvfqhkcdasrpxycwsgyxdzqrulaogpyenozwimv
lea ecx, [esi + 0x84]
call fcn.00405930
sub esp, 4
jmp 0x4018c6
mov dword [esi + 0x7c], 0x40f231b0
mov dword [esi + 0x78], 0
mov byte [esi + 0x77], 0
mov dword [esi + 0x6c], 0x40c9b200
mov dword [esi + 0x68], 0
mov byte [esi + 0x67], 1
mov dword [esi + 0x5c], 0x40a74800
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0x200
mov dword [esi + 0xe0], 1
mov eax, esp
mov dword [eax], str.chwdgqgibskldwjscvtzujbvdpnvntitzupanjcqoqddfryzxibqeuvccubsnbzizqikuqvpetgrusxklr
lea ecx, [esi + 0x3c]
call fcn.00405930
sub esp, 4
jmp 0x401921
mov dword [esi + 0xe0], 2
mov eax, esp
mov dword [eax], str.chwdgqgibskldwjscvtzujbvdpnvntitzupanjcqoqddfryzxibqeuvccubsnbzizqikuqvpetgrusxklr
lea ecx, [esi + 0x24]
call fcn.00405930
sub esp, 4
jmp 0x401943
lea ecx, [esi + 0x24]
lea eax, [esi + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00405a50
mov byte [esi + 0x13], al
lea ecx, [esi + 0x24]
call fcn.00405a20
lea ecx, [esi + 0x3c]
call fcn.00405a20
mov al, byte [esi + 0x13]
test al, 1
jne 0x401978
jmp 0x40199c
mov dword [esi + 0x20], 0x10
cmp dword [esi + 0x20], 0
jle 0x401997
mov eax, dword [esi + 0x20]
add eax, 0xffffffff
mov dword [esi + 0x20], eax
jmp 0x40197f
jmp 0x40199c
mov dword [esi + 0x1c], 0x30
cmp dword [esi + 0x1c], 0
jle 0x4019bb
mov eax, dword [esi + 0x1c]
add eax, 0xffffffff
mov dword [esi + 0x1c], eax
jmp 0x4019a3
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xe0], 1
mov eax, esp
mov dword [eax], str.aimyspgesqdavhnmxfs
call fcn.00405930
sub esp, 4
jmp 0x4019dd
lea ecx, [esi + 0x84]
call fcn.00405a20
lea ecx, [esi + 0xa0]
call fcn.00405a20
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xd8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x402ba0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
dec edi
rcr edi, 0x75
neg edx
imul ebx
sbb edx, 0x50
inc esi
rol esi, 0xdc
sub edi, 0x37
rcl eax, 0x92
rol eax, 0x82
inc edi
dec eax
sub esi, 0xac
or edx, 7
add edi, 0x40
imul esi
mov edx, 0x41
dec edx
dec eax
imul edi
sbb esi, 0x44
neg esi
rcl esi, 0xd3
neg esi
rol eax, 0xa4
dec edi
mov ebx, 0xce
or edx, 0xf4
dec esi
mov esi, 0xce
rcl edx, 0xc2
rcr edx, 0x81
mov eax, 0x5c
imul edi
not edi
imul edx
mov edi, 0x8e
inc esi
ror edx, 0x44
ror eax, 0x15
bswap edi
rcr eax, 0x61
ror edi, 0x58
imul edx
not esi
bswap edx
add edi, 0x87
neg eax
rcl ebx, 3
neg eax
xor ecx, ecx
xor edi, edi
neg edx
imul esi
neg edx
or edx, 0xd8
bswap eax
imul esi
add edi, 0x6f
ror eax, 0xb3
neg ebx
imul edx
not edi
mov edx, 0x3f
inc esi
add edx, 0xdc
inc ebx
sbb esi, 0xfd
dec edx
inc ebx
rcr eax, 0x49
neg eax
sub edx, 0xe3
sbb edi, 0x70
not esi
rcl eax, 0xa6
imul edi
or edi, 0x43
neg esi
sub edi, 0x2d
or edi, 0x26
rcl eax, 0x12
inc edi
bswap eax
mov esi, 9
ror edi, 0xf7
sub eax, 0xf6
not esi
imul eax
rol esi, 0x40
and edx, 0x6a
rcl esi, 0xb9
add eax, 0x89
dec esi
inc esi
imul eax
mov edi, 0xca
not edi
rol edi, 0xfa
ror eax, 0xe2
not edi
sbb eax, 0xb
mov ecx, dword [ebp + 0xc]
or eax, 5
rcl eax, 0x6d
inc ebx
sbb ebx, 0x8c
mov ebx, 0x43
rol edx, 0x1e
rcr edi, 0x53
bswap ebx
imul ebx
neg edi
dec eax
imul esi
not esi
sbb edx, 0xd0
imul edi
rcl edi, 0xc2
not eax
bswap edx
not esi
rcr edx, 0xa2
imul ebx
dec ebx
sub esi, 0xb5
sbb esi, 0x68
bswap esi
imul edi
inc edi
bswap esi
bswap edi
mov esi, 0xa8
neg edi
mov edx, 0x3b
dec esi
rol edi, 0x90
sub ebx, 0x51
rcl edx, 0x43
neg esi
imul ebx
sub eax, 0x98
dec esi
ror ebx, 0x80
not esi
rcl eax, 0xc3
mov eax, 0xe5
neg ebx
inc edi
or edx, 0x41
rcr edx, 0xce
rcl eax, 0x3b
imul edi
mov edi, dword [ebp + 8]
mov eax, ebx
xor esi, eax
mov eax, ebx
xor eax, eax
mov esi, esi
xor esi, eax
mov esi, ebx
mov eax, esi
mov eax, ebx
mov esi, ebx
mov eax, eax
xor ebx, esi
not byte [edi]
xor eax, eax
mov ebx, ebx
mov esi, esi
xor eax, eax
mov ebx, ebx
mov esi, esi
xor ebx, esi
mov esi, eax
mov ebx, ebx
sub byte [edi], 0x89
xor esi, eax
xor esi, esi
xor ebx, esi
xor ebx, ebx
xor eax, eax
xor esi, esi
xor ebx, ebx
mov eax, eax
mov esi, esi
add byte [edi], 0x57
mov ebx, esi
mov ebx, ebx
xor eax, ebx
mov eax, esi
xor ebx, eax
mov esi, eax
mov esi, esi
mov eax, eax
xor eax, esi
imul byte [edi]
inc edi
loop 0x402d57
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4071cd
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40e6a5
push ebx
push esi
call fcn.0040e5d1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040e565
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40e652
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40e6a4
push edi
push eax
call fcn.0040cf6b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40e672
call fcn.0040cfb9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40e6a3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040e565
add esp, 0x20
test eax, eax
jne 0x40e691
push edi
call fcn.0040cfb9
jmp 0x40e699
push ebx
call fcn.0040cfb9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40f8b4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418a70
push 0x418a68
push str.FlsAlloc
push 0x1f
call fcn.0040f773
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f8e8
push dword [ebp + 8]
mov ecx, esi
call dword [0x416130]
call esi
jmp 0x40f8ee
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f932
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418a80
push 0x418a78
push str.FlsGetValue
push 0x21
call fcn.0040f773
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f969
push dword [ebp + 8]
mov ecx, esi
call dword [0x416130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40f971
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418a88
push 0x418a80
push str.FlsSetValue
push 0x22
call fcn.0040f773
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f9ab
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x416130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x414d70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x414d9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x414d9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Identify system language via api

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push 0x3ef
push dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
and ax, 0xff
movzx ebp, ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
cmp ebx, esi
pop ecx
je 0x401092
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x14b
push ebx
call edi
mov dword [esp + 0x10], esi
lea eax, [esi + str.English_version]
push eax
push 0
push 0x143
push ebx
call edi
cmp bp, word [esi + 0x422020]
jne 0x401071
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
inc dword [esp + 0x10]
add esi, 0xa2
cmp esi, 0x288
jb 0x40104f
push 0
push dword [esp + 0x18]
push 0x14e
push ebx
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x402250
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov eax, 1
ret

Function at 0x405b80
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00417950
mov eax, dword [0x42a388]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
test eax, eax
je 0x405be7
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileType]
test eax, eax
je 0x405be7
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR80.dll_vfprintf]
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0041761c
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call dword [sym.imp.MSVCR80.dll__vsnprintf]
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
jae 0x405c77
call fcn.00405aa0
test eax, eax
je 0x405c77
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0041761c
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0041761c
add esp, 0x108
ret
Function at 0x41761c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a388]
jne 0x417626
repz ret
jmp fcn.00417c6f