joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fb20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4aba8c]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x41fb45
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x41fb4a
call fcn.0041f940
mov eax, 1
mov ecx, 0x4ae1f4
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x41fb6a
mov byte [0], 0
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x4adc40], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4227f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], ebx
mov edi, 8
mov eax, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 0xffffffff
or ecx, 0xffffffff
cmp edi, 0xffffffff
mov esi, edi
cmova esi, ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x422831
mov byte [0], al
test bl, 1
je 0x422844
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.00401f60
mov eax, dword [ebp - 8]
sub edi, esi
add eax, esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
mov ecx, 0xffffffff
test edi, edi
jne 0x422818
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4228b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x422920
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x4a6060]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x4a6060]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x4a6060]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x4a6060]
sub ebx, 1
jne 0x4228c7
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x423fd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 4]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x3c]
xor esi, esi
add ebx, ecx
mov dword [ebp - 4], ecx
xor edi, edi
movzx ecx, word [ebx + 6]
cmp esi, ecx
jae 0x424029
movzx eax, word [ebx + 0x14]
lea edx, [ebx + 0x18]
add eax, edi
add edx, eax
je 0x424029
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
neg eax
sbb eax, eax
and eax, ecx
cmp eax, dword [ebp + 8]
ja 0x424018
mov ecx, dword [edx + 8]
add ecx, eax
cmp ecx, dword [ebp + 8]
ja 0x42401e
inc esi
add edi, 0x28
jmp 0x423fe6
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x42422b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
push edi
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [esi]
cmp eax, 0x4a5b54
jne 0x424359
test ecx, ecx
jne 0x42424e
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x424254
lea edi, [edx + ecx]
mov dword [ebp - 4], edi
test edi, edi
je 0x424310
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x424274
pop edi
mov word [ebx], ax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
cmp eax, 0x4a5b54
jne 0x424369
test ecx, ecx
jne 0x42428f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x424297
mov edx, dword [esi + 4]
add edx, ecx
mov dword [ebp - 8], edx
mov ecx, dword [edi + 0x18]
mov ebx, edx
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc], eax
cmp edx, eax
je 0x424310
sub eax, ebx
sar eax, 2
mov eax, eax
test eax, eax
jns 0x4242b4
add eax, 1
sar eax, 1
mov ecx, dword [ebx + eax*4]
lea edi, [ebx + eax*4]
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, 0x4a5b54
jne 0x424379
test ecx, ecx
jne 0x4242d4
xor eax, eax
jmp 0x4242d9
mov eax, dword [esi + 4]
add eax, ecx
mov ecx, dword [ebp + 8]
mov edx, ecx
mov cl, byte [ecx]
test cl, cl
je 0x4242f1
cmp cl, byte [eax]
jne 0x4242f1
mov cl, byte [edx + 1]
inc edx
inc eax
test cl, cl
jne 0x4242e4
movzx eax, byte [eax]
movzx ecx, byte [edx]
sub ecx, eax
je 0x42431b
test ecx, ecx
jle 0x424307
mov eax, dword [ebp - 0xc]
lea ebx, [edi + 4]
jmp 0x42430c
mov eax, edi
mov dword [ebp - 0xc], eax
cmp ebx, eax
jne 0x4242a6
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ebx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 0x24]
cmp eax, 0x4a5b54
jne 0x424383
test ecx, ecx
jne 0x424335
xor eax, eax
jmp 0x42433a
mov eax, dword [esi + 4]
add eax, ecx
sub edi, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
sar edi, 2
mov ax, word [eax + edi*2]
add ax, word [ebx + 0x10]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push ecx
mov ecx, esi
call dword [eax + 4]
mov edi, eax
mov dword [ebp - 4], eax
jmp 0x424254
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, eax
mov dword [ebp - 8], eax
jmp 0x424297
push ecx
mov ecx, esi
call edx
jmp 0x4242d9
push ecx
mov ecx, esi
call edx
jmp 0x42433a

Function at 0x424390
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4243a0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42439d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x42439d
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete al
ret
Function at 0x424930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
push dword [ebp + 0xc]
push eax
call fcn.00413510
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x424962
mov eax, dword [eax]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0xc]
mov edi, eax
cmp ecx, 8
jb 0x424984
inc ecx
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call fcn.004065a0
test edi, edi
jne 0x42499c
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045248d
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x424a61
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004524a3
push dword [ebp + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push dword [ebp + 0xc]
push eax
call fcn.00413510
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4249d8
mov eax, dword [eax]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x4249f6
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.004065a0
push esi
lea ecx, [ebp - 0x20]
call fcn.004029b0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00413350
mov ecx, dword [ebp - 0x3c]
add esp, 8
push eax
call fcn.00405ef0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x424a2d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00404d90
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
cmp eax, 8
jb 0x424a54
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.004065a0
test esi, esi
je 0x424a61
push esi
call fcn.0045249e
add esp, 4
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0045248d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424a80
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov edx, esp
jb 0x424aa4
mov ecx, dword [eax]
jmp 0x424aa6
mov ecx, eax
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00413510
mov esi, eax
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x424ac4
mov esi, dword [esi]
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push dword [ebp + 0xc]
push eax
call fcn.00413510
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x424ade
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 0xc]
setne bl
cmp eax, 8
jb 0x424b00
inc eax
lea ecx, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
call fcn.004065a0
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
cmp ecx, 8
jb 0x424b29
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.004065a0
mov ecx, dword [ebp - 8]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x424c50
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x424cfc
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x424cfc
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004042a0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x424cb7
mov eax, dword [esi]
jmp 0x424cb9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, 0x400
cmp di, ax
jb 0x424ce9
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x424ce9
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004042a0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045248d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret
Function at 0x425f35
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, bl
inc ebx
test eax, eax
lea eax, [ebp - 0x224]
push eax
cmovne ecx, ebx
mov dword [ebp - 0x230], ecx
mov ecx, esi
call fcn.0040cb80
cmp dword [eax + 0x14], 8
jb 0x425f8c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x224]
call fcn.00402940
call fcn.0042633e
mov byte [ebp - 0x225], al
test al, 1
je 0x425fd5
test al, 8
je 0x425fd7
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.0040ccc0
push str.nw_child.dll
mov ecx, eax
mov dword [ebp - 0x22c], ebx
call fcn.0040b790
test eax, eax
jne 0x425fd7
xor bl, bl
test byte [ebp - 0x22c], 1
je 0x425feb
lea ecx, [ebp - 0x224]
call fcn.00402940
test bl, bl
je 0x425ffe
lea eax, [ebp - 0x225]
push eax
push esi
call fcn.004260f6
pop ecx
pop ecx
cmp dword [esi + 0x14], 8
jb 0x426006
mov esi, dword [esi]
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [ebp - 0x230], 0
mov esi, eax
je 0x426029
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret
Function at 0x436d97
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword fs:[0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [eax + 0x24]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x2d0], eax
jne 0x436dd8
cmp dword [esi + 0x2d4], ebx
jne 0x436dd8
push esi
mov dword [esi + 0x2f8], ebx
call fcn.0047b770
pop ecx
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x436e38
push 2
call fcn.00401e30
pop ecx
test al, al
je 0x436e24
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x8e
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea ecx, [ebp - 0xbc]
call fcn.00402680
add eax, 0x10
push 0x48461c
push eax
call fcn.00406a20
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
je 0x436e34
lea ecx, [ebp - 0xbc]
call fcn.004026b0
xor al, al
jmp 0x436dd2
xor eax, eax
cmp byte [ebp + 0x10], 1
push 0x2cc
sete al
sub ecx, eax
push ebx
push esi
mov dword [esi + 0x2f8], ecx
call fcn.00456820
add esp, 0xc
mov dword [esi], 0x1003f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x436eb7
push 2
call fcn.00401e30
pop ecx
test al, al
je 0x436ea7
push 0x10
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xa7
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea ecx, [ebp - 0x174]
call fcn.00402680
add eax, ebx
push 0x48462c
push eax
call fcn.00406a20
pop ecx
pop ecx
test bl, 0x10
je 0x436e34
lea ecx, [ebp - 0x174]
jmp 0x436e2f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x436dd0
push 2
call fcn.00401e30
pop ecx
test al, al
je 0x436f04
push 0x20
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xad
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea ecx, [ebp - 0x22c]
call fcn.00402680
add eax, 0x10
push 0x484640
push eax
call fcn.00406a20
pop ecx
pop ecx
test bl, 0x20
je 0x436e34
lea ecx, [ebp - 0x22c]
jmp 0x436e2f

Function at 0x439861
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x14], 0xff
jbe 0x4398c7
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x4398b7
push 1
push 0xa1
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea ecx, [ebp - 0xd8]
call fcn.00401ea0
add eax, 8
push str.dwNumberOfProcessors_exceeds_uint8_t_storage
push eax
call fcn.00406a20
pop ecx
pop ecx
inc ebx
test bl, 1
je 0x4398c7
lea ecx, [ebp - 0xd8]
call fcn.00401f60
push dword [ebp - 0x14]
call fcn.0043973f
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bc1d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
lea ecx, [edi + 0x18]
call fcn.0047bae5
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0x40
push edx
push eax
mov ecx, edi
call fcn.0043c898
test al, al
jne 0x43bcb6
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bc9f
push 1
push 0x119
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.could_not_read_dos_header_from
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
inc ebx
test bl, 1
je 0x43bcaf
lea ecx, [ebp - 0x104]
call fcn.00401f60
xor al, al
jmp 0x43bde0
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
je 0x43bd05
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bd00
push 1
push 0x11f
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.invalid_e_magic_in_dos_header_of
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 2
pop ebx
test bl, 2
jmp 0x43bca2
lea ecx, [edi + 0x18]
call fcn.0047bae5
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 8]
cdq
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x54], eax
adc edx, esi
mov esi, dword [ebp - 0x4c]
push esi
push ebx
push 0x108
push edx
push eax
mov dword [ebp - 0x48], edx
call fcn.0043c898
test al, al
jne 0x43bd7d
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bd75
push 1
push 0x127
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.could_not_read_nt_headers_from
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
jmp 0x43bca2
cmp dword [esi], 0x4550
je 0x43bdcc
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bdc4
push 1
push 0x12d
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 8
pop ebx
test bl, 8
jmp 0x43bca2
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x43bdde
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret 8
Function at 0x43bdf3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
lea ecx, [edi + 0x18]
call fcn.0047bae5
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0x40
push edx
push eax
mov ecx, edi
call fcn.0043c898
test al, al
jne 0x43be8c
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43be75
push 1
push 0x119
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.could_not_read_dos_header_from
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
inc ebx
test bl, 1
je 0x43be85
lea ecx, [ebp - 0x104]
call fcn.00401f60
xor al, al
jmp 0x43bfb6
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
je 0x43bedb
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bed6
push 1
push 0x11f
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.invalid_e_magic_in_dos_header_of
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 2
pop ebx
test bl, 2
jmp 0x43be78
lea ecx, [edi + 0x18]
call fcn.0047bae5
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 8]
cdq
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x54], eax
adc edx, esi
mov esi, dword [ebp - 0x4c]
push esi
push ebx
push 0xf8
push edx
push eax
mov dword [ebp - 0x48], edx
call fcn.0043c898
test al, al
jne 0x43bf53
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bf4b
push 1
push 0x127
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.could_not_read_nt_headers_from
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
jmp 0x43be78
cmp dword [esi], 0x4550
je 0x43bfa2
push 1
call fcn.00401e30
pop ecx
test al, al
je 0x43bf9a
push 1
push 0x12d
push str.c:_nwjs_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00401ea0
push edi
add eax, 8
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.00406a20
pop ecx
pop ecx
push eax
call fcn.00406c70
pop ecx
pop ecx
push 8
pop ebx
test bl, 8
jmp 0x43be78
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x43bfb4
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret 8
Function at 0x43eff0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, dword [0x4ac008]
test esi, esi
jne 0x43f045
push 0x485314
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x43f02d
xor al, al
jmp 0x43f06e
push str.GetUserDefaultLocaleName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x4ac008], esi
test esi, esi
je 0x43f029
push edi
mov edi, 0xaa
lea eax, [ebp - 0xb0]
push edi
push 0
push eax
call fcn.00456820
add esp, 0xc
lea eax, [ebp - 0xb0]
push edi
push eax
call esi
neg eax
pop edi
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045248d
mov esp, ebp
pop ebp
ret

Function at 0x43f114
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4ab09c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], ebx
cmp byte [eax + 0x2c], bl
jne 0x43f144
mov eax, 0x3f0
jmp 0x43f232
push esi
lea ecx, [ebp - 0x54]
add eax, 0x24
push ecx
push 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043f924
mov esi, dword [ebp - 0x58]
add esp, 0x10
test esi, esi
jne 0x43f16a
mov ebx, dword [ebp - 0x54]
jmp 0x43f22f
mov eax, ebx
mov dword [ebp - 0x50], eax
cmp dword [esi], ebx
jbe 0x43f228
push edi
lea edi, [esi + 4]
mov dword [ebp - 0x64], 0x44
test dword [edi + 4], 0xc0000020
jne 0x43f218
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x49], bl
test ecx, ecx
je 0x43f1f7
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [ebp - 0x58], edx
push 0x44
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x5c], ebx
test eax, eax
je 0x43f1f4
mov ecx, ebx
mov dword [ebp - 0x54], ebx
push dword [edi]
add ecx, dword [ebp - 0x58]
call fcn.0043f0c1
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x43f1f0
mov ecx, dword [ebp - 0x54]
push 0x44
pop eax
add ecx, eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
mov dword [ebp - 0x58], edx
cdq
idiv dword [ebp - 0x64]
cmp dword [ebp - 0x5c], eax
jb 0x43f1b5
jmp 0x43f1f4
mov byte [ebp - 0x49], 1
mov eax, dword [ebp - 0x50]
cmp byte [ebp - 0x49], bl
jne 0x43f218
push dword [edi]
lea ecx, [ebp - 0x48]
call fcn.0043f07d
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ecx + 0x18]
call fcn.0043fa30
mov eax, dword [ebp - 0x50]
inc eax
add edi, 8
mov dword [ebp - 0x50], eax
cmp eax, dword [esi]
jb 0x43f182
pop edi
push esi
call fcn.0045249e
pop ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045248d
mov esp, ebp
pop ebp
ret 4