joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027da
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push 0
push 0x400000
call fcn.004015ac
mov dword [0x414040], eax
cmp dword [0x414014], 0
jne 0x403e75
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll_exit]
push esi
mov esi, ecx
call dword [sym.imp.ole32.dll_CoReleaseServerProcess]
test eax, eax
jne 0x401692
mov dword [esi + 4], 1
pop esi
ret
call 0x4a5000
push 0x14
push 0x402908
call fcn.00402010
and dword [ebp - 0x20], 0
call sub.MSVCR110_CLR0400.dll___crtGetShowWindowMode
movzx ebx, ax
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
xor edi, edi
mov esi, 0x414148
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x403dd8
xor esi, esi
inc esi
cmp dword [0x41414c], esi
je 0x403dea
cmp dword [0x41414c], 0
jne 0x402931
mov dword [0x41414c], esi
push 0x402904
push 0x4028f0
call sub.MSVCR110_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x403df7
cmp dword [0x41414c], esi
jne 0x402879
push 0x4028ec
push 0x4028cc
call sub.MSVCR110_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x41414c], 2
test edi, edi
jne 0x402886
xor eax, eax
mov ecx, 0x414148
xchg dword [ecx], eax
cmp dword [0x414158], 0
jne 0x403e08
mov eax, dword [sym.imp.MSVCR110_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402924
cmp cl, 0x22
je 0x403e2c
movzx eax, cl
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x403e3d
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028a0
test cl, cl
je 0x40293c
test edi, edi
je 0x40293c
jmp 0x4028a7
mov dword [0x414268], esi
jmp 0x402856
mov al, byte [esi]
test al, al
je 0x401657
cmp al, 0x20
ja 0x401657
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40293c
cmp eax, edx
jne 0x40280b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40281e
push 0x1f
call sub.MSVCR110_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402856
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403e90
push 0x414158
call fcn.0040f0a8
pop ecx
test eax, eax
je 0x402893
push 0
push 2
push 0
call dword [0x414158]
jmp 0x402893
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
jmp 0x4028b0
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028c3
cmp dword [0x414268], 0
jne 0x403e89
call dword [sym.imp.MSVCR110_CLR0400.dll__cexit]
mov eax, dword [0x414040]
mov dword [ebp - 4], 0xfffffffe
call fcn.004017d6
ret
Function at 0x405980
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
call dword [sym.imp.MSVCRT.dll_rand]
test al, 3
jne 0x405a00
mov eax, dword [esp + 8]
push 0x40870c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x405a00
push ebx
push esi
push edi
mov ecx, 0x40d
mov esi, 0x408820
mov edi, 0x42e058
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x54321cba
mov bl, byte [eax + 0x42e058]
mov edx, ecx
sar edx, 0x17
xor bl, dl
add ecx, 0x1234567f
mov byte [eax + 0x42e058], bl
inc eax
cmp eax, 0x1034
jb 0x4059bf
push ebp
push 0x1034
push 1
push 0x42e058
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x53cd66e9
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x73c51c97
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7fe83efb
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x23057c9a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4206ef
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x4214bb
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea edi, [ecx + 4]
mov dword [ebp - 0xc], ecx
mov dword [ecx], 0x436120
xor edx, edx
xor eax, eax
mov ecx, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4214d6
mov byte [edi + 0x100], dl
mov byte [edi + 0x101], dl
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 8], pe_nt_image_headers32
mov al, byte [ecx]
movzx esi, dl
mov edx, dword [ebp + 8]
mov byte [ebp - 1], al
movzx eax, al
movzx edx, byte [esi + edx]
add ebx, edx
add eax, ebx
mov ebx, pe_nt_image_headers32
cdq
idiv ebx
movzx ebx, dl
mov al, byte [ebx + edi]
mov byte [ecx], al
mov al, byte [ebp - 1]
mov byte [ebx + edi], al
lea eax, [esi + 1]
cdq
idiv dword [ebp + 0xc]
inc ecx
dec dword [ebp - 8]
jne 0x4214f7
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42155d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov al, byte [ecx + 0x104]
mov dl, byte [ecx + 0x105]
jbe 0x421601
push ebx
push esi
push edi
movzx edi, al
movzx ebx, dl
jmp 0x42158b
mov ebx, dword [ebp - 0xc]
lea eax, [edi + 1]
mov esi, pe_nt_image_headers32
cdq
idiv esi
movzx edi, dl
mov al, byte [edi + ecx + 4]
mov byte [ebp - 2], dl
lea esi, [edi + ecx + 4]
mov byte [ebp - 1], al
movzx eax, al
add eax, ebx
mov ebx, pe_nt_image_headers32
cdq
idiv ebx
mov ebx, dword [ebp - 8]
movzx eax, dl
mov dword [ebp - 0xc], eax
mov byte [ebp - 3], dl
mov dl, byte [eax + ecx + 4]
lea eax, [eax + ecx + 4]
mov byte [esi], dl
mov dl, byte [ebp - 1]
mov byte [eax], dl
mov eax, dword [ebp + 8]
add ebx, eax
movzx eax, byte [esi]
movzx edx, dl
add eax, edx
mov esi, pe_nt_image_headers32
cdq
idiv esi
movzx eax, dl
mov al, byte [eax + ecx + 4]
xor byte [ebx], al
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jb 0x421588
mov al, byte [ebp - 2]
mov dl, byte [ebp - 3]
pop edi
pop esi
pop ebx
push 1
mov byte [ecx + 0x104], al
mov byte [ecx + 0x105], dl
pop eax
leave
ret 8
Function at 0x422297
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x434c17
call fcn.00433ea0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00423435
xor edi, edi
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi], 0x436130
mov dword [esi + 0x30], ebx
call fcn.0042a3fa
push edi
mov dword [esi + 4], eax
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0042a421
push 8
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x24], eax
mov ecx, dword [0x43c41c]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov dword [eax + 4], esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2cd12471
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7c342d5a
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4052d0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x433180]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0xd
mov dword [esp + 0xc], esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x405332
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x42e1f8
mov dword [esi + 0x14], 0
call fcn.00405a30
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040edbe
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
xorps xmm0, xmm0
test edx, edx
je 0x4052fe
mov ecx, edx
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [ecx + 2]
mov dword [esp + 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405360
sub ecx, dword [esp + 8]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00405a30
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, esi
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x14], 0
pop edi
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x1c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0040edbe
mov esp, ebp
pop ebp
ret 4
Function at 0x405bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425b13
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x433180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bx, cx
mov word [ebp - 0x14], bx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x4364cc]
cmp eax, dword [edx + 4]
jle 0x405d9d
push 0x4364cc
call fcn.0040ee4d
add esp, 4
cmp dword [0x4364cc], 0xffffffff
jne 0x405d9d
mov dword [ebp - 4], 0
lea esi, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0x90020
movlpd qword [0x436148], xmm0
lea edi, [ebp - 0x18]
push 0x10
mov dword [ebp - 0x54], 0xd000a
mov dword [ebp - 0x50], 0x7c002f
mov dword [ebp - 0x4c], 0x3b003d
mov dword [ebp - 0x48], 0x2e002c
mov dword [ebp - 0x44], 0x2d005f
mov dword [ebp - 0x40], 0x3f0021
mov dword [ebp - 0x3c], 0x400024
mov dword [ebp - 0x38], 0x250023
mov dword [ebp - 0x34], 0x26005e
mov dword [ebp - 0x30], 0x28002a
mov dword [ebp - 0x2c], 0x7b0029
mov dword [ebp - 0x28], 0x5b007d
mov dword [ebp - 0x24], 0x5c005d
mov dword [ebp - 0x20], 0x22003a
mov dword [ebp - 0x1c], 0x7e0027
mov dword [0x436148], 0
mov dword [0x43614c], 0
call fcn.0040eeb1
mov ebx, eax
add esp, 4
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
mov dword [ebx + 8], ebx
mov word [ebx + 0xc], 0x101
mov dword [0x436148], ebx
mov byte [ebp - 4], 1
cmp esi, edi
je 0x405d7f
nop dword [eax]
push esi
push ebx
lea eax, [ebp - 0x78]
push eax
call fcn.0040a780
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], eax
test al, al
jne 0x405d74
cmp dword [0x43614c], 0xfffffff
je 0x405ddb
mov edi, dword [0x436148]
mov dword [ebp - 0x6c], 0x436148
mov byte [ebp - 4], 2
push 0x10
mov dword [ebp - 0x68], 0
call fcn.0040eeb1
mov byte [ebp - 4], 1
add esp, 4
mov cx, word [esi]
mov dword [ebp - 0x68], 0
mov word [eax + 0xe], cx
mov ecx, 0x436148
push eax
push dword [ebp - 0x60]
mov dword [eax], edi
push dword [ebp - 0x64]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.0040a1b0
lea edi, [ebp - 0x18]
add esi, 2
cmp esi, edi
jne 0x405cf0
push 0x426800
call fcn.0040f232
add esp, 4
push 0x4364cc
call fcn.0040edfc
mov bx, word [ebp - 0x14]
add esp, 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00408720
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x405dbd
cmp bx, word [eax + 0xe]
jb 0x405dbd
mov al, 1
jmp 0x405dbf
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040edbe
mov esp, ebp
pop ebp
ret
call fcn.004052c0
int3
Function at 0x4069f0
Capabilities:
Monitor clipboard content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x433180]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
push str.UniqueInstanceMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x406bfe
cmp eax, 0xb7
jne 0x406a51
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0040edbe
mov esp, ebp
pop ebp
ret 0x10
call fcn.004062b0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push 0
push 0x42e1f8
lea ecx, [esp + 0x38]
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00405a30
movups xmm0, xmmword [str.ClipboardWatcher]
mov ax, word [0x42e754]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movups xmmword [esp + 0x80], xmm0
push 0
movups xmm0, xmmword [0x42e744]
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 0
movups xmmword [esp + 0x94], xmm0
mov dword [esp + 0x54], 0
xorps xmm0, xmm0
mov byte [esp + 0x58], 0
mov word [esp + 0xa4], ax
mov dword [esp + 0xc], 0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x10], 0x406cb0
call esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x406bf5
push 0
push 0
call esi
push eax
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push str.Clipboard_Watcher
lea eax, [esp + 0xa8]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x406bf5
push eax
call dword [sym.imp.USER32.dll_AddClipboardFormatListener]
test eax, eax
je 0x406bf5
lea ecx, [esp + 0x30]
call fcn.00406170
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x60]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
push 0
push eax
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
call esi
test eax, eax
je 0x406bc8
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x60]
push eax
call edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
jne 0x406ba5
mov al, 1
lea ecx, [esp + 0x4c]
xchg byte [ecx], al
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x406bf5
mov al, byte [esp + 0x54]
test al, al
je 0x406bf0
cmp byte [ecx + 0x6c], 0
jne 0x406bf5
test al, al
je 0x406bf0
cmp byte [ecx + 0x6c], 0
jne 0x406c16
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x30]
call fcn.00406c30
mov ecx, dword [esp + 0xbc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0040edbe
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 4
call fcn.00405120
int3
Function at 0x40c3e1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x40c408
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x40c40b
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0040c3bd
pop esi
leave
ret 8

Function at 0x40daba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40dadb
jl 0x40dad2
test edi, edi
jne 0x40dadb
xor eax, eax
xor edx, edx
jmp 0x40db9c
cmp dword [ebx + 0x38], 0
je 0x40daf0
push eax
push edi
push dword [ebp + 8]
call fcn.0040dba2
jmp 0x40db9c
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40db37
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40db37
cmp eax, edi
jb 0x40db11
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00410830
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40db3d
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40db91
mov ecx, ebx
call fcn.0040d353
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40db7c
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00414d02
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40db91
jmp 0x40db4f
test edx, edx
je 0x40db91
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00414d02
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40fddc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40fe1b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40fe1b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40fe1b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40fe1b
cmp dword [ecx + 0x74], 0xe
jbe 0x40fe1b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41a2fc
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42a4f0
push 0x42a4e8
push str.FlsAlloc
push 0x1f
call fcn.0041a1c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a330
push dword [ebp + 8]
mov ecx, esi
call dword [0x4271dc]
call esi
jmp 0x41a336
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x41a37a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42a500
push 0x42a4f8
push str.FlsGetValue
push 0x21
call fcn.0041a1c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a3b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x4271dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41a3b9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42a508
push 0x42a500
push str.FlsSetValue
push 0x22
call fcn.0041a1c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a3f3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4271dc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41c382
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040fff0
mov eax, dword [0x433180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041afc9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c3c4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c520
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00424fc0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x435e10]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041d37f
mov ecx, dword [esi*4 + 0x435e10]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x41c519
cmp eax, dword [ecx + edi + 0x24]
jne 0x41c519
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c519
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d37f
add esp, 0x14
test edx, edx
jl 0x41c519
jg 0x41c48f
test eax, eax
jb 0x41c519
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c519
jl 0x41c4a9
cmp dword [ebp - 0x1008], eax
ja 0x41c519
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c4c7
test ebx, ebx
je 0x41c500
cmp ecx, edi
jae 0x41c500
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c4e1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c4ed
cmp byte [ecx + 1], 0xa
jne 0x41c4ed
inc ecx
jmp 0x41c4ed
movzx eax, al
movsx eax, byte [eax + 0x433450]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c4c7
cmp edx, ebx
jne 0x41c4c7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c51e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040edbe
leave
ret