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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649808
push 0x639288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x635329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x635329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006381d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x635329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x635329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x63532c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00635351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x635d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x635d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x635d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x635d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x635d94
push eax
push esi
call fcn.0063820b
add esp, 8
pop esi
ret 0x10

Function at 0x635da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x635e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x635e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x64e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00637dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x635dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x635e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x635ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x635eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x64e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00637dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x635eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x635e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x636000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x636131
push esi
call fcn.00639145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00628080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x636131
push 0
push ebp
call fcn.006283a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00628260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x63608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006282f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x636121
push 0x64e918
push edi
call fcn.006373f0
push eax
push ebx
push esi
call fcn.00635f60
push 0x64e8f8
push edi
call fcn.006373f0
push eax
push ebx
push esi
call fcn.00635f60
push 0x64e8d8
push edi
call fcn.006373f0
push eax
push ebx
push esi
call fcn.00635f60
push 0x64e8c0
push edi
call fcn.006373f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00635f60
push 0x64e8a0
push edi
call fcn.006373f0
push eax
push ebx
push esi
call fcn.00635f60
push 0x64e888
push edi
call fcn.006373f0
push eax
push ebx
push esi
call fcn.00635f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6371b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00637140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00637140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00637140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00637140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x637bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x637c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x64987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x637c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x637c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40825b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x516124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x4082e2
push edi
push 0x4eab5c
push esi
call fcn.004a69eb
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4082a7
push esi
push str.The_file__s_could_not_be_opened.
push str.ExifLoader
push eax
push dword [ebx + 0x28]
call fcn.004058f1
add esp, 0x14
jmp 0x4082e1
mov esi, 0x400
jmp 0x4082c3
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
call fcn.00407f68
add esp, 0xc
test al, al
je 0x4082da
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004ac9b1
add esp, 0x10
test eax, eax
jg 0x4082ae
push edi
call fcn.004ac60d
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004588b0
leave
ret

Function at 0x40b90b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004589d0
mov eax, dword [0x516124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x4d5590
push eax
call fcn.004a698d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40b9a8
push esi
mov esi, 0x1000
lea eax, [ebp - 0x1004]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004a3dd0
push edi
push 1
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004ac9b1
push 2
push ebx
push ebx
push edi
call fcn.004acdc7
push edi
call fcn.004ad4d8
push edi
mov ebx, eax
mov esi, edx
call fcn.004ac60d
add esp, 0x34
xor eax, eax
cmp esi, eax
pop esi
ja 0x40b989
cmp ebx, 0x14
jb 0x40b9a8
push 1
push 1
push 1
push eax
push 0x1000
push eax
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0040b9b8
add esp, 0x20
jmp 0x40b9aa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004588b0
leave
ret
Function at 0x40f849
Capabilities:
Get number of processors

Disassembly:
push esi
push esi
add esp, 4
or esi, 0xca03
jmp 0x40f746
pop esi
push eax
push esi
add esp, 4
xor eax, 0x714d
jmp 0x40f75b
add eax, 0x64c8
sub eax, 0x181a7
pop eax
lea eax, [ebp - 0x15d0]
mov dword [ebp - 0xc18], eax
mov ecx, dword [ebp - 0x4bc]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc14], edx
xor eax, eax
mov word [ebp - 0x1ac], ax
xor ecx, ecx
mov word [ebp - 0x100], cx
push ecx
xor ecx, 0x1508a
jmp 0x40f7a4
jmp 0x40f7ac
pop ecx
push esi
or esi, 0xcaa9
xor esi, 0xfe7f
jmp 0x40f7c0
and esi, 0xc490
pop esi
mov edx, dword [ebp - 0xc14]
mov ax, word [edx]
mov word [ebp - 0xfb6], ax
mov ecx, dword [ebp - 0xc14]
add ecx, 2
mov dword [ebp - 0xc14], ecx
mov dx, word [ebp - 0xfb6]
mov word [ebp - 0x1ac], dx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xfb8], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xfb8]
mov word [ebp - 0x100], ax
push esi
push edx
add esp, 4
sub esi, 0xe9bd
or esi, 0x90b9
or esi, 0x48f2
pop esi
push ebx
call fcn.0040f849
add byte [ecx + 0x33], al
dec esi
dec esp
xor al, 0x3a
inc ecx
inc edi
add esp, 4
and ebx, 0x3b00
pop ebx
movzx ecx, word [ebp - 0x100]
test ecx, ecx
jne 0x40f876
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
sub edx, eax
mov dword [ebp - 0x1510], edx
jmp 0x40f8d9
movzx ecx, word [ebp - 0x1ac]
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x40f795
movzx eax, word [ebp - 0x1ac]
xor eax, 0x20
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
je 0x40f795
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
cmp edx, eax
jge 0x40f8c3
mov dword [ebp - 0x1508], 0xffffffff
jmp 0x40f8cd
mov dword [ebp - 0x1508], 1
mov ecx, dword [ebp - 0x1508]
mov dword [ebp - 0x1510], ecx
cmp dword [ebp - 0x1510], 0
jne 0x40f922
push ecx
sub ecx, 0x153bb
and ecx, 0x14fed
or ecx, 0x11317
add ecx, 0xca03
pop ecx
push ecx
push edi
add esp, 4
sub ecx, 0x1797d
sub ecx, 0x8636
sub ecx, 0x125d1
pop ecx
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x29c], edx
jmp 0x40f98a
push esi
or esi, 0xec47
pop esi
push esi
call 0x40f937
add byte [ebp + 0x50], cl
dec ecx
xor al, byte [eax + 0x4d]
add esp, 4
pop esi
push ecx
jmp 0x40f941
call 0x40f950
add byte [edi], dh
cmp dword [eax + 0x47], edx
dec esp
cmp al, 0x34
dec esi
xor al, 0x83
les eax, [ecx + ebx*2]
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4bc]
cmp edx, dword [ebp - 0xc1c]
je 0x40f980
mov eax, dword [ebp - 0x4bc]
cmp dword [eax + 0x30], 0
jne 0x40f736
mov dword [ebp - 0x29c], 0
push edx
or edx, 0x124d8
jmp 0x40f996
pop edx
push edi
push edi
add esp, 4
sub edi, 0x14e33
and edi, 0x78e3
pop edi
push esi
push edi
add esp, 4
jmp 0x40f9b5
sub esi, 0x41c8
pop esi
cmp dword [ebp - 0x29c], 0
jne 0x4102c1
mov ecx, 0x6b
mov word [ebp - 0x163c], cx
mov edx, 0x65
mov word [ebp - 0x163a], dx
mov eax, 0x72
mov word [ebp - 0x1638], ax
mov ecx, 0x6e
mov word [ebp - 0x1636], cx
mov edx, 0x65
mov word [ebp - 0x1634], dx
mov eax, 0x6c
mov word [ebp - 0x1632], ax
mov ecx, 0x33
invalid
invalid
invalid
shr cl, 1
Function at 0x40f950
Capabilities:
Get number of processors

Disassembly:
push esi
push esi
add esp, 4
or esi, 0xca03
jmp 0x40f746
pop esi
push eax
push esi
add esp, 4
xor eax, 0x714d
jmp 0x40f75b
add eax, 0x64c8
sub eax, 0x181a7
pop eax
lea eax, [ebp - 0x15d0]
mov dword [ebp - 0xc18], eax
mov ecx, dword [ebp - 0x4bc]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc14], edx
xor eax, eax
mov word [ebp - 0x1ac], ax
xor ecx, ecx
mov word [ebp - 0x100], cx
push ecx
xor ecx, 0x1508a
jmp 0x40f7a4
jmp 0x40f7ac
pop ecx
push esi
or esi, 0xcaa9
xor esi, 0xfe7f
jmp 0x40f7c0
and esi, 0xc490
pop esi
mov edx, dword [ebp - 0xc14]
mov ax, word [edx]
mov word [ebp - 0xfb6], ax
mov ecx, dword [ebp - 0xc14]
add ecx, 2
mov dword [ebp - 0xc14], ecx
mov dx, word [ebp - 0xfb6]
mov word [ebp - 0x1ac], dx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xfb8], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xfb8]
mov word [ebp - 0x100], ax
push esi
push edx
add esp, 4
sub esi, 0xe9bd
or esi, 0x90b9
or esi, 0x48f2
pop esi
push ebx
call fcn.0040f849
add byte [ecx + 0x33], al
dec esi
dec esp
xor al, 0x3a
inc ecx
inc edi
add esp, 4
and ebx, 0x3b00
pop ebx
movzx ecx, word [ebp - 0x100]
test ecx, ecx
jne 0x40f876
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
sub edx, eax
mov dword [ebp - 0x1510], edx
jmp 0x40f8d9
movzx ecx, word [ebp - 0x1ac]
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x40f795
movzx eax, word [ebp - 0x1ac]
xor eax, 0x20
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
je 0x40f795
movzx edx, word [ebp - 0x1ac]
movzx eax, word [ebp - 0x100]
cmp edx, eax
jge 0x40f8c3
mov dword [ebp - 0x1508], 0xffffffff
jmp 0x40f8cd
mov dword [ebp - 0x1508], 1
mov ecx, dword [ebp - 0x1508]
mov dword [ebp - 0x1510], ecx
cmp dword [ebp - 0x1510], 0
jne 0x40f922
push ecx
sub ecx, 0x153bb
and ecx, 0x14fed
or ecx, 0x11317
add ecx, 0xca03
pop ecx
push ecx
push edi
add esp, 4
sub ecx, 0x1797d
sub ecx, 0x8636
sub ecx, 0x125d1
pop ecx
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x29c], edx
jmp 0x40f98a
push esi
or esi, 0xec47
pop esi
push esi
call 0x40f937
add byte [ebp + 0x50], cl
dec ecx
xor al, byte [eax + 0x4d]
add esp, 4
pop esi
push ecx
jmp 0x40f941
call 0x40f950
add byte [edi], dh
cmp dword [eax + 0x47], edx
dec esp
cmp al, 0x34
dec esi
xor al, 0x83
les eax, [ecx + ebx*2]
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x4bc]
cmp edx, dword [ebp - 0xc1c]
je 0x40f980
mov eax, dword [ebp - 0x4bc]
cmp dword [eax + 0x30], 0
jne 0x40f736
mov dword [ebp - 0x29c], 0
push edx
or edx, 0x124d8
jmp 0x40f996
pop edx
push edi
push edi
add esp, 4
sub edi, 0x14e33
and edi, 0x78e3
pop edi
push esi
push edi
add esp, 4
jmp 0x40f9b5
sub esi, 0x41c8
pop esi
cmp dword [ebp - 0x29c], 0
jne 0x4102c1
mov ecx, 0x6b
mov word [ebp - 0x163c], cx
mov edx, 0x65
mov word [ebp - 0x163a], dx
mov eax, 0x72
mov word [ebp - 0x1638], ax
mov ecx, 0x6e
mov word [ebp - 0x1636], cx
mov edx, 0x65
mov word [ebp - 0x1634], dx
mov eax, 0x6c
mov word [ebp - 0x1632], ax
mov ecx, 0x33
invalid
invalid
invalid
shr cl, 1
Function at 0x40fa65
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
cmp eax, 0x33364c38
dec esi
xor ecx, 0xea81
pop ecx
push eax
or eax, 0xa119
pop eax
push esi
xor esi, 0xabec
pop esi
push esi
push edi
add esp, 4
xor esi, 0x15659
and esi, 0xa563

Function at 0x40fa93
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
pop esi
mov byte [ebp - 0x84c], 0x4c
mov byte [ebp - 0x84b], 0x6f
mov byte [ebp - 0x84a], 0x61
mov byte [ebp - 0x849], 0x64
mov byte [ebp - 0x848], 0x4c
mov byte [ebp - 0x847], 0x69
mov byte [ebp - 0x846], 0x62
mov byte [ebp - 0x845], 0x72
mov byte [ebp - 0x844], 0x61
mov byte [ebp - 0x843], 0x72
mov byte [ebp - 0x842], 0x79
mov byte [ebp - 0x841], 0x57
mov byte [ebp - 0x840], 0
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1bd0], edx
mov eax, dword [ebp - 0x1bd0]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1bd4], ecx
mov edx, dword [ebp - 0x1bd4]
mov dword [ebp - 0x1514], edx
push edx
add edx, 0x1130d
pop edx
push esi
push ecx
add esp, 4
xor esi, 0xbe33
pop esi
push eax
jmp 0x40fb32
sub eax, 0x30a5
call 0x40fb45
add byte [ebx], bh
cmp esi, dword [ebx]
inc edx
inc eax
xor bh, byte [ebx]
add esp, 4
pop eax
cmp dword [ebp - 0x1514], 0
jne 0x40fb61
mov dword [ebp - 0x728], 0
jmp 0x40fe08
mov eax, dword [ebp - 0x1514]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc28], edx
push ebx
xor ebx, 0xdeb4
pop ebx
push esi
push eax
add esp, 4
and esi, 0x1a59
pop esi
push edi
push ebx
add esp, 4
xor edi, 0x5b0f
sub edi, 0x14ac7
add edi, 0x2edb
and edi, 0x5de2
pop edi
cmp dword [ebp - 0xc28], 0
jne 0x40fbbd
mov dword [ebp - 0x728], 0
jmp 0x40fe08
mov eax, dword [ebp - 0xc28]
invalid
invalid
inc eax
Function at 0x4370d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x516124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4371af
test eax, eax
je 0x4371af
push 0x4d9e4c
push eax
lea eax, [ebp - 8]
push eax
call fcn.004a6a02
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x4371af
push esi
push edi
push 2
xor esi, esi
push esi
push dword [ebp - 8]
call fcn.004ace01
push dword [ebp - 8]
call fcn.004ad519
push esi
push esi
push dword [ebp - 8]
mov edi, eax
call fcn.004ace01
push edi
call fcn.004ad866
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x43716f
mov eax, dword [ebx + 0x10]
push edi
push 0x4d9df0
push str.jpeg_data
push 2
push dword [eax + 4]
call fcn.004058f1
push dword [ebp - 8]
call fcn.004ac60d
add esp, 0x18
jmp 0x4371ad
push dword [ebp - 8]
push edi
push 1
push esi
call fcn.004ac9b1
add esp, 0x10
cmp eax, edi
je 0x437194
push esi
call fcn.004ad84b
push dword [ebp - 8]
call fcn.004ac60d
pop ecx
pop ecx
jmp 0x4371ad
push dword [ebp - 8]
call fcn.004ac60d
push edi
push esi
push ebx
call fcn.00436d62
push esi
call fcn.004ad84b
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004588b0
leave
ret

Function at 0x438714
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0x10]
xor bl, bl
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43879c
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43879c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x43878f
cmp dword [ebp + 0x14], 0
push edi
push dword [ebp + 8]
jne 0x438769
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x43878d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
cmp ecx, eax
jb 0x43878f
push ecx
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.004a3850
add esp, 0xc
mov bl, 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
jmp 0x43879e
xor al, al
pop edi
pop ebx
leave
ret
Function at 0x43ca02
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x43cb60
mov eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x43cb60
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp + 0x23], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x43ca80
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x43cb6f
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp + 0x23]
cmp ebx, 0x80
jae 0x43ca9d
mov dl, bl
xor edi, edi
jmp 0x43cacd
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x43ca6f
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp + 0x23], cl
jmp 0x43ca72
mov edx, ebx
cmp ebx, 0x800
jae 0x43cab2
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x43cacd
cmp ebx, 0x10000
jae 0x43cac4
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x43cacc
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 4]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 8], eax
inc eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp + 0x18]
jl 0x43cb60
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp + 0x23], 0
mov dword [ecx], eax
jne 0x43cb04
cmp edi, 3
jae 0x43cb0f
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
jmp 0x43cb12
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x43cb37
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp + 0x18], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp + 0x18]
test eax, eax
jg 0x43cb19
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp + 0x23], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp + 0x10]
jne 0x43ca2a
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x43cb68

Function at 0x457383
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4573d5
cmp dword [ebp + 0xc], 0
je 0x4573d5
push 0
push 0
push edi
call fcn.004577bf
mov esi, eax
add esp, 0xc
test esi, esi
jle 0x4573d8
push 1
push 4
push edi
call fcn.004ace01
add esp, 0xc
test eax, eax
js 0x4573d5
cmp dword [ebp + 0x10], esi
jl 0x4573d5
push edi
push esi
push 1
push dword [ebp + 0xc]
call fcn.004ac9b1
add esp, 0x10
cmp eax, esi
jl 0x4573d5
mov eax, esi
jmp 0x4573d8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
Function at 0x457733
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x516124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x457757
or eax, 0xffffffff
jmp 0x4577aa
test ebx, ebx
jne 0x457767
push 2
push ebx
push esi
call fcn.004ace01
add esp, 0xc
push edi
jmp 0x457781
push ebx
push edi
lea eax, [ebp - 0x104]
push 1
push eax
call fcn.004ad811
add esp, 0x10
cmp eax, edi
jl 0x4577ba
push esi
push 0x100
lea eax, [ebp - 0x104]
push 1
push eax
call fcn.004ac9b1
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x45776a
push esi
call fcn.004b39dc
neg eax
pop ecx
sbb eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004588b0
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
jmp 0x4577a9