joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55ca38
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x340], edx
mov dword [ebp - 0x338], edx
mov dword [ebp - 0x33c], edx
mov dword [ebp - 0x334], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e48
lea eax, [ebp - 0x330]
mov edx, dword [0x40827c]
call fcn.00405378
xor eax, eax
push ebp
push 0x55cc6f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040b37c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x334]
mov eax, 0x55cc88
call fcn.0040bff8
mov edx, dword [ebp - 0x334]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00404ca4
lea eax, [ebp - 8]
mov edx, 0x55cca8
call fcn.00404a30
mov al, byte [0x55ccb4]
push eax
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x33c]
xor eax, eax
call fcn.00402be4
mov eax, dword [ebp - 0x33c]
mov ecx, 0x55ccc0
mov edx, 0x55cccc
call fcn.0040eb5c
mov eax, dword [ebp - 0x338]
call fcn.00404e58
push eax
push 0
push 0
call fcn.00407070
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x55cc33
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
push ebp
push 0x55cc2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x330]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.00409c18
test eax, eax
jne 0x55cb8c
cmp dword [ebp - 0x32c], 0x100000
jle 0x55cb81
push 1
lea eax, [ebp - 0x340]
mov ecx, 0x55ccd8
mov edx, dword [ebp - 8]
call fcn.00404ca4
mov eax, dword [ebp - 0x340]
call fcn.00404e58
push eax
mov eax, dword [ebp - 8]
call fcn.00404e58
push eax
call sub.kernel32.dll_MoveFileExA
lea eax, [ebp - 0x330]
call fcn.00409c8c
xor eax, eax
push ebp
push 0x55cc02
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00402fe8
lea eax, [ebp - 0x1d8]
call fcn.00402d84
call fcn.00402a38
test eax, eax
je 0x55cbc7
lea eax, [ebp - 0x1d8]
call fcn.00402d78
call fcn.00402a38
test eax, eax
jne 0x55cbf8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d8]
call fcn.00405074
call fcn.00403554
call fcn.0040294c
lea eax, [ebp - 0x1d8]
call fcn.0040318c
call fcn.0040294c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55cc0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55cc33
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55cc76
lea eax, [ebp - 0x340]
mov edx, 4
call fcn.004049bc
lea eax, [ebp - 0x330]
mov edx, dword [0x40827c]
call fcn.00405448
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049bc
ret
Function at 0xc96860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35b000]
push edi
or ebp, 0xffffffff
jmp 0xc96882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc96889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc96878
mov eax, 1
add ebx, ebx
jne 0xc9689b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc968ac
jne 0xc968cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc968cb
dec eax
add ebx, ebx
jne 0xc968b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc96890
add ebx, ebx
jne 0xc968c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc9691d
xor ecx, ecx
sub eax, 3
jb 0xc968e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc96952
sar eax, 1
mov ebp, eax
jmp 0xc968ee
add ebx, ebx
jne 0xc968ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc968bc
inc ecx
add ebx, ebx
jne 0xc968fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc968bc
add ebx, ebx
jne 0xc96909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc968fe
jne 0xc9691a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc968fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc9693c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc9692e
jmp 0xc9687e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc9693c
add edi, ecx
jmp 0xc9687e
pop esi
mov edi, esi
mov ecx, 0xc2ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc9695a
cmp byte [edi], 0x7a
jne 0xc9695a
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 0xc9695f
lea edi, [esi + 0x864000]
mov eax, dword [edi]
or eax, eax
je 0xc969ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8c211c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8c2220]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc9698c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8c2224]
or eax, eax
je 0xc969c8
mov dword [ebx], eax
add ebx, 4
jmp 0xc969a9
call dword [esi + 0x8c222c]
mov ebp, dword [esi + 0x8c2228]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xc96a02
sub esp, 0xffffff80
jmp 0x67b440
Function at 0x404baf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bb9
repz ret
jmp fcn.004087fb

Function at 0x4060b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402986
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x406164
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406215
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406215
push eax
call fcn.00402914
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402914
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402914
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402914
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x406164
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402914
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061bc
cmp dword [0x40e55c], ebx
je 0x4061bc
push eax
call fcn.0040298f
push dword [0x40e55c]
mov esi, eax
call fcn.0040298f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bc
test edi, edi
je 0x4061bc
call esi
test eax, eax
je 0x4061b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b3
test byte [ebp - 0xc], 1
jne 0x4061bc
or dword [ebp + 0x10], 0x200000
jmp 0x4061f5
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x4061f5
push eax
call fcn.0040298f
pop ecx
test eax, eax
je 0x4061f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f5
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x4061f5
push eax
call fcn.0040298f
pop ecx
test eax, eax
je 0x4061f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.0040298f
pop ecx
test eax, eax
je 0x406215
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406217
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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, 0x77b95a84
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x63f465fe
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x40b504
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40b54e
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x40b51d
jmp 0x40b54e
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40b53e
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40c5b3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40c5e8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40c612
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c612
test edi, edi
je 0x40c5df
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c5df
test edi, edi
je 0x40c61a
mov eax, edi
jmp 0x40c5e1
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c5e1
mov esi, 0xc4
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push 0x41353e
call fcn.0041023e
add esp, 0xc
int3
Function at 0x410274
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestXorShift128PlusRNG.exe_gMozillaPoisonSize], eax
call fcn.0040c5b3
pop ecx
mov ecx, dword [sym.TestXorShift128PlusRNG.exe_gMozillaPoisonSize]
mov dword [sym.TestXorShift128PlusRNG.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x4102ac
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestXorShift128PlusRNG.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4b982d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2358
cmp edx, dword [eax]
je 0x4b984f
add eax, 8
inc ecx
cmp eax, 0x4c23e8
jl 0x4b9840
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2358]
jne 0x4b997d
mov eax, dword [0x4c6ce0]
cmp eax, 1
je 0x4b9957
test eax, eax
jne 0x4b9880
cmp dword [0x4c2280], 1
je 0x4b9957
cmp edx, 0xfc
je 0x4b997d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b98b7
lea eax, [ebp - 0x1a4]
push 0x4beb38
push eax
call fcn.004ba210
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba6a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b98fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba6a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4beb34
push edi
call fcn.004bc570
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4beb18
push eax
call fcn.004ba210
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba220
lea eax, [ebp - 0xa0]
push 0x4beb14
push eax
call fcn.004ba220
push dword [esi + 0x4c235c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba220
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4beaec
push eax
call fcn.004bc4e4
add esp, 0x2c
pop edi
jmp 0x4b997d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c235c]
push 0
push eax
push dword [esi]
call fcn.004ba6a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x5f191a
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
call 0x5f18ef

Function at 0x5f1923
Capabilities:
Parse pe header

Disassembly:
call int.005f1058
mov byte [esp], ah
mov word [esp + 1], dx
push dword [esp + 3]
push dword [esp + 5]
jmp 0x5f1969
mov dword [esp + 8], ebx
mov dword [esp + 4], esp
call fcn.005f1944
push bx
lea esp, [esp + 1]
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x5f19b1
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x5f1a04
push eax
jmp 0x5f1053
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x5f19ee

Function at 0x5f1944
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
push word [esp]
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x5f19a8
mov dword [esp], ebp
push eax
call fcn.005f198c

Function at 0x5f198c
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov dword [esp], ebx
push dword [esp + 6]
pushal
mov dword [esp + 0x28], esi
jmp 0x5f1976
Function at 0x9d88d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x9d8ab4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x490000]
push edi
or ebp, 0xffffffff
jmp 0x9d88fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9d8901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d88f0
mov eax, 1
add ebx, ebx
jne 0x9d8913
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9d8924
jne 0x9d8943
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d8943
dec eax
add ebx, ebx
jne 0x9d8930
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9d8908
add ebx, ebx
jne 0x9d893f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9d8995
xor ecx, ecx
sub eax, 3
jb 0x9d895b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9d89ca
sar eax, 1
mov ebp, eax
jmp 0x9d8966
add ebx, ebx
jne 0x9d8966
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d8934
inc ecx
add ebx, ebx
jne 0x9d8974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d8934
add ebx, ebx
jne 0x9d8981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9d8976
jne 0x9d8992
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9d8976
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9d89b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9d89a6
jmp 0x9d88f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9d89b4
add edi, ecx
jmp 0x9d88f6
pop esi
mov edi, esi
mov ecx, 0x14c8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9d89d2
cmp byte [edi], 0x6e
jne 0x9d89d2
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 0x9d89d7
lea edi, [esi + 0x5a4000]
mov eax, dword [edi]
or eax, eax
je 0x9d8a46
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5da394]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5da4ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9d8a04
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5da4b0]
or eax, eax
je 0x9d8a40
mov dword [ebx], eax
add ebx, 4
jmp 0x9d8a21
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9d8a77
cmp al, 0xef
ja 0x9d8a6a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9d8a4c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9d8a59
mov ebp, dword [esi + 0x5da4b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x9d8aab
sub esp, 0xffffff80
jmp 0x885184
Function at 0x10001000
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
pop eax
mov edx, dword [ebp - 4]
xor edi, edi
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
add esi, edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], edi
jbe 0x100010cf
nop word [eax + eax]
mov ecx, dword [esi + edi*4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100010bc
xor esi, esi
test ebx, ebx
je 0x100010b9
movzx eax, word [eax + esi*2]
cmp eax, edi
jne 0x100010b1
mov eax, dword [ebp - 0x10]
mov ecx, str.GetProcAddress
mov eax, dword [eax + esi*4]
add eax, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100010a5
test dl, dl
je 0x100010a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100010a5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001085
xor eax, eax
jmp 0x100010aa
sbb eax, eax
or eax, 1
test eax, eax
je 0x100010c9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, ebx
jb 0x10001070
mov esi, dword [ebp - 8]
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x10001060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret