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

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x403c64
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov ebx, eax
mov dword [esp + 0x10], esi
mov esi, edx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x24]
movzx eax, byte [esi]
movzx ecx, byte [edi]
xor eax, ecx
mov byte [ebx], al
movzx eax, byte [esi + 1]
movzx ecx, byte [edi + 1]
xor eax, ecx
mov byte [ebx + 1], al
movzx eax, byte [esi + 2]
movzx ecx, byte [edi + 2]
xor eax, ecx
mov byte [ebx + 2], al
movzx eax, byte [esi + 3]
movzx ecx, byte [edi + 3]
xor eax, ecx
mov byte [ebx + 3], al
movzx eax, byte [esi + 4]
movzx ecx, byte [edi + 4]
xor eax, ecx
mov byte [ebx + 4], al
movzx eax, byte [esi + 5]
movzx ecx, byte [edi + 5]
xor eax, ecx
mov byte [ebx + 5], al
movzx eax, byte [esi + 6]
movzx ecx, byte [edi + 6]
xor eax, ecx
mov byte [ebx + 6], al
movzx eax, byte [esi + 7]
movzx ecx, byte [edi + 7]
xor eax, ecx
mov byte [ebx + 7], al
mov eax, dword [esp + 0x20]
mov edx, ebx
mov ecx, ebx
call fcn.0040309c
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x18]
add esi, 8
add ebx, 8
add ecx, 0xfffffff8
test ecx, ecx
mov dword [esp + 0x18], ecx
jg 0x403bc3
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
add esp, 0x1c
ret
Function at 0x407d40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x427f40]
cmp dword [eax + 0x22c], 0
je 0x407d51
xor eax, eax
ret
add dword [eax + 0x1c], 1
mov eax, dword [0x427f40]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x18
jge 0x407d82
mov dword [eax + ecx*4 + 0x20], 0x17
mov eax, dword [0x427f40]
cmp dword [eax + 0x240], 0
je 0x407d82
call fcn.00407ae0
mov eax, dword [0x427f40]
cmp dword [eax + 0x8c], 0
push esi
jne 0x407eb4
cmp dword [eax + 0x228], 0
je 0x407db0
mov dword [eax + 0x22c], 0x12
mov eax, dword [0x427f40]
add dword [eax + 0x1c], 0xffffffff
xor eax, eax
pop esi
ret
mov eax, str._nMIRACL_error_from_routine
call fcn.00407740
mov ecx, dword [0x427f40]
mov eax, dword [ecx + 0x1c]
cmp eax, 0x18
jge 0x407dd5
mov eax, dword [ecx + eax*4 + 0x20]
mov eax, dword [eax*4 + 0x426398]
jmp 0x407dda
mov eax, 0x42352c
call fcn.00407740
push ebx
call fcn.0041542e
add eax, 0x20
push eax
push 0xa
call fcn.004152ef
mov ecx, dword [0x427f40]
mov ebx, dword [ecx + 0x1c]
add esp, 8
sub ebx, 1
js 0x407ea2
push ebp
push edi
lea ebp, [ebx*4 + 0x20]
mov edi, edi
mov al, 0x20
mov esi, str.______________called_from
movsx edi, al
call fcn.0041542e
add eax, 0x20
push eax
push edi
call fcn.004152ef
mov al, byte [esi + 1]
add esi, 1
add esp, 8
test al, al
jne 0x407e17
cmp ebx, 0x18
jge 0x407e52
mov edx, dword [0x427f40]
mov eax, dword [edx + ebp]
mov eax, dword [eax*4 + 0x426398]
call fcn.00407740
jmp 0x407e7f
mov al, 0x3f
mov esi, 0x42352c
lea esp, [esp]
movsx edi, al
call fcn.0041542e
add eax, 0x20
push eax
push edi
call fcn.004152ef
mov al, byte [esi + 1]
add esi, 1
add esp, 8
test al, al
jne 0x407e60
call fcn.0041542e
add eax, 0x20
push eax
push 0xa
call fcn.004152ef
sub ebx, 1
add esp, 8
sub ebp, 4
test ebx, ebx
jge 0x407e10
pop edi
pop ebp
mov eax, str.MIRACL_not_initialised___no_call_to_mirsys___n
call fcn.00407740
push 0
call fcn.0041585f
pop ebx
mov ecx, dword [eax + 0x18]
lea edx, [ecx*4 + 0xb]
shr edx, 2
lea eax, [edx*4 + 4]
push 1
push eax
call fcn.0040e920
mov esi, eax
add esp, 8
test esi, esi
je 0x407da3
lea eax, [esi + 4]
mov ecx, eax
and ecx, 3
mov edx, eax
sub edx, ecx
add edx, 8
mov dword [eax], edx
mov eax, dword [esp + 8]
test eax, eax
je 0x407f00
push esi
push eax
call fcn.00407ca0
add esp, 8
mov eax, dword [0x427f40]
add dword [eax + 0x1c], 0xffffffff
mov eax, esi
pop esi
ret
Function at 0x40caa0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
call fcn.004082d0
add esp, 4
test eax, eax
jne 0x40cbb5
push edi
call fcn.004082d0
add esp, 4
test eax, eax
jne 0x40cbb5
push ebp
push esi
call fcn.00407fa0
push edi
mov ebp, eax
call fcn.00407fa0
and dword [esi], 0x7fffffff
and dword [edi], 0x7fffffff
push edi
push esi
mov dword [esp + 0x14], eax
call fcn.00408490
mov ecx, eax
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x1c]
add eax, 1
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + ebp + 1]
add esp, 0x10
cmp eax, 3
ja case.default.0x40cb08
jmp dword [eax*4 + 0x40cbc8]
test ecx, ecx
push ebx
jl 0x40cb20
push edi
push esi
call fcn.0040c740
add esp, 0xc
jmp 0x40cb8a
push esi
push edi
call fcn.0040c740
add esp, 0xc
jmp 0x40cb8a
test ecx, ecx
push ebx
jg 0x40cb3d
push esi
push edi
call fcn.0040c990
add esp, 0xc
jmp 0x40cb90
push edi
push esi
call fcn.0040c990
add esp, 0xc
jmp 0x40cb8a
test ecx, ecx
push ebx
jl 0x40cb5a
push edi
push esi
call fcn.0040c990
add esp, 0xc
jmp 0x40cb90
push esi
push edi
call fcn.0040c990
add esp, 0xc
jmp 0x40cb8a
test ecx, ecx
push ebx
jl 0x40cb77
push edi
push esi
call fcn.0040c740
add esp, 0xc
jmp 0x40cb90
push esi
push edi
call fcn.0040c740
add esp, 0xc
jmp 0x40cb90
cmp dword [esp + 4], 0
jge 0x40cb90
xor dword [ebx], 0x80000000
cmp esi, ebx
je 0x40cb9e
test ebp, ebp
jge 0x40cb9e
xor dword [esi], 0x80000000
cmp edi, ebx
pop ebp
je 0x40cbb3
cmp edi, esi
je 0x40cbb3
cmp dword [esp], 0
jge 0x40cbb3
xor dword [edi], 0x80000000
pop ecx
ret
add esp, 4
mov dword [esp + 4], 0xc
jmp fcn.00407780
Function at 0x417b3b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x426a00]
je 0x417b56
inc edi
cmp edi, 0x17
jb 0x417b47
cmp edi, 0x17
jae 0x417cd6
push ebp
push 3
call fcn.0041c682
cmp eax, 1
pop ecx
je 0x417ca2
push 3
call fcn.0041c682
test eax, eax
pop ecx
jne 0x417b8a
cmp dword [0x4265f4], 1
je 0x417ca2
cmp ebx, 0xfc
je 0x417cd5
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x427fa0
push ebp
call fcn.0041c61d
add esp, 0xc
test eax, eax
je 0x417bc0
push esi
push esi
push esi
push esi
push esi
call fcn.00416ba7
add esp, 0x14
push 0x104
mov esi, 0x427fb9
push esi
push 0
mov byte [0x4280bd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417c04
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041c61d
add esp, 0xc
test eax, eax
je 0x417c04
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00416ba7
add esp, 0x14
push esi
call fcn.00416d50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x417c49
push esi
call fcn.00416d50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4282b4
push 0x423b64
sub ecx, eax
push ecx
push eax
call fcn.0041c56a
add esp, 0x14
test eax, eax
je 0x417c49
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00416ba7
add esp, 0x14
jmp 0x417c4b
xor esi, esi
push 0x423b60
push ebx
push ebp
call fcn.0041c4f9
add esp, 0xc
test eax, eax
je 0x417c6b
push esi
push esi
push esi
push esi
push esi
call fcn.00416ba7
add esp, 0x14
push dword [edi*8 + 0x426a04]
push ebx
push ebp
call fcn.0041c4f9
add esp, 0xc
test eax, eax
je 0x417c8d
push esi
push esi
push esi
push esi
push esi
call fcn.00416ba7
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041c33c
add esp, 0xc
jmp 0x417cd5
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x417cd5
cmp ebp, 0xffffffff
je 0x417cd5
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x426a04]
push dword [esi]
call fcn.00416d50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bb6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4272e8]
jne 0x41bb78
repz ret
jmp fcn.0041e660
Function at 0x41c33c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418693
xor ebx, ebx
cmp dword [0x4285ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41c412
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41c4f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41c4f2
push eax
call fcn.00418625
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4285ac], eax
call esi
push eax
call fcn.00418625
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4285b0], eax
call esi
push eax
call fcn.00418625
mov dword [0x4285b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00415678
test eax, eax
pop ecx
pop ecx
je 0x41c3e0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416ba7
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41c412
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418625
cmp eax, ebx
pop ecx
mov dword [0x4285bc], eax
je 0x41c412
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418625
pop ecx
mov dword [0x4285b8], eax
mov eax, dword [0x4285b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41c497
cmp dword [0x4285bc], ecx
je 0x41c497
push eax
call fcn.0041869c
push dword [0x4285bc]
mov esi, eax
call fcn.0041869c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41c497
cmp edi, ebx
je 0x41c497
call esi
cmp eax, ebx
je 0x41c464
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c464
test byte [ebp - 0x18], 1
jne 0x41c497
lea eax, [ebp - 0x10]
push eax
call fcn.004156af
test eax, eax
pop ecx
je 0x41c47f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416ba7
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41c48e
or dword [ebp + 0x10], 0x200000
jmp 0x41c4d2
or dword [ebp + 0x10], 0x40000
jmp 0x41c4d2
mov eax, dword [0x4285b0]
cmp eax, dword [ebp - 8]
je 0x41c4d2
push eax
call fcn.0041869c
cmp eax, ebx
pop ecx
je 0x41c4d2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41c4d2
mov eax, dword [0x4285b4]
cmp eax, dword [ebp - 8]
je 0x41c4d2
push eax
call fcn.0041869c
cmp eax, ebx
pop ecx
je 0x41c4d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4285ac]
call fcn.0041869c
cmp eax, ebx
pop ecx
je 0x41c4f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c4f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x421be0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x421c02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421c09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421bf8
mov eax, 1
add ebx, ebx
jne 0x421c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421c10
jne 0x421c2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421c10
xor ecx, ecx
sub eax, 3
jb 0x421c40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421cb2
mov ebp, eax
add ebx, ebx
jne 0x421c4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421c58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421c7c
inc ecx
add ebx, ebx
jne 0x421c68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421c5d
jne 0x421c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421c5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421c9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421c8d
jmp 0x421bfe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421c9c
add edi, ecx
jmp 0x421bfe
pop esi
mov edi, esi
mov ecx, 0x844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421cba
cmp byte [edi], 0xd
jne 0x421cba
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 eax, ebx
loop 0x421cbf
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421d37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2293c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x229f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421cec
mov ecx, edi
jns 0x421d1b
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 + 0x229f4]
or eax, eax
je 0x421d31
mov dword [ebx], eax
add ebx, 4
jmp 0x421d09
call dword [esi + 0x229f8]
popal
jmp section.UPX0
Function at 0x40887d
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x4088a8
mov eax, dword [0x40d140]
cmp eax, 0xffffffff
je 0x40889c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40d140], 0xffffffff
jmp 0x40894d
cmp dword [0x46eec0], ebx
je 0x40894d
cmp word [0x46e6c0], bx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x40891d
cmp dword [0x40d140], 0xffffffff
jne 0x408926
mov esi, 0x46e6c0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 4
push 0x40000000
push esi
mov dword [ebp + 8], eax
call fcn.00408233
cmp eax, 0xffffffff
mov dword [0x40d140], eax
je 0x40894d
cmp dword [ebp + 8], 0xffffffff
jne 0x408912
lea ecx, [ebp - 4]
push ebx
push ecx
lea ecx, [ebp + 8]
push 2
push ecx
push eax
mov dword [ebp + 8], 0xfeff
call edi
mov eax, dword [0x40d140]
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40d140], 0xffffffff
je 0x40894d
mov esi, 0x476f00
push 0x40d498
push esi
call sub.KERNEL32.dll_lstrcatW
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenW
add eax, eax
push eax
push esi
push dword [0x40d140]
call edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x8016ef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0080176e
jae 0x8016fb
xor ecx, ecx
call fcn.0080176e
jae 0x801725
xor eax, eax
call fcn.0080176e
jae 0x801736
mov al, 0x10
call fcn.0080176e
adc al, al
jae 0x801717
jne 0x801763
stosb byte es:[edi], al
jmp 0x8016fc
call fcn.0080177a
dec ecx
loop 0x801742
mov eax, ebp
call fcn.00801778
jmp 0x801764
lodsb al, byte [esi]
shr eax, 1
je 0x80178a
adc ecx, 2
mov ebp, eax
jmp 0x801764
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00801778
cmp eax, 0x7d00
jae 0x801762
cmp eax, 0x500
jae 0x801763
cmp eax, 0x7f
ja 0x801764
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8016fc
pop ebp
ret 8
Function at 0x416c02
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x416c3a
mov ecx, fcn.00530000
cmp dword [ebx + 0x58], ecx
jne 0x416c28
mov al, 1
jmp 0x416c84
cmp dword [ebx + 0x54], ecx
jne 0x416c31
mov al, 2
jmp 0x416c84
cmp dword [ebx + 0x7c], ecx
jne 0x416c84
mov al, 3
jmp 0x416c84
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x416c4f
mov al, 4
jmp 0x416c84
cmp ecx, 5
jne 0x416c6f
cmp ebx, 0
jne 0x416c5d
mov al, 5
jmp 0x416c84
cmp ebx, 1
jne 0x416c66
mov al, 6
jmp 0x416c84
cmp ebx, 2
jne 0x416c6f
mov al, 7
jmp 0x416c84
cmp ecx, 6
jne 0x416c7b
cmp ebx, 0
jne 0x416c7d
mov al, 8
jmp 0x416c84
cmp ebx, 1
jne 0x416c84
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x564c50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6919ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0068062b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x564cd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0067d061
mov eax, dword [eax]
push 0xcae2cc
push eax
call fcn.00661784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006808b6
test bl, bl
je 0x564cd2
push 0xcae2cc
lea ecx, [esp + 0xc]
call fcn.00680c92
push 0xcb1e7c
lea ecx, [esp + 0xc]
call fcn.00680c92
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x564d0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006808b6
jmp 0x564dd9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x564d92
lea edx, [esp + 0x7c]
push 0xcb1e78
push edx
call fcn.00661784
add esp, 8
test eax, eax
je 0x564d92
lea eax, [esp + 0x7c]
push 0xcb1e74
push eax
call fcn.00661784
add esp, 8
test eax, eax
je 0x564d92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x564d22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.006808b6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x566050
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x691b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xccb6b0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x566188
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5660b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006808b6
xor eax, eax
jmp 0x5661ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00680a3f
push esi
lea ecx, [esp + 0xc]
call fcn.00680cce
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xcb1eb4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5661dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xcb1eac
push closesocket
call fcn.005e0ff0
test eax, eax
jne 0x5661dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xcb1e98
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.005e0ff0
test eax, eax
jne 0x5661dd
lea eax, [esp + 0x14]
push 0xcb1e90
push eax
call fcn.00662970
mov esi, eax
add esp, 8
test esi, esi
jne 0x5661bc
lea ecx, [esp + 0x14]
push 0xcb1e8c
push ecx
call fcn.006628f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5661bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x5661bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006809ef
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5660ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006808b6
xor eax, eax
jmp 0x5661ff
mov byte [esi], 0
push 0xcb1e88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.006808b6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x56e51a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x692608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00681ffb
xor ebp, ebp
mov dword [esi], 0xbb14f0
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.005c1520
call fcn.005593d0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0067f5f2
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.005593d0
mov dword [ebx], 0xbaedf4
mov dword [edi], 0xbb1414
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.005593d0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0xbb141c
mov dword [esi + 0xac], ebp
call fcn.0068ccbc
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00687afe
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x56e6d0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x692695
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xbb141c
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.00687b55
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0xbaedf0
call fcn.005595d0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.00687b55
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xbaedf0
call fcn.005595d0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0067f625
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xbaedf0
call fcn.005595d0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0068aa9c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret