joyce8/EMBER2024-capa huggingface dataset:
Function at 0x968970
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x9c9230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x14c]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 0x1c], eax
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x9689c6
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
push edi
call fcn.00951d00
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x9689fc
push str.Error_accept__ing_server_connect
push edi
call fcn.0094b0b0
add esp, 8
pop esi
mov eax, 0x1e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server
push edi
call fcn.0094b040
push 1
push ebx
mov dword [esi + 0x2c0], 0
mov dword [esi + 0x14c], ebx
call fcn.0097d860
add esp, 0x10
mov dword [esi + 0x30c], 1
cmp dword [edi + 0x1d8], 0
je 0x968a7e
push 1
push edi
call fcn.00948be0
mov ecx, dword [edi + 0x1dc]
mov edx, dword [edi + 0x1d8]
push 1
push ebx
push ecx
call edx
push 0
push edi
mov ebx, eax
call fcn.00948be0
add esp, 0x1c
test ebx, ebx
je 0x968a7e
push edi
call fcn.009688d0
add esp, 4
pop esi
mov eax, 0x2a
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret
Function at 0x96c200
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx + 0xc]
cmp eax, 2
je 0x96c239
push str.Couldnt_set_desired_mode
push ebx
call fcn.0094b0b0
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x96c250
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push ebx
call fcn.0094b040
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x96c269
push edi
push ebx
call fcn.0096c180
add esp, 8
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x96c27a
call fcn.00969620
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x96c28d
mov eax, ebx
call fcn.0096c1e0
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x96c29b
mov eax, ebx
call fcn.0096c1f0
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x974340
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, eax
test ebx, ebx
je 0x974352
cmp dword [ebx], 0
jne 0x974364
test edi, edi
je 0x97435b
cmp dword [edi], 0
jne 0x974364
test esi, esi
je 0x9743c7
cmp dword [esi], 0
je 0x9743c7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00985d40
add esp, 0xc
test esi, esi
je 0x974381
cmp dword [esi], 0
jne 0x974383
xor esi, esi
test edi, edi
je 0x974390
cmp dword [edi], 0
je 0x974390
mov edx, edi
jmp 0x974392
xor edx, edx
test ebx, ebx
je 0x9743b1
cmp dword [ebx], 0
je 0x9743b1
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov ecx, ebx
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov eax, dword [ebp + 8]
push esi
push edx
xor ecx, ecx
push ecx
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.009742f0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x97c3a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.009567b0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
call fcn.0095bdb0
mov ecx, dword [ebp + 0xc]
push ecx
mov esi, eax
call fcn.0095bdb0
add esp, 0xc
push 1
push eax
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x97c458
jmp 0x97c3f0
lea edx, [ebp - 0x24]
push edx
call fcn.009567b0
mov edx, dword [ebp - 0xc]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00956850
add esp, 0x20
test edx, edx
ja 0x97c47e
jb 0x97c43f
cmp eax, 0x3e8
ja 0x97c47e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
push 1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x97c3f0
test esi, esi
je 0x97c465
push esi
call fcn.00929f25
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x97c475
push eax
call fcn.00929f25
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x97c48b
push esi
call fcn.00929f25
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x97c49b
push eax
call fcn.00929f25
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x980c10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x9c9230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
push edi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x108], ecx
xor ebx, ebx
xor esi, esi
call fcn.0095bdb0
add esp, 4
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x980c8a
push 0x100
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0097b400
push eax
mov eax, dword [ebp - 0x108]
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push eax
call fcn.0094b0b0
add esp, 0x1c
lea esi, [ebx + 0x4d]
jmp 0x980df3
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10c], eax
cmp eax, 0xffffffff
jne 0x980ce6
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0097b400
mov edx, dword [ebp - 0x108]
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push edx
call fcn.0094b0b0
add esp, 0x1c
mov esi, 0x4d
jmp 0x980df3
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x980d30
push 0x100
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0097b400
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov eax, dword [ebp - 0x108]
push eax
call fcn.0094b0b0
add esp, 0x1c
mov esi, 0x4d
jmp 0x980de6
mov edi, dword [ebp - 0x124]
cmp dword [ebp - 0x120], ebx
jl 0x980d68
jg 0x980d48
cmp edi, 0x100000
jbe 0x980d68
mov ecx, dword [ebp - 0x108]
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ecx
call fcn.0094b0b0
mov esi, 0x4d
jmp 0x980de3
lea edx, [edi + 1]
push edx
call dword [0x9ca33c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x980d80
lea esi, [eax + 0x1b]
jmp 0x980de6
test edi, edi
je 0x980dc1
push 0
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x10c]
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esi + ebx]
push edx
push eax
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x980e27
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x980e23
add esi, eax
cmp esi, edi
jb 0x980d84
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x11c]
push ecx
push ebx
push edx
mov edx, dword [ebp - 0x110]
mov ecx, edi
mov byte [edi + ebx], 0
call fcn.009809a0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x9ca340]
mov eax, dword [ebp - 0x118]
add esp, 4
test eax, eax
je 0x980e10
push eax
call fcn.00929f25
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret
mov edi, esi
jmp 0x980dc1
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0097b400
mov edx, dword [ebp - 0x110]
push eax
push edx
push str.schannel:_failed_to_read_from_CA_file__s:__s
jmp 0x980d17
Function at 0x9817e0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x9c9230]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x1c]
mov esi, 8
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x981871
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
lea esi, [ebp - 0xc]
mov eax, ebx
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
call fcn.00981750
mov ecx, esi
push 8
push ecx
call fcn.00986e70
mov ecx, dword [ebp - 0x1c]
add esp, 8
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x981882
mov edx, dword [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x24]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0092ebb0
mov esp, ebp
pop ebp
ret

Function at 0x983330
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x983363
push 0x2e
push esi
call fcn.0092ecc0
add esp, 8
test eax, eax
je 0x983361
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x986ec0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
push esi
mov dword [esi], 0
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x986ef9
mov eax, dword [esi]
push edi
push 0
push 0
push 0x8002
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
ret
Function at 0x988380
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x9ca33c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x9883ab
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x9883f2
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x9883f5
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x988456
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x988420
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x98848f
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push 0x9be38a
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x9be38b
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x988460
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x988560
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x988593
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40358c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x4035b8
mov ecx, dword [0x473e38]
push edi
add eax, ecx
push edi
push eax
push dword [0x40c014]
mov dword [0x430204], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.0040340e
cmp eax, edi
jl 0x4036b1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x40c014]
call ebx
test eax, eax
je 0x4036ad
cmp dword [ebp - 4], esi
jne 0x4036ad
push dword [ebp + 8]
add dword [0x430204], esi
call fcn.0040340e
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x4036b0
cmp dword [ebp + 0x10], edi
jne 0x40367c
cmp dword [ebp + 8], edi
jle 0x4036a8
mov esi, 0x430208
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x40362c
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x40c014]
call ebx
test eax, eax
je 0x4036ad
cmp edi, dword [ebp - 4]
jne 0x4036ad
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403678
cmp dword [ebp + 0x14], edi
jne 0x403678
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x430204], eax
cmp dword [ebp + 8], 0
jg 0x40361f
jmp 0x4036a8
push 0xfffffffffffffffe
jmp 0x4036af
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403687
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40c014]
call ebx
test eax, eax
je 0x4036ad
mov eax, dword [ebp - 4]
add dword [0x430204], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4036b0
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10

Function at 0x405130
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40516b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x405152
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x405163
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40516d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x405148
xor eax, eax
pop edi
pop esi
ret

Function at 0x40600a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004050ce
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
invalid
invalid

Function at 0x406546
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004050f0
inc ebp
mov fs, word [edi + 0x18]
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
invalid
invalid
Function at 0x40772f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x462154], 0
jne 0x40776d
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407743
mov dword [ecx*4 + 0x462150], eax
inc ecx
cmp ecx, 0x100
jl 0x40773e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40779a
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x462150]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40777b
not eax
pop ebp
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x1001e91d
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001e9b1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1001e951
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1001e9af
mov dword [ebp - 0x18], 0xe7e55059
mov dword [ebp - 0x1c], 0xabe8f210
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 0x24], 0xb0e1b1b5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 9
mov dword [ebp - 0xc], 0
jmp 0x1001e993
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1001e9a6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0
jmp 0x1001e98c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x1001e946
jmp 0x1001e9c3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001e9c3
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x1002e5ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 0x7053
push 1
push 0x2ad7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0x4c66
call fcn.1002c299
add esp, 0x18
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002e5eb
xor eax, eax
jmp 0x1002e72b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002e609
xor eax, eax
jmp 0x1002e72b
push 0x7fc3
push 0x7b9e
push 0x183a
push 0x4913
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.1002c30b
add esp, 0x1c
cmp dword [ebp - 0xc], 0
jne 0x1002e63c
xor eax, eax
jmp 0x1002e72b
push 0x2658
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x89c
push 0xac7
push 1
call fcn.1002c39a
add esp, 0x24
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x5293
push 0x5355
push 1
lea eax, [ebp + 8]
push eax
push 0x4e33
call fcn.1002c558
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002e6b3
push 1
push 0x60fa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002e4d1
add esp, 0x10
push dword [ebp - 4]
call fcn.1002afbc
pop ecx
test eax, eax
jne 0x1002e6c4
xor eax, eax
jmp 0x1002e72b
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002e551
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002e713
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002e6f0
xor eax, eax
jmp 0x1002e72b
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002e709
xor eax, eax
jmp 0x1002e72b
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002e724
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002e728
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10042fa9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042fe6
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x10042ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esp, ebp
pop ebp
ret

Function at 0x10043b25
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10043b5c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x10043b6e
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10043b6e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov esp, ebp
pop ebp
ret