joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6f7654]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
je 0x402312
cmp dword [ebp + 0x14], 0
je 0x402312
cmp dword [ebp + 0x10], 0
jne 0x402319
xor al, al
jmp 0x4024a7
cmp dword [ebp + 0xc], 0
jne 0x402326
mov al, 1
jmp 0x4024a7
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov byte [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
call fcn.005edcec
and eax, reloc.SdoBaseClient.dll_Ordinal_7
jns 0x402356
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov dword [ebp - 0xc], eax
mov dl, byte [ebp - 0xc]
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x31], 1
jmp 0x402370
mov al, byte [ebp - 0x31]
add al, 1
mov byte [ebp - 0x31], al
movzx ecx, byte [ebp - 0x31]
mov edx, dword [ebp - 0xc]
sub edx, 1
cmp ecx, edx
jae 0x40239b
call fcn.005edcec
and eax, 0x800000ff
jns 0x402391
dec eax
or eax, 0xffffff00
inc eax
movzx ecx, byte [ebp - 0x31]
mov byte [ebp + ecx - 0x20], al
jmp 0x402368
movzx eax, byte [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0xc]
mov byte [ebp + edx - 0x21], al
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jne 0x4023c9
cmp dword [ebp + 0xc], 0
je 0x4024a5
mov eax, 0x10
sub eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4023e4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
jmp 0x4023ea
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
lea edx, [ebp + ecx - 0x20]
push edx
call fcn.005ed2d0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x10
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.005eb2a0
add esp, 0xc
mov dword [ebp - 0x38], 0
jmp 0x402436
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xc]
jae 0x40245a
mov ecx, dword [ebp - 0x38]
movzx edx, byte [ebp + ecx - 0x20]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax - 0x30], dl
jmp 0x40242d
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax]
push ecx
call fcn.005ed2d0
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x4023b9
mov al, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ea848
mov esp, ebp
pop ebp
ret
Function at 0x402c30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63bb3b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x6f7654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa8
push str.CProcessUtil::EnumProcessData
push str.d:_release_sdologin_srcpublicProcessUtil.h
lea ecx, [ebp - 0x25c]
call fcn.00455c30
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0xffffffff
jne 0x402cf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
push eax
push str.__PPU_EPD___CreateToolhelp32Snapshot_Failed_code___u_n
push 2
push str.root
push 0xae
push str.CProcessUtil::EnumProcessData
push str.d:_release_sdologin_srcpublicProcessUtil.h
call fcn.004563b0
add esp, 0x1c
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00455c90
mov eax, dword [ebp - 0x264]
jmp 0x402d9a
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea ecx, [ebp - 0x240]
push ecx
call fcn.005eb2a0
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x248]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x24c], eax
jmp 0x402d4f
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x402d6b
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x244]
push ecx
call dword [ebp + 8]
add esp, 8
jmp 0x402d36
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x268], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00455c90
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ea848
mov esp, ebp
pop ebp
ret

Function at 0x414590
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4145e5
mov edx, dword [esp + 8]
test edx, edx
je 0x4145e5
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4145b4
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov eax, 1
ret
push esi
mov esi, dword [esp + 0x14]
cmp dword [esi], edx
mov dword [esi], edx
jae 0x4145c3
xor eax, eax
pop esi
ret
test edx, edx
jbe 0x4145de
sub ecx, eax
mov esi, edx
jmp 0x4145d0
mov dl, byte [ecx + eax]
xor dl, 0xd3
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x4145d0
mov eax, 1
pop esi
ret
xor eax, eax
ret
Function at 0x4148c0
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov byte [edi], al
test esi, esi
je 0x414997
jle 0x414993
push ebx
push ebp
lea ebp, [eax + 2]
jmp 0x4148e6
mov edx, dword [esp + 0x10]
mov bl, byte [edx + ebp - 2]
lea ecx, [ebp - 1]
cmp ecx, esi
jl 0x4148f5
xor cl, cl
jmp 0x4148f9
mov cl, byte [edx + ebp - 1]
cmp ebp, esi
jl 0x414901
xor dl, dl
jmp 0x414904
mov dl, byte [edx + ebp]
movzx esi, bl
mov ebx, esi
shr ebx, 2
movzx ebx, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], bl
movzx ecx, cl
and esi, 3
mov ebx, ecx
shl esi, 4
shr ebx, 4
movzx ebx, byte [ebx + esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [esp + 0x14]
inc eax
mov byte [eax + edi], bl
inc eax
cmp ebp, esi
jge 0x41495d
movzx edx, dl
mov ebx, edx
shr ebx, 6
and ecx, 0xf
mov cl, byte [ebx + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
inc eax
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], dl
jmp 0x414982
lea ebx, [ebp - 1]
cmp ebx, esi
jge 0x414979
movzx edx, dl
shr edx, 6
and ecx, 0xf
mov cl, byte [edx + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
jmp 0x41497d
mov byte [eax + edi], 0x3d
inc eax
mov byte [eax + edi], 0x3d
add ebp, 3
lea edx, [ebp - 2]
inc eax
cmp edx, esi
jl 0x4148e2
pop ebp
pop ebx
mov byte [eax + edi], 0
pop esi
ret
Function at 0x416550
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x4165d0
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x6f8d78]
or ecx, dword [ebx*4 + 0x6f8f78]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x6f9178]
and eax, 0x3f
or ecx, dword [eax*4 + 0x6f9378]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x6f8e78]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x6f9078]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x6f9278]
and eax, 0x3f
or ebx, dword [eax*4 + 0x6f9478]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x6f8d78]
or ecx, dword [ebx*4 + 0x6f8f78]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x6f9178]
and eax, 0x3f
or ecx, dword [eax*4 + 0x6f9378]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x6f8e78]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x6f9078]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x6f9278]
and eax, 0x3f
or ebx, dword [eax*4 + 0x6f9478]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x4165d0
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret
Function at 0x418330
Capabilities:
Check for peb beingdebugged flag
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x63cc88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x108]
mov ebx, dword [eax + 8]
lea ecx, [esp + 0x3c]
call fcn.00401a90
mov esi, dword [esi + 0x104]
mov ebp, eax
xor edx, edx
mov eax, ebx
div dword [esi + 8]
add ebp, ebp
lea ecx, [ebp + 6]
movzx ecx, cx
mov dword [esp + 0x20], ecx
movzx ecx, cx
mov eax, ebx
mov edi, ebx
mov dword [esp + 0x24], ecx
sub eax, edx
mov edx, dword [esi + 4]
sub edi, eax
add ecx, edi
push ecx
push eax
push 0
push 6
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add edi, eax
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x18]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.0041ce30
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dx, word [0x6bd608]
mov cx, word [esp + 0x20]
mov word [edi], dx
mov al, byte [0x6bd60a]
push ebp
mov word [edi + 4], cx
push 0
lea ecx, [esp + 0x44]
mov byte [edi + 2], al
call fcn.00401ee0
push eax
lea edx, [edi + 6]
push edx
call fcn.005ed2d0
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x108]
mov edx, dword [esp + 0x30]
add dword [eax + 8], edx
mov eax, dword [ecx + 0x104]
add esp, 0xc
push edi
call fcn.0041cd70
lea ecx, [esp + 0x3c]
call fcn.004016c0
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8

Function at 0x418440
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc
mov eax, dword [ebx + 0x108]
push ebp
mov ebp, dword [eax + 8]
push esi
lea ecx, [ebp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x108]
inc dword [eax + 0xc]
mov esi, dword [ebx + 0x104]
xor edx, edx
mov eax, ebp
div dword [esi + 8]
push edi
mov eax, ebp
mov edi, ebp
sub eax, edx
sub edi, eax
lea edx, [edi + 0x18]
push edx
push eax
mov eax, dword [esi + 4]
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
add edi, eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x18]
lea esi, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.0041ce30
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [eax], ecx
mov dx, word [0x6bd60c]
push ecx
mov word [edi], dx
mov al, byte [str.L_s_has_stopped_working]
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
mov byte [edi + 2], al
call fcn.00401620
push ebx
call fcn.00418330
push ecx
lea edx, [esi + 4]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [edi + 8], eax
call fcn.00401620
push ebx
call fcn.00418330
push ecx
mov dword [edi + 0xc], eax
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00401620
push ebx
call fcn.00418330
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x14], ecx
mov edx, dword [ebx + 0x108]
mov ax, word [edx + 8]
sub ax, bp
mov word [edi + 4], ax
mov eax, dword [ebx + 0x104]
push edi
call fcn.0041cd70
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret 4
Function at 0x4188e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x63d8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
test ebx, 0x1fff
jne 0x418919
or ebx, 0x1fff
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edi, [esi + 0x44]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
add esi, 0x24
push ecx
mov eax, esi
mov dword [esp + 0x50], 0
call fcn.00419e80
mov ebp, dword [esi + 0x18]
lea ecx, [esp + 0x1c]
call fcn.00487fb0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebp
call fcn.0059ca30
lea ecx, [esp + 0x24]
call fcn.004036e0
test al, al
je 0x418986
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.004036c0
test al, al
jne 0x41898b
call fcn.005eb286
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x20]
je 0x4189b5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
test bl, 2
je 0x4189db
push 0x419170
call fcn.005f5f75
add esp, 4
mov dword [esp + 0x2c], eax
test bl, 4
je 0x4189f1
push 0x4191d0
call fcn.005f5f93
add esp, 4
mov dword [esp + 0x30], eax
test ebx, 0x100
je 0x418a0c
push 0x4193f0
push 8
call fcn.005f5b88
add esp, 8
mov dword [esp + 0x34], eax
test ebx, 0x200
je 0x418a25
push 0x419460
push 4
call fcn.005f5b88
add esp, 8
mov edi, eax
test ebx, 0x800
je 0x418a3e
push 0x419520
push 0xb
call fcn.005f5b88
add esp, 8
mov ebp, eax
lea ecx, [esp + 0x14]
push ecx
mov eax, esi
call fcn.00419a40
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x418c10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x63d568
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
test edi, edi
jne 0x418c54
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
cmp dword [edi + 4], 0
lea ebx, [edi + 4]
jne 0x418c66
mov eax, dword [edi + 0xc]
push eax
call fcn.00418e30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x100]
mov dword [ecx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esi + 0x100]
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x100]
mov ecx, dword [ebx]
mov dword [eax + 0x54], ecx
mov edx, dword [esi + 0x100]
mov eax, dword [edi + 8]
mov dword [edx + 0x38], eax
cmp dword [edi + 8], 0
jne 0x418cb2
mov ecx, dword [esi + 0x100]
mov edx, dword [edi + 0xc]
mov dword [ecx + 0x3c], edx
jmp 0x418d36
mov eax, dword [edi + 8]
cmp eax, 8
jne 0x418cc8
mov eax, dword [esi + 0x100]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x50], ecx
jmp 0x418d36
cmp eax, 6
jne 0x418d36
mov edx, dword [edi + 0x14]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401640
push esi
call fcn.00418330
mov ecx, dword [esi + 0x100]
push ecx
mov dword [ecx + 0x40], eax
mov edx, dword [edi + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401640
push esi
call fcn.00418330
mov ecx, dword [esi + 0x100]
push ecx
mov dword [ecx + 0x44], eax
mov edx, dword [edi + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401640
push esi
call fcn.00418330
mov ecx, dword [esi + 0x100]
mov dword [ecx + 0x48], eax
mov edx, dword [esi + 0x100]
mov eax, dword [edi + 0x20]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x84]
test eax, eax
je 0x418d60
push 0
call eax
test eax, eax
jne 0x418d60
mov eax, 2
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
add edi, 0x28
push edi
push 1
push ecx
lea edx, [esi + 0x64]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401620
call fcn.00418f70
test eax, eax
je 0x418e1b
call fcn.00401ab0
push eax
lea ecx, [esp + 0x18]
call fcn.00401930
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.0041c210
mov byte [esp + 0x28], 1
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x6bd610
push ecx
call fcn.004021e0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.004016c0
call fcn.00401ab0
push eax
lea ecx, [esp + 0x14]
call fcn.00401930
lea edx, [esp + 0x10]
push str.Error_launching_CrashSender.exe
push edx
mov byte [esp + 0x30], 2
call fcn.004021e0
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004016c0
lea ecx, [esp + 0x14]
call fcn.004016c0
mov eax, 3
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x418f70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x63cc30
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebp
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x80], 0
call fcn.005eb2a0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.00401ab0
push eax
lea ecx, [esp + 0x88]
call fcn.00401930
push 0
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 1
call fcn.00401ee0
push eax
push 0
lea ecx, [esi + 0x110]
call fcn.00401ee0
mov ecx, dword [esi + 0x10c]
push eax
push ecx
push str.crash
lea edx, [esp + 0x94]
push str.__reporttype_s__appid_d__version_s__filename_s
push edx
call fcn.004021e0
add esp, 0x18
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xa8]
call fcn.00401ee0
push eax
lea ecx, [esi + 0x78]
call fcn.0043f970
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419074
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
test edi, edi
jne 0x4190a4
lea ecx, [esp + 0x84]
call fcn.004016c0
lea ecx, [esp + 0x7c]
call fcn.004016c0
lea eax, [edi + 1]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x6c
ret 0xc
cmp dword [esp + 0x80], 0
je 0x4190c0
mov edx, dword [esi + 0xc0]
push 0x4e20
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test ebp, ebp
je 0x4190cb
mov eax, dword [esp + 0xc]
mov dword [ebp], eax
lea ecx, [esp + 0x84]
call fcn.004016c0
lea ecx, [esp + 0x7c]
call fcn.004016c0
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x6c
ret 0xc
Function at 0x41c4a0
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x63c398
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
call fcn.00401ab0
push eax
lea ecx, [esp + 0x18]
call fcn.00401930
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.00401a90
test eax, eax
jg 0x41c4f5
or esi, 0xffffffff
jmp 0x41c526
lea ecx, [esp + 0x2c]
call fcn.0043f970
push 0x3a
push eax
call fcn.005f447e
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c514
or esi, 0xffffffff
jmp 0x41c526
lea ecx, [esp + 0x2c]
call fcn.0043f970
sub esi, eax
sar esi, 1
js 0x41c526
add esi, 2
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esp, [esp]
lea ecx, [esp + 0x2c]
call fcn.00401a90
test esi, esi
jl 0x41c55e
cmp esi, eax
jge 0x41c55e
lea ecx, [esp + 0x2c]
call fcn.0043f970
lea eax, [eax + esi*2]
push 0x5c
push eax
call fcn.005f447e
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c571
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
or esi, 0xffffffff
call fcn.004016e0
jmp 0x41c5bc
lea ecx, [esp + 0x2c]
call fcn.0043f970
sub esi, eax
sar esi, 1
test esi, esi
jge 0x41c592
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.004016e0
jmp 0x41c5bc
mov eax, esi
lea ebx, [esp + 0x18]
lea edi, [esp + 0x2c]
call fcn.0041c650
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.004016e0
mov ecx, ebx
mov byte [esp + 0x24], 1
call fcn.004016c0
push 0
lea ecx, [esp + 0x18]
call fcn.0043f970
push eax
call ebp
test eax, eax
jne 0x41c5db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c5fa
lea ecx, [esp + 0x14]
call fcn.0043f970
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x41c5fa
cmp esi, 0xffffffff
je 0x41c622
inc esi
jmp 0x41c530
lea ecx, [esp + 0x14]
call fcn.004016c0
lea ecx, [esp + 0x2c]
call fcn.004016c0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x14]
call fcn.004016c0
lea ecx, [esp + 0x2c]
call fcn.004016c0
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x41cb20
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x63d4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
call fcn.00401ab0
push eax
mov ecx, esi
call fcn.00401930
lea eax, [esi + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x3c], edi
call fcn.0041d2e0
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x28]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4