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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x41dcc0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x41dd90
add esp, 0x1c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp eax, 1
je 0x41ddc0
cmp eax, 3
jne 0x41dcab
mov eax, dword [0x4310e8]
cmp eax, 0xffffffff
je 0x41dcab
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41dcab
lea esi, [eax + 0x1c]
lea edi, [eax + 0x38]
test byte [eax + 0x20], 0x30
je 0x41ddf0
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41dd09
call fcn.0041d9d0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41dd3b
mov dword [esp], eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebp
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x41dd2d
mov dword [esp], eax
call ebp
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [esp], esi
call fcn.0041cef0
mov dword [esp], edi
call fcn.00420e70
cmp eax, 1
je 0x41deb6
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x38], 0xffffffff
test eax, eax
je 0x41deaa
mov eax, dword [0x4310e8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41dcab
mov eax, dword [0x447e08]
test eax, eax
je 0x41dcab
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x447e08], 0
sub esp, 4
jmp 0x41dcab
mov dword [esp + 4], 0x41d0a0
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x447e08], eax
mov eax, 1
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41de60
test eax, eax
je 0x41de0a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41de27
call fcn.0041d9d0
test byte [ebx + 0x24], 4
je 0x41dea0
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41dd3b
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x14], 0
sub esp, 4
mov dword [esp], esi
call fcn.0041cef0
jmp 0x41dd43
test eax, eax
je 0x41dea0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x18], 0
sub esp, 4
mov dword [esp], esi
call fcn.0041cef0
mov dword [esp], edi
call fcn.00420e70
cmp eax, 1
je 0x41deb6
mov dword [ebx + 0x38], 0xffffffff
jmp 0x41dcab
mov dword [esp], esi
call fcn.0041cef0
jmp 0x41de7f
mov eax, ebx
call fcn.0041d5d0
jmp 0x41dd69
call fcn.0041d350
lea esi, [esi]
nop
Function at 0x41e190
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov eax, dword [0x447e44]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
test edi, edi
je 0x41e2d0
cmp eax, 1
je 0x41e1f5
mov eax, ebx
call fcn.0041d130
mov esi, eax
lea eax, [eax + 4]
mov dword [esp], eax
mov dword [esp + 0x1c], eax
call fcn.0041ca30
mov ebp, dword [ebx]
test ebp, ebp
je 0x41e210
cmp ebp, 1
jne 0x41e2a0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0041cd70
test esi, esi
je 0x41e1f5
mov eax, esi
call fcn.0041d420
xor eax, eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0x447e44]
jne 0x41e31a
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], 0x41d4e0
mov dword [esp + 0x24], esi
call fcn.0041d790
mov eax, dword [0x4310e8]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41e308
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
lock or dword [esp], 0
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41e2f0
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], ecx
lock or dword [esp], 0
call edi
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41e2e0
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x41e1de
mov dword [esp], 2
call dword [0x4310d0]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__d_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41e1de
mov eax, 0x16
jmp 0x41e1f7
call fcn.0041d850
test eax, eax
jne 0x41e286
jmp 0x430293
call fcn.0041d850
test eax, eax
jne 0x41e262
jmp 0x430288
call fcn.0041d850
test eax, eax
jne 0x41e23c
jmp 0x430281
call fcn.00422640
nop
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x20]
mov dword [0], eax
ud2
mov eax, dword [esp + 0x28]
mov dword [0], eax
ud2

Function at 0x41e560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41e5d8
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.00420e80
mov eax, dword [ebx + 0x28]
cmp dword [esp + 0x30], eax
jae 0x41e5b4
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x41e5b4
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.00420ed0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041d850
mov ebx, eax
jmp 0x41e58b
Function at 0x41e5f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41e710
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.00420e80
cmp esi, dword [ebx + 0x28]
jae 0x41e670
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.00420ed0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [esi + 1]
lea eax, [ebp*4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x41e71c
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x41e71c
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 4], 0
sub ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
jmp 0x41e638
call fcn.0041d850
mov ebx, eax
jmp 0x41e625
mov dword [esp], edi
call fcn.00420ed0
mov eax, 0xc
jmp 0x41e660

Function at 0x41e7a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e7c8
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.0041d850
test eax, eax
jne 0x41e7bd
add esp, 0x1c
ret

Function at 0x41e830
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e858
add eax, 0xc
add esp, 0x1c
ret
call fcn.0041d850
test eax, eax
jne 0x41e84d
jmp 0x41e850
Function at 0x41e890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.0041d9a0
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41e8b2
call fcn.0041d9d0
test byte [ebx + 0x20], 0x30
jne 0x41e8cc
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41e90d
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41e94d
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41e902
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x41e916
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.0041d770
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41e90d
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41e961
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x41e92e

Function at 0x41e970
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x447e34]
test eax, eax
jne 0x41e980
xor eax, eax
ret
sub esp, 0x1c
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41e9c0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x41e9b0
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x41e9a4
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x41e9a6
call fcn.0041d850
test eax, eax
jne 0x41e99d
jmp 0x41e9a4

Function at 0x41e9d0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41ea10
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41ea00
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.0041d850
test eax, eax
jne 0x41e9ed
add esp, 0x1c
ret
Function at 0x41eb10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41eb80
test byte [ebx + 0x20], 0xc
jne 0x41eb40
mov eax, dword [0x447e34]
test eax, eax
jne 0x41eb50
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.0041ca30
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x41eb72
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x41eb72
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x41eb91
mov dword [esp], esi
call fcn.0041cd70
add esp, 0x14
pop ebx
pop esi
ret
call fcn.0041d850
mov ebx, eax
test eax, eax
jne 0x41eb31
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41ebb1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.0041cd70
call fcn.0041ea20
nop
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41ec40
mov dword [esp], eax
call fcn.0041fea0
mov edi, eax
mov eax, 0xfffffffe
cmp eax, edi
mov eax, 0
sbb eax, edx
jb 0x41ec80
call fcn.0041d790
mov eax, dword [0x4310e8]
mov esi, edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41ece0
test edi, edi
je 0x41ec5a
call fcn.0041eb10
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41ecb8
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0041ffc0
call fcn.0041eb10
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.0041d790
mov eax, dword [0x4310e8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41ecd0
call fcn.0041eb10
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.0041eb10
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop edi
ret
call fcn.0041d790
mov eax, dword [0x4310e8]
mov esi, 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x41ec12
call fcn.0041d850
mov ebx, eax
jmp 0x41ec12
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x41ec2e
call fcn.0041d850
jmp 0x41ec5a
call fcn.0041d850
mov ebx, eax
jmp 0x41ec0e

Function at 0x422640
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov dword [esp + 8], 0x2c
mov dword [esp + 4], str._stack_smashing_detected_:_terminated_n
mov dword [esp], 2
call sub.msvcrt.dll__write
mov dword [esp], 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
sub esp, 4
test eax, eax
je 0x422679
mov ecx, 2
int 0x29
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 4], 0xc0000409
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push eax
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x423f80
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x88
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
movdqu xmm0, xmmword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugsrg_bugs__:_n]
movdqu xmm1, xmmword [0x432400]
movdqu xmm2, xmmword [0x432410]
sub esi, edi
movdqu xmm3, xmmword [0x432420]
movdqu xmm4, xmmword [0x432430]
lea eax, [esi + 0x84]
movups xmmword [ebp - 0x71], xmm1
movdqu xmm5, xmmword [0x432440]
movdqu xmm6, xmmword [0x432450]
and eax, 0xfffffff0
movups xmmword [ebp - 0x81], xmm0
movups xmmword [ebp - 0x31], xmm5
movups xmmword [ebp - 0x61], xmm2
movups xmmword [ebp - 0x51], xmm3
movups xmmword [ebp - 0x41], xmm4
movups xmmword [ebp - 0x28], xmm6
call fcn.0040bbc0
mov edx, dword [ebp - 0x1d]
sub esp, eax
mov eax, dword [ebp - 0x21]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
movups xmmword [ebx + 0x40], xmm4
movdqu xmm4, xmmword [ebp - 0x31]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x68]
mov dword [ebx + 0x64], edx
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm1
movups xmmword [ebx + 0x20], xmm2
movups xmmword [ebx + 0x30], xmm3
movups xmmword [ebx + 0x50], xmm4
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov byte [ebx + esi + 0x68], 0
mov dword [esp], ebx
call fcn.0042fa8c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x43115c], 0
jne 0x4240a6
mov byte [0x43115c], 1
call fcn.0042ef00
test eax, eax
je 0x424074
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.0040aab0
mov dword [esp], 2
mov esi, dword [fcn.0041c190]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x424064
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x43239d
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42f97c
jmp 0x42f974
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x42402a
mov dword [esp], 2
call dword [0x4310d0]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x42f96f
mov dword [esp], 2
call dword [0x4310d0]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x401000
Capabilities:
Power down monitor

Disassembly:
push 2
push 0xf170
push 0x112
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret

Function at 0x401820
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40185f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40185f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40185f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40185f
cmp dword [ecx + 0x74], 0xe
jbe 0x40185f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xc5ded0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x575000]
push edi
or ebp, 0xffffffff
jmp 0xc5def2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc5def9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc5dee8
mov eax, 1
add ebx, ebx
jne 0xc5df0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc5df1c
jne 0xc5df2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc5df2c
dec eax
add ebx, ebx
jne 0xc5df28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc5df00
xor ecx, ecx
sub eax, 3
jb 0xc5df44
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc5dfb6
sar eax, 1
mov ebp, eax
jmp 0xc5df4f
add ebx, ebx
jne 0xc5df4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xc5df5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xc5df80
inc ecx
add ebx, ebx
jne 0xc5df6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc5df61
jne 0xc5df7d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc5df61
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc5dfa0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc5df91
jmp 0xc5deee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc5dfa0
add edi, ecx
jmp 0xc5deee
pop esi
mov edi, esi
mov ecx, 0xd04
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc5dfbe
cmp byte [edi], 0xa
jne 0xc5dfbe
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0xc5dfc3
lea edi, [esi + 0x85b000]
mov eax, dword [edi]
or eax, eax
je 0xc5e03b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8736f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x873758]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc5dff0
mov ecx, edi
jns 0xc5e01f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x87375c]
or eax, eax
je 0xc5e035
mov dword [ebx], eax
add ebx, 4
jmp 0xc5e00d
call dword [esi + 0x873760]
popal
jmp 0x41b95b
Function at 0x4026fb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
call fcn.00402691
test eax, eax
je 0x402789
mov eax, dword [esi + 0x10]
xor ecx, ecx
push 8
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
pop ecx
xor ecx, ecx
cmp dword [esi + 0x10], ebx
mov edi, eax
mov dword [ebp - 8], ebx
jle 0x402767
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x1e4]
add eax, dword [ebp - 4]
cmp dword [eax + 0x50], ebx
je 0x402755
mov edx, dword [eax + 0x58]
mov dword [edi + ecx*8], edx
mov eax, dword [eax + 0x5c]
mov dword [edi + ecx*8 + 4], eax
inc ecx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 4], 0x98
cmp eax, dword [esi + 0x10]
jl 0x402739
cmp ecx, ebx
jle 0x40277b
push ecx
push edi
add esi, 0x1f0
push esi
call fcn.00409c99
mov ebx, eax
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, ebx
jmp 0x402851
lea eax, [esi + 0x1f0]
push eax
call fcn.00403e89
pop ecx
mov ecx, eax
cmp ecx, 0xffffffff
mov dword [esi + 0x2fc], ecx
je 0x40284f
mov eax, dword [esi + 0x2f8]
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
xor ebx, ebx
cmp eax, ebx
jle 0x4027ce
push ebx
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [esi + 0x1ec]
call fcn.00404eb8
push eax
push ecx
call edi
cmp dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
jle 0x402838
mov dword [ebp - 8], ebx
mov eax, dword [esi + 0x1e4]
add eax, dword [ebp - 8]
cmp dword [eax + 0x50], ebx
jne 0x402826
mov ecx, dword [eax + 0x44]
push ebx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x1ec]
sub edx, ecx
inc edx
push edx
call fcn.00404eb8
add eax, ecx
push eax
push dword [esi + 0x2fc]
call edi
lea eax, [esi + 0x1e8]
push eax
push dword [esi + 0x2fc]
call fcn.00403ea2
pop ecx
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 8], 0x98
cmp eax, dword [esi + 0x10]
jl 0x4027d9
push dword [esi + 0x2fc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov dword [esi + 0x2fc], ebx
inc eax
jmp 0x402851
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret