joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a136
Capabilities:
Create http request
Parse url

Disassembly:
push 0x78
mov eax, 0x43580f
call fcn.0041d834
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x3c
mov dword [ebp - 0x84], eax
lea eax, [edi + 0xc]
push ebx
push eax
mov esi, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.MSVCR100.dll_memset]
or ecx, 0xffffffff
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x44], ecx
mov ecx, 0xffff
lea eax, [edi + 0xc]
mov dword [eax], 0x3c
mov word [edi + 0x24], cx
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40a193
mov esi, dword [esi]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
jne 0x40a1a8
xor al, al
jmp 0x40a262
push dword [edi + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.00407796
mov dword [ebp - 4], ebx
push dword [edi + 0x20]
lea esi, [ebp - 0x48]
push ebx
push eax
call fcn.00407796
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 1
call fcn.00407796
push ebx
push 1
mov ecx, esi
call fcn.00407796
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407796
push dword [edi + 0x38]
lea ecx, [ebp - 0x64]
call fcn.00407796
mov dword [ebp - 4], 2
push dword [edi + 0x3c]
lea esi, [ebp - 0x80]
push ebx
push eax
call fcn.00407796
push eax
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 3
call fcn.00407796
push ebx
push 1
mov ecx, esi
call fcn.00407796
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00407796
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x14], 8
jb 0x40a238
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.wininet.dll_InternetOpenW]
mov dword [edi], eax
cmp eax, ebx
je 0x40a1a1
xor edx, edx
mov ecx, 0x417dbc
cmp edx, ecx
je 0x40a260
push ecx
push eax
call dword [sym.imp.wininet.dll_InternetSetStatusCallbackW]
mov al, 1
call fcn.0041d8b7
ret 4
Function at 0x40a368
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x1c
mov eax, 0x4357d4
call fcn.0041d7fe
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x14], esi
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x40a44a
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00407796
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
inc eax
push eax
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebx + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jne 0x40a3dc
mov dword [ebp - 0x14], esi
jmp 0x40a3ed
cmp dword [ebp - 0x14], esi
jbe 0x40a3ed
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00407796
or dword [ebp - 4], 0xffffffff
jmp 0x40a434
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
pop ecx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x14], esi
ja 0x40a37c
cmp dword [ebp - 0x1c], esi
setne al
call fcn.0041d8a3
ret 8
Function at 0x40bfeb
Capabilities:
Get common file path

Disassembly:
push 0x884
mov eax, 0x4360f5
call fcn.0041d834
xor ebx, ebx
push 0x802
lea eax, [ebp - 0x818]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x890], ebx
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c126
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x834]
call fcn.00407796
lea eax, [ebp - 0x850]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00406685
pop ecx
push eax
lea eax, [ebp - 0x888]
push eax
mov byte [ebp - 4], 1
call fcn.00407796
push 0x43dccc
push eax
lea eax, [ebp - 0x86c]
push eax
mov byte [ebp - 4], 2
call fcn.00407796
add esp, 0x14
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.00407796
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x86c]
call fcn.00407796
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.00407796
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], bl
call fcn.00407796
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x850]
call fcn.00407a3d
call fcn.00407172
push ebx
push esi
lea ecx, [ebp - 0x850]
mov byte [ebp - 0x889], al
call fcn.00407796
cmp byte [ebp - 0x889], bl
je 0x40c115
lea eax, [ebp - 0x834]
push eax
push edi
call fcn.004065d0
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.00407796
jmp 0x40c132
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x834]
call fcn.00407796
push 0x43d991
mov ecx, edi
call fcn.00407796
mov eax, edi
call fcn.0041d8b7
ret

Function at 0x41246d
Capabilities:
Get common file path

Disassembly:
push 0x26c
mov eax, 0x436d28
call fcn.0041d834
xor esi, esi
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x25c], esi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
call fcn.00407796
test al, al
je 0x412535
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.00407796
push str.LogSession
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], esi
call fcn.00407796
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0040c291
push 0x43d991
lea ecx, [ebp - 0x278]
mov ebx, eax
call fcn.00407796
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x40]
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.00407796
push esi
push 1
lea ecx, [ebp - 0x258]
call fcn.00407796
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00407796
call fcn.004123d2
jmp 0x412561
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x220]
je 0x412559
mov eax, 0x43dad4
push eax
mov ecx, edi
call fcn.00407796
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4126c0
Capabilities:
Get session user name

Disassembly:
push 0x260
mov eax, 0x43541e
call fcn.0041d834
xor eax, eax
xor esi, esi
mov dword [ebp - 0x26c], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x26c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407796
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], esi
call fcn.004065d0
pop ecx
pop ecx
push str.AdobeHeadlights
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.00407796
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.00407796
push eax
mov ecx, edi
call fcn.00407796
push esi
push 1
lea ecx, [ebp - 0x268]
call fcn.00407796
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.00407796
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.00407796
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4127d8
Capabilities:
Hash data with md5

Disassembly:
push 0xb8
mov eax, 0x434a44
call fcn.0041d834
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov eax, edi
jae 0x41287b
lea eax, [ebp + 8]
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc4], eax
jae 0x41288d
lea edi, [ebp + 8]
cmp edi, eax
je 0x4128be
mov al, byte [edi]
mov byte [ebp - 0x95], al
lea eax, [ebp - 0x95]
push 1
push eax
lea esi, [ebp - 0x94]
call fcn.00407796
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0xc4]
jne 0x412891
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041299b
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
lea edi, [ebp - 0x9c]
push dword [ebp - 0xac]
call fcn.00407796
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi + 0x14], 0xf
push eax
push ecx
mov dword [esi + 0x10], ebx
push esi
mov byte [esi], bl
call fcn.00412c56
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0xbc], ebx
je 0x412948
push dword [ebp - 0xbc]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call fcn.00407796
cmp dword [ebp - 0xac], ebx
je 0x412976
push dword [ebp - 0xac]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.00407796
mov eax, esi
call fcn.0041d8b7
ret
Function at 0x4130df
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x435d8a
call fcn.0041d834
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], 0
mov ebx, edx
mov dword [ebp - 0x68], ebx
je 0x4131a6
cmp dword [ebx + 0x10], 0
je 0x4131a6
cmp dword [edi + 0x14], 8
jb 0x413112
mov eax, dword [edi]
jmp 0x413114
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp dword [edi + 0x14], 8
lea edx, [eax + eax + 2]
jb 0x413129
mov ecx, dword [edi]
jmp 0x41312b
mov ecx, edi
cmp dword [ebx + 0x14], 8
jb 0x413135
mov eax, dword [ebx]
jmp 0x413137
mov eax, ebx
push edx
push ecx
xor ebx, ebx
inc ebx
push ebx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdq
test eax, eax
jne 0x413151
test edx, edx
je 0x4131b0
lea eax, [ebp - 0x64]
push str.Set_registry_value
push eax
call fcn.00410777
and dword [ebp - 4], 0
push str._with_key:
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00407796
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00407796
add esp, 0x1c
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00407796
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00407796
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.00407796
xor al, al
call fcn.0041d8b7
ret 4
mov al, bl
jmp 0x4131a8

Function at 0x4190d0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x419126
cmp dword [esi + 4], 0
jne 0x41912f
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x41912a
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x419126
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x41d3a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a1ac]
jne 0x41d3ae
repz ret
jmp fcn.0041d8d5

Function at 0x41d77c
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x440f90
call fcn.0041dab0
xor ebx, ebx
cmp dword [0x44be54], ebx
jne 0x41d55a
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x44be50
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x41d594
cmp eax, esi
jne 0x41d587
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41d597
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x41d56e
xor esi, esi
inc esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d5aa
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x41d5e5
mov eax, dword [0x44be4c]
test eax, eax
jne 0x41d5df
mov dword [0x44be4c], esi
push 0x43853c
push 0x43852c
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d5e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41d6bc
mov dword [0x44b9a8], esi
mov eax, dword [0x44be4c]
cmp eax, esi
jne 0x41d609
push 0x438528
push 0x4384d4
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x44be4c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x41d616
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x44be58], ebx
je 0x41d637
push 0x44be58
call fcn.00407796
pop ecx
test eax, eax
je 0x41d637
push ebx
push 2
push ebx
call dword [0x44be58]
mov eax, dword [0x44b990]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x44b990]
push dword [0x44b994]
push dword [0x44b98c]
call fcn.0040f1ce
add esp, 0xc
mov dword [0x44b9a4], eax
cmp dword [0x44b998], ebx
jne 0x41d6a2
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44b9a8], ebx
jne 0x41d6b0
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x44b9a4]
call fcn.0041daf5
ret
call fcn.00407796
jmp 0x41d539

Function at 0x41fce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x41fd0f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x41fcf0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x510024
Capabilities:
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3d7a2aa6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x247c07d3
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402850
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cb55
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e21c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x4028d2
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401ee0
mov esi, dword [eax]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
push esi
push eax
call fcn.0041c5b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4028d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x402936
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401ee0
push 0x49
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.0041c5b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402936
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 8
push esi
push 0x58dcf0
push 0x58dce0
push 2
push 0
push str.v4.0.30319
call ebx
test eax, eax
jns 0x4029c2
push esi
push 0x58dcf0
push 0x58dce0
push 2
push 0
push str.v2.0.50727
call ebx
mov ebx, eax
test ebx, ebx
jns 0x4029bc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.00401ee0
push 0x57
push dword [eax]
mov dword [ebp - 4], 2
push ebx
call fcn.0041c5b0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4029bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x402a21
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.00401ee0
push 0x64
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.0041c5b0
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402a21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cf40
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e21c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
call fcn.00420515
mov byte [ebp - 4], 0
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 3
call fcn.00420515
mov byte [ebp - 4], 2
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.00420515
mov byte [ebp - 4], 4
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 7
call fcn.00420515
mov byte [ebp - 4], 6
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 9
call fcn.00420515
mov byte [ebp - 4], 8
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.00420515
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40445a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402110
int3

Function at 0x4051f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x405219
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40522f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405226
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x405262
nop
cmp esi, ecx
jae 0x405226
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x405250
cmp esi, ecx
jae 0x405226
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret