joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432300
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.0045a200
mov eax, dword [0x480160]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
push esi
xor esi, esi
dec ebx
cmp ebx, 0x29
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
jl 0x4324d8
mov ebp, ebx
sub ebp, dword [esp + 0x5c]
jns 0x432353
mov dword [esp + 0x14], 1
xor ebp, ebp
push 0x7a
sub edi, ebp
lea edx, [edi + 0x14]
add ebx, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x1c], edx
call fcn.00423600
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43238f
push 0x7d
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.00422060
add esp, 0x14
jmp 0x4324fd
call fcn.0043f370
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x2c]
push 0x14
push ecx
call fcn.00431fa0
add esp, 0x14
cmp ebp, 0x14
mov eax, ebp
jge 0x4323be
mov dl, byte [edi + eax]
xor byte [esp + eax + 0x20], dl
inc eax
cmp eax, 0x14
jl 0x4323b1
call fcn.0043f370
push eax
push 0x14
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.00431fa0
add esp, 0x14
test ebx, ebx
jle 0x4323ee
mov edi, dword [esp + 0x10]
mov eax, esi
sub edi, esi
mov ebp, ebx
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
sub ebp, 1
jne 0x4323e3
push 0
call fcn.0043f370
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x70]
push 0
lea edx, [esp + 0x40]
push edx
push eax
push ecx
call fcn.0043f280
lea eax, [esp + 0x4c]
mov edx, esi
mov edi, eax
add esp, 0x18
mov ecx, 0x14
sub edx, edi
mov edi, edi
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x4324d8
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x432420
cmp dword [esp + 0x14], 0
jne 0x4324d8
mov eax, 0x14
cmp ebx, eax
jle 0x43245b
lea ebx, [ebx]
cmp byte [eax + esi], 0
jne 0x43245b
inc eax
cmp eax, ebx
jl 0x432450
cmp byte [eax + esi], 1
jne 0x4324d8
mov edx, eax
inc eax
cmp edx, ebx
jge 0x4324d8
sub ebx, eax
cmp dword [esp + 0x54], ebx
jge 0x4324a9
push 0x9b
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.00422060
add esp, 0x14
push esi
or ebx, 0xffffffff
call fcn.004237b0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00459ce1
add esp, 0x3c
ret
add eax, esi
push ebx
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call fcn.004237b0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00459ce1
add esp, 0x3c
ret
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.00422060
add esp, 0x14
test esi, esi
je 0x4324fd
push esi
call fcn.004237b0
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.00459ce1
add esp, 0x3c
ret
Function at 0x4328a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x43296c
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4328c1
cmp al, 0x6b
jne 0x43296c
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x43292d
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x4328e1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x4328e1
cmp al, 0xbb
jne 0x43290a
inc ecx
cmp ecx, esi
jl 0x4328d1
sub esi, ecx
test ecx, ecx
jne 0x432930
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00422060
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00422060
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x432959
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00422060
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00422060
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x443470
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x443489
mov edi, ebx
mov ebx, eax
jmp 0x44348b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x4434a1
push eax
push esi
call fcn.0041dcb0
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x4434bd
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x4434a8
cmp eax, dword [edi + 4]
jge 0x4434d2
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4434c2
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x4434f6
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x4434f6
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x4434e5
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x457e20
Capabilities:
Query environment variable

Disassembly:
mov eax, 0xc
call fcn.0045a200
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x457e3a
xor eax, eax
pop edi
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x457ede
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x457eaa
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
call fcn.00430170
add esp, 8
test eax, eax
jne 0x457ecb
mov ecx, 0x46d870
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x457e94
test dl, dl
je 0x457e90
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x457e94
add eax, 2
add ecx, 2
test dl, dl
jne 0x457e74
xor eax, eax
jmp 0x457e99
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x457eaa
push edi
call sub.MSVCR100.dll_getenv
add esp, 4
test eax, eax
jne 0x457ece
mov eax, dword [ebx + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x14], str.default
mov dword [esp + 0x18], edi
call fcn.00430170
add esp, 8
test eax, eax
je 0x457ed5
mov eax, dword [eax + 8]
pop esi
pop ebx
pop edi
add esp, 0xc
ret
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0xc
ret
push edi
call sub.MSVCR100.dll_getenv
add esp, 4
pop ebx
pop edi
add esp, 0xc
ret

Function at 0x459ce1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480160]
jne 0x459ceb
repz ret
jmp fcn.0045a56e

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407ef0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x407f26
mov dword [esp + 4], sym.get_globals_dtor_void_
mov dword [esp], eax
mov dword [0x43b840], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [0x434070], eax
mov esp, ebp
pop ebp
ret
call fcn.00410f60
jmp 0x407f15

Function at 0x40b890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov esp, ebp
pop ebp
ret

Function at 0x40b8c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fwrite
mov esp, ebp
pop ebp
ret

Function at 0x40d030
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ebx, dword [0x43bab0]
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40d071
mov dword [ebx + 0x28], eax
mov dword [esp + 4], sym._fc_key_dtor
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sym.___mingwthr_key_dtor
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call fcn.00410f60
jmp 0x40d05f
Function at 0x40d3c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x43bab0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d542
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40d533
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d50a
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40d500
xor ecx, ecx
mov eax, 5
cmp eax, 5
mov edx, 5
je 0x40d46b
test eax, eax
mov edx, 3
jne 0x40d46b
test ecx, ecx
jne 0x40d433
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
jmp 0x40d400
mov dword [esp + 0x10], edi
lea ebx, [ebp - 0x14]
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], 1
call ecx
cmp eax, 6
je 0x40d475
cmp eax, 8
mov edx, 3
je 0x40d42c
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
mov edx, eax
jne 0x40d46b
mov eax, dword [0x43bab0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d4f2
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40d4e6
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40d4c9
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ebp, dword [eax + 0x20]
mov ecx, dword [edx + 4]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x40d4b8
call fcn.00410f60
jmp 0x40d4b8
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d4ae
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d4a7
mov ecx, dword [eax + 0x18]
xor eax, eax
jmp 0x40d415
mov ebx, dword [eax + 0x28]
call fcn.00410f60
mov esi, eax
mov dword [esp], ebx
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetLastError
sub esp, 4
mov eax, ebx
jmp 0x40d3f2
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d3e4
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d3d9
Function at 0x40d660
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x43bab0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d760
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40d750
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d723
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
je 0x40d6c0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x43bab0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d717
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40d70b
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40d6ee
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ebp, dword [eax + 0x20]
mov ecx, dword [edx + 4]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x40d6dd
call fcn.00410f60
jmp 0x40d6dd
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d6d3
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d6cc
mov ebx, dword [eax + 0x28]
call fcn.00410f60
mov esi, eax
mov dword [esp], ebx
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetLastError
sub esp, 4
mov eax, ebx
jmp 0x40d692
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d684
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d679
Function at 0x40d770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x43bab0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d890
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40d880
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d854
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40d840
mov dword [esp], edi
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40d89f
mov eax, dword [0x43bab0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d830
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40d820
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40d800
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ebp, dword [eax + 0x20]
mov ecx, dword [edx + 4]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x40d7e8
call fcn.00410f60
jmp 0x40d7e8
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d7de
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d7d7
mov dword [esp], edi
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
call sym.__Unwind_ForcedUnwind_Phase2
jmp 0x40d7c2
mov ebx, dword [eax + 0x28]
call fcn.00410f60
mov esi, eax
mov dword [esp], ebx
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetLastError
sub esp, 4
mov eax, ebx
jmp 0x40d7a2
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d794
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d789
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40d8b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x40d9c7
mov eax, dword [0x43bab0]
test eax, eax
je 0x40d9b8
mov ecx, dword [eax + 0x2c]
test ecx, ecx
js 0x40d9a9
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x40d980
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40d9dc
mov eax, dword [0x43bab0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d970
mov edi, dword [eax + 0x2c]
test edi, edi
js 0x40d95d
mov esi, dword [eax + 0x2c]
test esi, esi
jne 0x40d940
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ebp, dword [eax + 0x20]
mov ecx, dword [edx + 4]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_TlsSetValue
sub esp, 8
test eax, eax
jne 0x40d92e
call fcn.00410f60
jmp 0x40d92e
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d924
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d91d
mov ebx, dword [eax + 0x28]
call fcn.00410f60
mov esi, eax
mov dword [esp], ebx
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetLastError
sub esp, 4
mov eax, ebx
jmp 0x40d8f3
call sym._fc_key_init_once
mov eax, dword [0x43bab0]
jmp 0x40d8e5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x43bab0]
jmp 0x40d8da
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym._abort
jmp sym.__Unwind_DeleteException

Function at 0x40de20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
mov edx, eax
je 0x40de50
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
mov esp, ebp
pop ebp
ret
call fcn.00410f60
jmp 0x40de46
Function at 0x411140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x42eb70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x18]
sub esp, 0x78
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], sym.___gxx_personality_sj0
mov dword [ebp - 0x38], 0x4337d8
mov dword [ebp - 0x30], 0x42ed0a
mov dword [ebp - 0x2c], esp
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov edx, dword [0x4340e4]
test edx, edx
je 0x42ece2
cmp dword [ebp + 8], 0x80
ja 0x42ebc8
mov eax, dword [0x4340e4]
test eax, eax
jle 0x42ebf8
mov dword [ebp - 0x50], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call sym.operator_new_unsigned_int_
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 7
mov dword [ebp - 0x5c], eax
shr eax, 3
lea eax, [eax*4 - 4]
mov dword [ebp - 0x60], eax
mov eax, dword [0x4340f0]
test eax, eax
je 0x42ecca
mov eax, dword [0x43b890]
test eax, eax
jne 0x42ecb2
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x43ba60]
test edx, edx
je 0x42ec97
mov eax, dword [edx]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x43ba60], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42ec89
mov eax, dword [0x4340f0]
test eax, eax
je 0x42ec74
mov eax, dword [0x43b890]
test eax, eax
je 0x42ebdd
mov dword [esp], 0x4340fc
mov dword [ebp - 0x50], 0xffffffff
call sym.___gthr_win32_mutex_unlock
jmp 0x42ebdd
mov dword [esp], 0x4340f0
mov dword [ebp - 0x50], 0xffffffff
call method.std::_STL_mutex_lock._M_initialize__
jmp 0x42ec53
mov dword [ebp - 0x50], 1
call method.std.__throw_bad_alloc__
jmp 0x42ec4a
and dword [ebp - 0x5c], 0xfffffff8
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call method.std::__default_alloc_template_true__0_._S_refill_unsigned_int_
mov dword [ebp - 0x58], eax
jmp 0x42ec43
mov dword [esp], 0x4340fc
mov dword [ebp - 0x50], 0xffffffff
call sym.___gthr_win32_mutex_lock
jmp 0x42ec28
mov dword [esp], 0x4340f0
mov dword [ebp - 0x50], 0xffffffff
call method.std::_STL_mutex_lock._M_initialize__
jmp 0x42ec1b
mov dword [esp], 0x407c50
call sym._getenv
test eax, eax
je 0x42ed03
mov eax, 1
lock add dword [0x4340e4], eax
jmp 0x42ebb6
mov eax, 0xffffffff
jmp 0x42ecf7
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1002ec75
Capabilities:
Print debug messages

Disassembly:
jmp 0x10082985
push esi
mov esi, ecx
call fcn.1002ee41
mov eax, 0x10000000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x100942d0
call fcn.1002dc17
test eax, eax
jns 0x100829d4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100829cd
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1009bfe0], 1
mov eax, esi
pop esi
ret
Function at 0x1000ccd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ccfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000ccfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402bc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp], 0
mov dword [esp + 4], 0x5a
test eax, eax
jne 0x402bde
add esp, 0xc
ret
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x402d70
mov esi, dword [esp + 0x20]
test esi, esi
je 0x402d70
push ebp
push 0x6a6708
push eax
call fcn.005ec2cc
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x402c1b
lea eax, [ebp + 0x5a]
pop ebp
pop edi
pop esi
add esp, 0xc
ret
push 2
push 0
push ebp
call fcn.005ec0f7
add esp, 0xc
test eax, eax
jne 0x402d42
push ebx
push ebp
call fcn.005f4d99
push 0
push 0
push ebp
mov ebx, eax
call fcn.005ec0f7
add esp, 0x10
test eax, eax
jne 0x402d41
cmp ebx, 0x100000
ja 0x402d41
mov eax, ebx
cdq
push edx
push eax
call sym.Setup.exe_libssh2_session_abstract
mov ebx, eax
add esp, 8
cmp esi, ebx
ja 0x402d41
lea eax, [ebx + 1]
push eax
call dword [0x6be33c]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x402d3d
mov ecx, dword [esp + 0x20]
push ecx
push 1
push ebx
push ebp
call fcn.005f6105
add esp, 0x10
cmp eax, 1
jne 0x402d33
cmp esi, ebx
jne 0x402cc6
mov eax, esi
mov ecx, ebp
cmp esi, 4
jb 0x402d07
nop
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x402d33
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x402cb0
jmp 0x402d07
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
mov byte [ebx + ebp], 0
push edx
mov ebx, ebp
call fcn.00402af0
add esp, 8
test eax, eax
jne 0x402d33
cmp esi, dword [esp + 0x18]
jne 0x402d33
mov ecx, dword [esp + 0x10]
mov eax, esi
cmp esi, 4
jb 0x402d07
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x402d33
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x402cf3
test eax, eax
je 0x402d2b
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x402d33
cmp eax, 1
jbe 0x402d2b
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x402d33
cmp eax, 2
jbe 0x402d2b
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x402d33
mov dword [esp + 0x14], 0
push ebp
call dword [0x6be340]
add esp, 4
mov ebp, dword [esp + 0x20]
pop ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402d5c
push eax
call dword [0x6be340]
add esp, 4
mov dword [esp + 0xc], 0
push ebp
call fcn.005e7e28
mov eax, dword [esp + 0x14]
add esp, 4
pop ebp
pop edi
pop esi
add esp, 0xc
ret
pop edi
mov eax, 0x5a
pop esi
add esp, 0xc
ret