joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019a0f0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1019a117
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10178c90
add esp, 4
or eax, 0xffffffff
jmp 0x1019a119
xor eax, eax
pop ebp
ret
Function at 0x101a5f80
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.1015c580
lea ecx, [ebp - 4]
call fcn.101a5f50
movzx eax, al
test eax, eax
jne 0x101a5fbd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x18]
jmp 0x101a60e5
lea ecx, [ebp - 4]
call fcn.1015c650
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.101a5f10
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.1015c650
push eax
push 0
push 0
call fcn.101a0000
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x101a6023
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x20]
jmp 0x101a60e5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.101747d0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.10042800
lea ecx, [ebp - 8]
call fcn.10154da0
movzx edx, al
test edx, edx
jne 0x101a606c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.10154d80
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x24]
jmp 0x101a60e5
lea ecx, [ebp - 8]
call fcn.10041f50
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.1015c650
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.101a0000
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x101a60c7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.10154d80
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x34]
jmp 0x101a60e5
lea ecx, [ebp - 8]
call fcn.101717d0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.10154d80
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x101a60f0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.1015c580
lea ecx, [ebp - 4]
call fcn.101a5e90
movzx eax, al
test eax, eax
jne 0x101a612d
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x14]
jmp 0x101a61e7
lea ecx, [ebp - 4]
call fcn.1015c650
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.101a5f10
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.101747d0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.1015c580
lea ecx, [ebp - 8]
call fcn.1017ba80
movzx ecx, al
test ecx, ecx
jne 0x101a619d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.101717b0
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x1c]
jmp 0x101a61e7
lea ecx, [ebp - 4]
call fcn.1015c650
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.1015c650
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10157720
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.101717d0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.101717b0
lea ecx, [ebp - 4]
call fcn.101a5e70
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x101aedd0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
lea ecx, [ebp - 0x70]
call fcn.1017abc0
lea ecx, [ebp - 0x58]
call fcn.1017abc0
lea ecx, [ebp - 0x40]
call fcn.1017abc0
call fcn.1017ac90
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1017ab90
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101aee36
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x40]
call fcn.1017ac10
lea ecx, [ebp - 0x58]
call fcn.1017ac10
lea ecx, [ebp - 0x70]
call fcn.1017ac10
mov eax, dword [ebp - 0xc]
jmp 0x101aef39
call fcn.1017ac90
push eax
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1017ab90
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101aee7c
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
call fcn.1017ac10
lea ecx, [ebp - 0x58]
call fcn.1017ac10
lea ecx, [ebp - 0x70]
call fcn.1017ac10
mov eax, dword [ebp - 0x14]
jmp 0x101aef39
mov dword [ebp - 4], 0
cmp dword [ebp + 0x24], 0
je 0x101aeed7
call fcn.1017ac90
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0x24]
push edx
call fcn.1017ab90
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x101aeecc
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.1017ac10
lea ecx, [ebp - 0x58]
call fcn.1017ac10
lea ecx, [ebp - 0x70]
call fcn.1017ac10
mov eax, dword [ebp - 0x1c]
jmp 0x101aef39
lea ecx, [ebp - 0x40]
call fcn.1017ae40
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
call fcn.1017ae40
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x70]
call fcn.1017ae40
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
call fcn.1017ac10
lea ecx, [ebp - 0x58]
call fcn.1017ac10
lea ecx, [ebp - 0x70]
call fcn.1017ac10
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x101b15e0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.1017abc0
lea ecx, [ebp - 0x34]
call fcn.1017abc0
call fcn.1017ac90
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1017ab90
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101b1633
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.1017ac10
lea ecx, [ebp - 0x4c]
call fcn.1017ac10
mov eax, dword [ebp - 8]
jmp 0x101b16a8
call fcn.1017ac90
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1017ab90
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x101b166e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.1017ac10
lea ecx, [ebp - 0x4c]
call fcn.1017ac10
mov eax, dword [ebp - 0x10]
jmp 0x101b16a8
lea ecx, [ebp - 0x34]
call fcn.1017ae40
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.1017ae40
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.1017ac10
lea ecx, [ebp - 0x4c]
call fcn.1017ac10
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10017bf0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10017dc5
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
mov dword [edi + 0x12488], 0xfa36ffa1
push edi
jmp 0x10017c22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10017c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10017c18
mov eax, 1
add ebx, ebx
jne 0x10017c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10017c30
jne 0x10017c4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017c30
xor ecx, ecx
sub eax, 3
jb 0x10017c60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10017cd2
mov ebp, eax
add ebx, ebx
jne 0x10017c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10017c78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10017c9c
inc ecx
add ebx, ebx
jne 0x10017c88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10017c7d
jne 0x10017c99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017c7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10017cbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10017cad
jmp 0x10017c1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10017cbc
add edi, ecx
jmp 0x10017c1e
pop esi
mov edi, esi
mov ecx, 0x28c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10017cda
cmp byte [edi], 5
jne 0x10017cda
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 al, bl
loop 0x10017cdf
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x10017d57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1708c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10017d0c
mov ecx, edi
jns 0x10017d3b
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 + 0x17090]
or eax, eax
je 0x10017d51
mov dword [ebx], eax
add ebx, 4
jmp 0x10017d29
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10017d88
cmp al, 0xef
ja 0x10017d7b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10017d5d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10017d6a
mov ebp, dword [esi + 0x17094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10017dbc
sub esp, 0xffffff80
jmp 0x1000c98e
Function at 0x1001185
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
push 0x1002380
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
je 0x10011d1
push eax
push 0x2713
call fcn.01001a09
cmp dword [ebp + 8], esi
jle 0x100120b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x10011e8
cmp cl, 0x2d
jne 0x1001202
cmp byte [eax + 1], 0x3f
jne 0x1001202
push 0x2710
push esi
call fcn.01001979
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_exit]
push 0x2714
push 2
jmp 0x10011f4
push 0x400
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x1001234
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001a09
jmp 0x10011fb
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100123d
sub eax, edx
push eax
lea eax, [ebp - 0x404]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push ebx
jmp 0x10011fc
Function at 0x402c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00402e10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x402d1d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x402c8a
mov eax, dword [ebp - 4]
cmp eax, dword [0x41a004]
ja 0x402c8a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x402c5a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00407fd0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x402caf
jmp 0x402d1d
cmp dword [ebp - 0x14], 0x10000
jne 0x402d03
cmp dword [ebp - 0x18], 0x10000
jb 0x402d03
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402ce6
mov eax, dword [ebp - 8]
jmp 0x402d1f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x402cf6
xor eax, eax
jmp 0x402d1f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402d18
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.00402e10
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402c5a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00402e40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x402e05
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x402d75
mov eax, dword [ebp - 4]
cmp eax, dword [0x41a004]
ja 0x402d75
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x402d45
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00407fd0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x402d9a
jmp 0x402e05
cmp dword [ebp - 0x14], 0x10000
jne 0x402dee
cmp dword [ebp - 0x18], 0x10000
jb 0x402dee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402dd1
mov eax, dword [ebp - 8]
jmp 0x402e07
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x402de1
xor eax, eax
jmp 0x402e07
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402e00
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00402e40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402d45
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402e70
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00403260
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x41a994], 0
jne 0x402ead
cmp dword [0x41a990], 0
je 0x402ead
mov eax, dword [0x41a990]
mov dword [0x41a994], eax
cmp dword [0x41a994], 0
je 0x402f2a
mov ecx, dword [0x41a994]
cmp dword [ecx + 8], 0
je 0x402f2a
mov edx, dword [0x41a994]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x402f2a
mov ecx, dword [0x41a994]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x402f2a
mov eax, dword [0x41a994]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x402ef9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x402f00
xor eax, eax
jmp 0x403049
mov ecx, dword [0x41a994]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.00407fd0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x403049
mov edx, dword [0x41a990]
mov dword [0x41a994], edx
jmp 0x402f46
mov eax, dword [0x41a994]
mov ecx, dword [eax + 4]
mov dword [0x41a994], ecx
cmp dword [0x41a994], 0
je 0x402f86
cmp dword [0x41a994], 0
je 0x402f84
mov edx, dword [0x41a994]
cmp dword [edx + 8], 0
je 0x402f84
mov eax, dword [0x41a994]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x402f84
mov edx, dword [0x41a994]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x402f84
jmp 0x402ede
jmp 0x402f38
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00403050
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x403047
mov eax, dword [ebp - 0x18]
mov dword [0x41a994], eax
mov ecx, dword [0x41a994]
mov dword [ecx], 0x52727464
mov edx, dword [0x41a994]
mov dword [edx + 8], 0
mov eax, dword [0x41a994]
mov ecx, dword [0x41a990]
mov dword [eax + 4], ecx
mov edx, dword [0x41a994]
mov dword [0x41a990], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x41a994]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x403017
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x403037
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x40300e
mov eax, dword [0x41a994]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x402ede
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41a990]
mov dword [ebp - 4], eax
jmp 0x403da9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x403dd0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x403dce
call sub.KERNEL32.dll_GetLastError
jmp 0x403dd2
jmp 0x403da0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404400
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x41a9a0], eax
je 0x40441d
mov eax, 0x10dd
jmp 0x404500
mov eax, dword [0x41a9b0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40449c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x404478
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x404478
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.004032f0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.00406470
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x404425
mov dword [0x41a9b0], 0
call fcn.00403bd0
mov ecx, dword [0x41a9ac]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4044ea
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00406470
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x4044b4
mov dword [0x41a9ac], 0
mov dword [0x41a9a0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4049e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x41a9a4], 0
je 0x4049f9
mov eax, dword [0x41a9a4]
jmp 0x404a98
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x404a0a
xor eax, eax
jmp 0x404a98
push 8
call fcn.00406440
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404a62
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x404a4b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.00406470
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x41a9a4], eax
mov dword [0x41a9a8], 0
mov eax, dword [ebp - 8]
jmp 0x404a98
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x404a7a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x404a2a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x41a9ac]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x41a9ac], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x2e060ed6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x4ddf7de8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x7dee10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e3000]
push edi
or ebp, 0xffffffff
jmp 0x7dee32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7dee39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7dee28
mov eax, 1
add ebx, ebx
jne 0x7dee4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7dee5c
jne 0x7dee7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7dee7b
dec eax
add ebx, ebx
jne 0x7dee68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7dee40
add ebx, ebx
jne 0x7dee77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7deecd
xor ecx, ecx
sub eax, 3
jb 0x7dee93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7def02
sar eax, 1
mov ebp, eax
jmp 0x7dee9e
add ebx, ebx
jne 0x7dee9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7dee6c
inc ecx
add ebx, ebx
jne 0x7deeac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7dee6c
add ebx, ebx
jne 0x7deeb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7deeae
jne 0x7deeca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7deeae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7deeec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7deede
jmp 0x7dee2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7deeec
add edi, ecx
jmp 0x7dee2e
pop esi
mov edi, esi
mov ecx, 0xe0b8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7def0a
cmp byte [edi], 0x95
jne 0x7def0a
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 al, bl
loop 0x7def0f
lea edi, [esi + 0x3da000]
mov eax, dword [edi]
or eax, eax
je 0x7def7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x426978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x426aa4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7def3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x426aa8]
or eax, eax
je 0x7def78
mov dword [ebx], eax
add ebx, 4
jmp 0x7def59
call dword [esi + 0x426ab8]
mov ebp, dword [esi + 0x426aac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7defb2
sub esp, 0xffffff80
jmp 0x675374