joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537ffd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x537fff2
mov esi, 0x80
cmp esi, dword [edi]
jne 0x537ffff
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x541d6c8]
test eax, eax
je 0x538000a
call eax
lea ecx, [esi*8]
push ecx
call fcn.0537ecf0
mov esi, eax
mov eax, dword [0x541d6cc]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x538002a
call eax
test esi, esi
je 0x537fff6
mov edx, dword [edi + 0xc]
push edx
call fcn.05378d40
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x5419978]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.05351b20
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x538010f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x53800a3
movzx edi, byte [esi]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x5380082
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x53800eb
mov esi, dword [eax]
test esi, esi
je 0x53800c1
mov edx, dword [eax + 4]
jmp 0x53800c3
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x53800eb
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x53800e3
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x5380104
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x5380104
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x53800fa
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x5380076
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5386c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x5386ce8
cmp byte [edi], 0
mov eax, edi
je 0x5386c66
nop
inc eax
cmp byte [eax], 0
jne 0x5386c60
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1b0], 0
lea ecx, [ebx + 0x1a4]
mov esi, eax
je 0x5386cc1
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x5386cb1
jmp 0x5386c90
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x5386c90
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x1a4]
lea ecx, [ebx + 0x1a4]
jmp 0x5386cc3
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.053786c0
add esp, 8
test eax, eax
je 0x5386cde
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x5386ceb
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x5386ceb
mov eax, dword [ebx + 8]
test eax, eax
je 0x5386cfd
movzx ecx, byte [esi + 0x53fa0e8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x5386d1c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x5386c50
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x538c690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x538c6d3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.05388a50
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x538c705
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x538c700
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x538c821
jmp 0x538c72a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x538c734
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x538c78b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x538c770
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x53f9750]
cmp cl, byte [ebx + 0x53f9750]
jne 0x538c76d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x538c750
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x53f9750]
movzx eax, byte [eax + 0x53f9750]
sub eax, ecx
jne 0x538c7ed
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x538c7cd
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x538c7c6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x538c7a5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x538c7cf
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.053786c0
add esp, 8
test eax, eax
je 0x538c842
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x538c800
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x538c727
cmp dword [ebp - 0x24], 0
je 0x538c821
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.05386f30
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x538c6d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0534fc81
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x538c7ed
Function at 0x53905f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0x18], 0x80000
push esi
push edi
mov dword [ebp - 4], eax
je 0x5390738
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x5390656
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x539064c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x539063c
or eax, 0xffffffff
jmp 0x5390643
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x5390630
mov edi, dword [edi + 4]
test edi, edi
jne 0x5390620
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x5390665
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x5390682
cmp byte [esi], 0
je 0x5390676
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x5390670
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x53906c7
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x53906c1
jmp 0x53906a0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x53906a0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x53906c9
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.053786c0
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x5390735
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x5390735
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.0538afc0
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x539072e
movzx ecx, word [eax + 0x32]
cmp ecx, ebx
jle 0x539072e
mov edx, dword [eax + 4]
mov esi, ecx
movzx ecx, word [edx]
cmp cx, 0x1f
jle 0x539071e
or eax, 0xffffffff
jmp 0x5390725
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 2
dec esi
jne 0x5390710
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x53906e2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53a1a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [esi + 8]
push edi
test ebx, ebx
jne 0x53a1aa1
mov ebx, esi
call fcn.053823b0
mov ebx, eax
mov dword [esi + 8], eax
test ebx, ebx
je 0x53a1a8c
push 0x9a
call fcn.0539ef60
add esp, 4
cmp dword [esi + 0x19c], 0
jne 0x53a1aa1
mov eax, dword [esi]
test byte [eax + 0x3c], 8
jne 0x53a1aa1
mov byte [esi + 0x19], 1
mov al, byte [esi + 0x13]
test al, al
jne 0x53a1ab0
inc dword [esi + 0x4c]
mov edi, dword [esi + 0x4c]
jmp 0x53a1abc
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edi, dword [esi + ecx*4 + 0x1c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov dword [ebp - 4], eax
cmp dword [edx + 0x58], eax
jg 0x53a1ad6
call fcn.0539b0d0
test eax, eax
jne 0x53a1b03
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [ebp + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x72
jmp 0x53a1b06
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x19c]
test eax, eax
jne 0x53a1b12
mov eax, esi
mov byte [eax + 0x17], 1
mov eax, str.sqlite_temp_master
cmp ecx, 1
je 0x53a1b25
mov eax, str.sqlite_master
mov edx, dword [ebp + 8]
push edi
push edi
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add ecx, ecx
mov eax, dword [edx + ecx*8]
push eax
push str.UPDATE__Q._s_SET_rootpage_d_WHERE__d_AND_rootpage_d
push esi
call fcn.05386f30
add esp, 0x1c
test edi, edi
je 0x53a1b6e
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x53a1b6e
xor eax, eax
lea ecx, [esi + 0x78]
cmp dword [ecx + 0xc], edi
je 0x53a1b74
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x53a1b56
movzx ecx, dl
mov dword [esi + ecx*4 + 0x1c], edi
inc byte [esi + 0x13]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53aca30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
mov ebx, eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0xc], eax
inc eax
mov dword [ebp - 0x1c], eax
inc eax
push esi
mov esi, dword [ebx]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0x18]
push edi
mov edi, 0xfff0bdc0
test eax, eax
je 0x53aca7f
mov ecx, dword [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x53aca7f
mov ecx, dword [esi + 0x10]
add ecx, 0xc
cmp dword [ecx], eax
je 0x53aca7f
inc edi
add ecx, 0x10
cmp edi, dword [ebp - 0x18]
jl 0x53aca72
mov eax, dword [esi + 0x10]
mov edx, dword [edx]
mov ecx, edi
add ecx, ecx
mov ecx, dword [eax + ecx*8]
push ecx
push 0
push edx
push 0x1b
mov eax, ebx
call fcn.05392230
add esp, 0x10
test eax, eax
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10005440
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xb0
mov eax, dword [0x1009ad70]
xor eax, esp
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], edx
push ebp
mov ebp, ebx
test ebx, ebx
je 0x1000548e
mov eax, dword [0x10015198]
xor ecx, ecx
cmp ebx, eax
je 0x10005487
jb 0x100054bc
mov eax, dword [ecx*8 + 0x100151a0]
inc ecx
cmp ebx, eax
jne 0x10005479
mov ebp, dword [ecx*8 + 0x1001519c]
push esi
push edi
test edx, edx
je 0x10005595
cmp dword [section..data], 0
je 0x10005595
mov edi, section..data
lea ebx, [ebx]
test ebx, ebx
je 0x100054c3
mov eax, ebx
mov dword [esp + 0x14], ebx
jmp 0x100054c9
xor eax, eax
jmp 0x100055a1
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x100054d5
cmp ebp, dword [edi]
jne 0x10005589
cmp dword [esp + 0xcc], 0
jne 0x100054ea
push dword [edi + 8]
push eax
call edx
jmp 0x1000557d
movzx esi, word [edi + 4]
mov eax, esi
shr eax, 4
push 6
inc eax
push eax
push dword [0x1009cbd0]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10005581
push eax
push dword [0x1009cbd0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10005581
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10005581
and esi, 0x8000000f
jns 0x10005530
dec esi
or esi, 0xfffffff0
inc esi
je 0x1000553e
movsx ecx, word [eax]
lea eax, [eax + ecx*2]
add eax, 2
dec esi
jne 0x10005532
movsx ecx, word [eax]
mov edx, 0x50
cmp ecx, 0x50
cmova ecx, edx
add eax, 2
lea esi, [ecx + ecx]
push esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10009fd0
add esp, 0xc
cmp esi, 0xa2
jae 0x100055ba
xor eax, eax
mov word [esp + esi + 0x18], ax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call dword [esp + 0x18]
test eax, eax
je 0x10005595
cmp ebp, dword [edi]
je 0x10005595
mov edx, dword [esp + 0x10]
add edi, 0xc
cmp dword [edi], 0
jne 0x100054b0
test ebp, ebp
mov eax, 1
pop edi
cmovne eax, ebp
pop esi
mov ecx, dword [esp + 0xb4]
pop ebp
pop ebx
xor ecx, esp
call fcn.10009fbe
add esp, 0xb0
ret 0xc
call fcn.10009e18
int3
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x40c0da]
push eax
add ecx, 0x40
push 0x40d274
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov cl, 0xac
add al, byte [ecx]
adc al, ah
or al, 0x41
sal byte [edi + ecx*8 + 0x50], 0x68
push esp
jnp 0x4017bd
add bh, bh
add ah, byte [ecx + eax*8 - 0x6b]
add byte [ebx + 0x16a08c4], al
call dword [sym.imp.MSVCRT.dll_exit]
nop
lcall 0xb8, 0xec81ec8b
add byte [eax], al
mov eax, dword [0x410278]
test eax, eax
invalid
xchg dword [eax + eax*2 + 0x41], ecx
add byte [esp + 0x68], dh
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
jge 0x4017a4
or ax, 0x274
or edx, esp
jmp 0x4017cf
add byte [eax], bl
xchg ebx, eax
invalid
mov dword [0x41fc08], eax
mov eax, dword [0x415d88]
push ebx
push esi
mov ecx, dword [ecx - 0x52bf3e9c]
adc ecx, dword [ecx + 0x410b67e3]
enter 0xffffffffffffc0f5, 0x57
jne 0x40184a
mov esi, ebp
add byte [eax], bl
inc ecx
mov cl, 0x52

Function at 0x40b590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
movzx ecx, word [edx + 0x26]
xor edi, edi
jmp 0x40b4d7
mov esi, dword [edx + 0x28]
jmp 0x40b4e7
jmp 0x40b59e
je 0x40b7f3
nop
jmp 0x40b5b0
nop
jmp 0x40b5c1
add eax, edx
jmp 0x40b5cd
push eax
nop
jmp 0x40b5df
mov ecx, dword [eax + 0x18]
jmp 0x40b5f0
mov ebx, dword [eax + 0x20]
jmp 0x40b600
add ebx, edx
nop
test ecx, ecx
jmp 0x40b612
je 0x40b7cc
nop
xor edi, edi
nop
jmp 0x40b629
dec ecx
jmp 0x40b639
mov esi, dword [ebx + ecx*4]
jmp 0x40b646
add esi, edx
nop
jmp 0x40b655
xor eax, eax
nop
ror edi, 0xd
nop
lodsb al, byte [esi]
nop
jmp 0x40b66d
add edi, eax
nop
jmp 0x40b67f
cmp al, ah
nop
jne 0x40b648
nop
jmp 0x40b69b
nop
jmp 0x40b6ae
add edi, dword [ebp - 8]
nop
jmp 0x40b6c5
cmp edi, dword [ebp + 0x24]
jmp 0x40b6db
jne 0x40b603
jmp 0x40b6ef
pop eax
mov ebx, dword [eax + 0x24]
jmp 0x40b701
add ebx, edx
mov cx, word [ebx + ecx*2]
nop
jmp 0x40b715
mov ebx, dword [eax + 0x1c]
jmp 0x40b728
add ebx, edx
jmp 0x40b73b
mov eax, dword [ebx + ecx*4]
jmp 0x40b74b
add eax, edx
invalid
or byte [eax], al
Function at 0x41b73d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x41b74c
pop dword [ebp - 0x20]
mov eax, 0x41b74c
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x50854
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x4961
mov esi, eax
mov edi, 0x475e00
add edi, dword [ebp - 0x20]
mov edx, 0xb8528113
sub edx, 0xb2dfb338
sub dword [ebp - 0x14], edx
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0x18], 0x389f2716
mov dword [esi], ebx
sub dword [ebp - 0x18], edi
add esi, 4
add edi, 4
loop 0x41b795
add eax, 0x11857
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb6d831e
add ecx, 0xf4d27ce2
add ecx, dword [ebp - 0x20]
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 0x40e370
Capabilities:
Terminate process

Disassembly:
call fcn.0040ed05
jmp 0x40e37a
push 0x58
push 0x410eb8
call fcn.0040edb8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x413df0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40e3cc
cmp eax, esi
jne 0x40e3bf
xor esi, esi
inc esi
mov edi, esi
jmp 0x40e3cf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e3a3
xor esi, esi
inc esi
cmp dword [0x413df4], esi
jne 0x40e3e1
push 0x1f
call fcn.004de000
pop ecx
jmp 0x40e41b
cmp dword [0x413df4], ebx
jne 0x40e415
mov dword [0x413df4], esi
push 0x402db8
push 0x402dac
call fcn.0040e559
pop ecx
pop ecx
test eax, eax
je 0x40e41b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e549
mov dword [0x413644], esi
cmp dword [0x413df4], esi
jne 0x40e43e
push 0x402da8
push 0x402d94
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x413df4], 2
test edi, edi
jne 0x40e44b
xor eax, eax
mov ecx, 0x413df0
xchg dword [ecx], eax
cmp dword [0x413e00], 0
je 0x40e477
push 0x413e00
call fcn.0040ec10
pop ecx
test eax, eax
je 0x40e477
push ebx
push 2
push ebx
mov esi, dword [0x413e00]
mov ecx, esi
call dword [0x4144bc]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x40e4d5
test cl, cl
je 0x40e4a4
test edi, edi
jne 0x40e4d5
test cl, cl
je 0x40e4a4
cmp cl, 0x20
ja 0x40e4a4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x40e493
test byte [ebp - 0x3c], 1
je 0x40e4b0
movzx eax, word [ebp - 0x38]
jmp 0x40e4b3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x413640], eax
cmp dword [0x413658], 0
jne 0x40e52e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x40e4e6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x40e4f9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40e484
cmp dword [0x413644], 0
jne 0x40e542
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x413640]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40eaf4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x410f58
call fcn.0040edb8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40eb54
cmp eax, 0xffffffff
je 0x40eb54
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40eb4d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40eb4d
cmp edx, 0x10000000
jae 0x40eb4d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40eb4a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4