joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x10021ded
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x10021ddc
jg 0x10021d58
test edx, edx
je 0x10021ddc
call fcn.10016aa0
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x10021da5
jg 0x10021d6e
test esi, esi
je 0x10021da5
cmp ebx, eax
jg 0x10021d7d
jl 0x10021d78
cmp edi, esi
jae 0x10021d7d
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 8]
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.100818d0
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10021dc9
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x10021dd6
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x10021d58
jl 0x10021dd6
test edi, edi
jne 0x10021d58
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test edx, edx
je 0x10021e11
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x10021e16
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, edx
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], edx
test edi, edi
jl 0x10021e75
jg 0x10021e29
test esi, esi
je 0x10021e75
test edx, edx
jl 0x10021e70
jg 0x10021e33
test eax, eax
je 0x10021e70
cmp edi, edx
jg 0x10021e45
jl 0x10021e3d
cmp esi, eax
jae 0x10021e45
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.100818d0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add ebx, edx
mov ecx, dword [ebp - 4]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x10021e78
mov ebx, dword [ebp + 8]
jmp 0x10021e82
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x10021e9b
jg 0x10021e82
test esi, esi
je 0x10021e9b
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10021e9b
push eax
push esi
push 1
push ebx
call fcn.100a2c70
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10023560
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10023575
xor eax, eax
jmp 0x100235e4
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100235a2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x100235df
imul edx, dword [ebp - 0x10], 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x100235dd
imul ecx, dword [ebp - 0x10], 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x100235d9
imul ecx, dword [ebp - 0x10], 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x100235dd
xor eax, eax
jmp 0x100235e4
jmp 0x10023599
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100391b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
call fcn.10031df0
mov esi, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10039233
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xcb
je 0x1003922c
mov ecx, dword [ebp - 8]
push ecx
call fcn.1003a9d0
push eax
mov edx, dword [ebp + 8]
push edx
push 0x10123858
call fcn.1002e270
add esp, 0xc
xor al, al
jmp 0x100392d1
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007d8d0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp esi, esp
call fcn.1007e7c0
test eax, eax
jne 0x100392b1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xcb
je 0x100392ad
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1003a9d0
push eax
mov edx, dword [ebp + 8]
push edx
push str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.1002e270
add esp, 0xc
xor al, al
jmp 0x100392d1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10031c10
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.1007d8f0
add esp, 4
mov al, 1
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.1007e7c0
mov esp, ebp
pop ebp
ret 8
Function at 0x10039770
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov esi, esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.1002c520
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100397f1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
push eax
mov ecx, dword [ebp + 8]
call fcn.1002c520
push eax
push str.Failed_to_map_file._CreateFileW__s__failed_with_error__d
call fcn.1002d7c0
add esp, 0xc
xor eax, eax
jmp 0x10039934
cmp dword [ebp + 0xc], 0
je 0x1003985a
mov esi, esp
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp esi, esp
call fcn.1007e7c0
test eax, eax
jne 0x10039852
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
push eax
mov ecx, dword [ebp + 8]
call fcn.1002c520
push eax
push str.Failed_to_map_file._GetFileSizeEx__s__failed_with_error__d
call fcn.1002d7c0
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e7c0
xor eax, eax
jmp 0x10039934
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov esi, esp
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100398bf
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
push eax
mov ecx, dword [ebp + 8]
call fcn.1002c520
push eax
push str.Failed_to_map_file._CreateFileMappingW__s__failed_with_error__d
call fcn.1002d7c0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e7c0
xor eax, eax
jmp 0x10039934
mov esi, esp
push 0
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1003990b
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
push eax
mov ecx, dword [ebp + 8]
call fcn.1002c520
push eax
push str.Failed_to_map_file._MapViewOfFile__s__failed_with_error__d
call fcn.1002d7c0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e7c0
mov esi, esp
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e7c0
mov eax, dword [ebp - 0x1c]
push edx
mov ecx, ebp
push eax
lea edx, [0x10039958]
call fcn.1007e760
pop eax
pop edx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.1007e7c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10039bb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116530
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
push esi
push edi
lea edi, [ebp - 0x2dc]
mov ecx, 0xb4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10159140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 0
jne 0x10039c0c
push 0x32b
push str.C:_vcpkg_buildtrees_nethost_src_v8.0.2_3b0d69b99e.clean_src_nativecorehosthostmiscpal.windows.cpp
push str.list___nullptr
call fcn.100d3d00
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.100303e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.1003cac0
movzx ecx, al
test ecx, ecx
je 0x10039c5b
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.1003a000
movzx eax, al
test eax, eax
jne 0x10039c5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10011040
jmp 0x10039db6
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x58]
call fcn.100303e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.1002c520
push eax
lea edx, [ebp - 0x58]
push edx
call fcn.10031ab0
push 0x250
push 0
lea eax, [ebp - 0x2b0]
push eax
call fcn.100823d0
add esp, 0xc
mov esi, esp
push 0
push 0
push 0
lea ecx, [ebp - 0x2b0]
push ecx
push 0
lea ecx, [ebp - 0x58]
call fcn.1002c520
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0xffffffff
jne 0x10039ce9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10011040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10011040
jmp 0x10039db6
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x10039cfc
mov eax, dword [ebp - 0x2b0]
and eax, 0x10
je 0x10039d60
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x2d8]
call fcn.1002b970
mov byte [ebp - 4], 2
push 0x10123dec
lea edx, [ebp - 0x2d8]
push edx
call fcn.100354a0
movzx eax, al
test eax, eax
je 0x10039d51
push 0x10123df0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.100354a0
movzx edx, al
test edx, edx
je 0x10039d51
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10033c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.10011040
mov esi, esp
lea ecx, [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.1007e7c0
test eax, eax
jne 0x10039ce9
mov esi, esp
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.1007e7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10011040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10011040
push edx
mov ecx, ebp
push eax
lea edx, [0x10039df4]
call fcn.1007e760
pop eax
pop edx
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.1007e0c0
add esp, 0x2dc
cmp ebp, esp
call fcn.1007e7c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003e830
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.1007e7c0
pop esi
add esp, 4
cmp ebp, esp
call fcn.1007e7c0
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ce60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
call fcn.1007ce50
add esp, 4
mov dword [ebp - 0xc], eax
call fcn.100dab10
mov edx, 4
imul ecx, edx, 5
mov edx, dword [eax + ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x22
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x30
je 0x1007cec5
cmp dword [ebp - 8], 0x31
je 0x1007cecc
cmp dword [ebp - 8], 0x32
je 0x1007ced3
jmp 0x1007ceda
mov eax, 2
jmp 0x1007cedc
mov eax, 1
jmp 0x1007cedc
mov eax, 3
jmp 0x1007cedc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10092470
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10092090
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100924a2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x1011c2f0]
call dword [ebp - 8]
jmp 0x100924ac
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x100ca0b0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100ca0d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10097f80
add esp, 4
or eax, 0xffffffff
jmp 0x100ca0d9
xor eax, eax
pop ebp
ret

Function at 0x1010572b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10104f92
Function at 0x4057e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4057f1
pop dword [ebp - 0x40]
mov eax, 0x1acbc44
sub eax, 0x16c6453
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x50eba
push 0
mov eax, 0xde06ce33
add eax, 0x223de47d
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x6fa600b9
add ecx, 0x905a4984
xor edi, edi
add edi, eax
mov esi, 0xa7178d12
add esi, 0x592fd0ee
add esi, dword [ebp - 0x40]
mov ebx, 0x4e52b3ef
sub dword [ebp - 0x28], 0x8ae29665
mov edx, dword [esi]
xor dword [ebp - 0x3c], edi
add edx, ebx
sub dword [ebp - 0x14], 0xe960e6d7
mov dword [edi], edx
xor dword [ebp - 0x10], edx
add edi, 0x406d53fe
sub edi, 0x406d53fa
add esi, 0xa3c008db
add esi, 0x5c3ff729
loop 0x40584c
add eax, 0x976dcb7e
add eax, 0x68935049
mov ebx, eax
add eax, 0x9ae932aa
sub eax, 0x9ae932a5
mov ecx, 0x7e3801e1
add ecx, 0x8207fe1f
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x41ba50
Capabilities:
Parse pe header

Disassembly:
sub esp, 0xa8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x214]
call fcn.00409fa0
mov edi, eax
test edi, edi
je 0x41c96d
push ebx
push ebp
mov ebp, dword [0x4f0138]
mov ebx, 3
jmp 0x41ba83
Function at 0x4b2eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x3e9]
mov ecx, dword [edi + 0x3af]
mov edx, dword [eax + ecx*4 + 0x5e30]
mov ecx, dword [edi + 0x18b0]
cmp ecx, 0xffffffff
mov dword [esp + 0x18], edx
je 0x4b37a9
push ecx
lea ecx, [eax + 0x5f4b]
call fcn.004be7d0
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x4b3793
mov cl, byte [ebx + 0x188e]
Function at 0x4ebfa0
Capabilities:
Hash data with md5

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], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
ret

Function at 0x97e3e3
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xc4bfea
jmp 0xc4c0f7
push edi
mov edi, esp
add edi, 4
sub edi, 4
push edi
push dword [esp + 4]
pop edi
pop dword [esp]
mov esp, dword [esp]
mov dword [esp], esi
mov dword [esp], ebp
jmp 0xc4c11a
jmp 0xc5c72d
jmp 0xc4f357
rdtsc
jmp 0xc4f35e
jmp 0xc6aa6d
push ecx
mov ecx, esp
push edx
mov edx, 0x1ef97bec
shr edx, 3
jp 0xc53597
jmp 0xc53597
push ecx
push dword [esp]
push dword [esp]
pop edx
add esp, 4
add esp, 4
push ebx
mov dword [esp], ecx
push dword [esp]
mov edx, dword [esp]
add esp, 4
add esp, 4
push eax
mov eax, dword [esp]
sub esp, 4
mov dword [esp], edi
mov edi, esp
add edi, 4
push ebp
mov ebp, 4
add edi, ebp
pop ebp
xchg dword [esp], edi
pop esp
jmp 0xc53528
push ebp
mov dword [esp], ebx
mov dword [esp], 0x3e4ce459
mov dword [esp], ecx
mov edx, dword [esp]
add esp, 4
sub esp, 4
mov dword [esp], esi
mov dword [esp], eax
mov eax, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
pop esp
push ecx
push dword [esp]
pop edx
push ebp
mov dword [esp], edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0xc53463
or edx, 0x7eff30fa
push ecx
mov ecx, 0x80004805
add edx, ecx
pop ecx
add ecx, edx
pop edx
push edx
mov edx, 0x14
sub ecx, edx
pop edx
xchg dword [esp], ecx
mov esp, dword [esp]
jmp 0xc535a5
push ebx
push dword [esp]
mov ebx, dword [esp]
add esp, 4
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
push edi
mov edi, esp
push 0x2e4e3ca1
mov dword [esp], edx
mov edx, 0x4beb6aad
not edx
not edx
and edx, 0x77f9ed9e
add edx, 0xbc169778
add edi, edx
pop edx
sub edi, 4
xchg dword [esp], edi
pop esp
mov dword [esp], ebx
pop eax
push edx
mov dword [esp], ebx
push dword [esp]
mov eax, dword [esp]
add esp, 4
add esp, 4
jmp 0xc5344c
dec edx
jp 0xc53502
jmp 0xc534ae
shr edx, 1
jnp 0xc53528
jmp 0xc5358b
jmp 0xc59095
jmp 0xc59198
push edx
mov dword [esp], 0x1e257c34
mov dword [esp], esi
mov dword [esp], 0x5b203379
mov dword [esp], ecx
mov dword [esp], ebx
jmp 0xc591b5
jmp 0xc5e591
jmp 0xc5c82c
push esp
mov ebp, dword [esp]
push ebp
mov ebp, esp
add ebp, 4
push 0x59abe212
mov dword [esp], ebx
mov ebx, 4
add ebp, ebx
pop ebx
xchg dword [esp], ebp
pop esp
jmp 0xc5c852
jmp 0xc5344c
jmp 0xc5e63b
push eax
mov dword [esp], ecx
push 0x4db0ca5e
mov dword [esp], esi
mov esi, 0x719769d2
mov dword [esp + 4], esi
pop esi
mov dword [esp], ecx
jmp 0xc5e691
jmp 0xc6d45f
jmp 0xc6aaac
push edi
push ebx
mov ebx, 0x35e68cb8
mov dword [esp + 4], ebx
pop ebx
mov dword [esp], esi
mov dword [esp], eax
pop dword [ebp - 0x14]
jmp 0xc6ab64
jmp 0xc6b9fd
jmp fcn.00c6ba57
jmp 0xc6d505
sub ecx, 4
xchg dword [esp], ecx
mov esp, dword [esp]
mov dword [esp], edx
jmp 0xc6d567
push ebp
mov dword [esp], ecx
push esp
pop ecx
add ecx, 4
jmp 0xc6d464
jmp 0xc4f245
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3fa3353c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x46692c0b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x673800
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ae000]
push edi
or ebp, 0xffffffff
jmp 0x673822
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x673829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x673818
mov eax, 1
add ebx, ebx
jne 0x67383b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67384c
jne 0x67386b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67386b
dec eax
add ebx, ebx
jne 0x673858
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x673830
add ebx, ebx
jne 0x673867
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6738bd
xor ecx, ecx
sub eax, 3
jb 0x673883
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6738f2
sar eax, 1
mov ebp, eax
jmp 0x67388e
add ebx, ebx
jne 0x67388e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67385c
inc ecx
add ebx, ebx
jne 0x67389c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67385c
add ebx, ebx
jne 0x6738a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67389e
jne 0x6738ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67389e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6738dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6738ce
jmp 0x67381e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6738dc
add edi, ecx
jmp 0x67381e
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6738fa
cmp byte [edi], 0x13
jne 0x6738fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6738ff
lea edi, [esi + 0x270000]
mov eax, dword [edi]
or eax, eax
je 0x673977
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27bf60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27c024]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67392c
mov ecx, edi
jns 0x67395b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27c02c]
or eax, eax
je 0x673971
mov dword [ebx], eax
add ebx, 4
jmp 0x673949
call dword [esi + 0x27c028]
mov ebp, dword [esi + 0x27c030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6739ab
sub esp, 0xffffff80
jmp 0x46f1ee