joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c90
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
test edi, edi
jne 0x418cb0
xor esi, esi
jmp 0x418cf1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x418ced
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00422730
mov esi, esp
test esi, esi
je 0x418ced
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x418cef
xor eax, eax
mov esi, eax
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x18], eax
push 0x7b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 0x18], cx
call dword [sym.imp.WSOCK32.dll_htons]
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x418d38
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x418d64
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x18]
push edx
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
inc eax
lea esp, [ebp - 0x24]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d196
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x418d4f

Function at 0x418d70
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [ebp + 8]
shr edx, 6
mov dword [ebp - 0x11c], edx
imul edx, edx, 0x3e8
sub ecx, edx
lea edx, [ebp - 0x11c]
push edx
push 0
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax]
push 0
lea eax, [ebp - 0x114]
push eax
push 0
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], 1
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x418de7
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d196
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d196
mov esp, ebp
pop ebp
ret 4
Function at 0x419320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x419333
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x4193ad
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0041f260
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x419381
sub eax, edi
jmp 0x419383
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x419372
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4193a0
sub eax, edi
jmp 0x4193a2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x419391
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x419462
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x4193d3
mov ebx, ecx
test ebx, ebx
je 0x419426
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4193f5
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00416d90
jmp 0x41940e
cmp eax, 2
jne 0x419414
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x419407
xor eax, eax
jmp 0x419411
mov edx, ebx
call fcn.00415450
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.0041f260
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41944e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x419462
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x419330
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b7a8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x455740], 0
push esi
push edi
jne 0x41b71e
call fcn.0041b68a
test eax, eax
je 0x41b763
mov eax, dword [0x455740]
cmp eax, 1
jne 0x41b73f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41b763
jmp 0x41b7a5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41b7a5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41b767
xor eax, eax
jmp 0x41b7a5
mov eax, dword [esi]
push dword [0x455740]
call edi
mov edi, eax
test edi, edi
je 0x41b789
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41b7a5
lea edi, [esi + 0xff0]
push esi
push dword [0x455740]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41b78f
mov eax, esi
pop edi
pop esi
ret
jmp 0x41b70a

Function at 0x41d196
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f214]
jne 0x41d1a0
repz ret
jmp fcn.0042462a

Function at 0x41ebdf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41ec06
call fcn.00422c0e
mov dword [eax], esi
call fcn.00422bfb
push 0x16
pop esi
mov dword [eax], esi
call fcn.00425b24
mov eax, esi
jmp 0x41ec5b
test dword [ebp + 0xc], 0xfffffff9
jne 0x41ebec
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41ec33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422c21
pop ecx
call fcn.00422bfb
mov eax, dword [eax]
jmp 0x41ec5b
test al, 0x10
jne 0x41ec59
test al, 1
je 0x41ec59
test byte [ebp + 0xc], 2
je 0x41ec59
call fcn.00422c0e
mov dword [eax], 5
call fcn.00422bfb
mov dword [eax], 0xd
jmp 0x41ec2a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x431237
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425486
and dword [ebp - 0x14], 0
cmp dword [0x45686c], 0
mov dword [ebp - 0x18], eax
jne 0x4312ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x431392
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443154
push ebx
call edi
test eax, eax
je 0x431392
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x443144
push ebx
mov dword [0x45686c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x456870], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x456874], eax
call edi
push eax
call esi
mov dword [0x45687c], eax
test eax, eax
je 0x4312ea
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x456878], eax
mov eax, dword [0x456878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x431343
cmp dword [0x45687c], ecx
je 0x431343
push eax
call esi
push dword [0x45687c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x431343
test ebx, ebx
je 0x431343
call edi
test eax, eax
je 0x43133a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43133a
test byte [ebp - 8], 1
jne 0x431343
or dword [ebp + 0x10], 0x200000
jmp 0x431376
mov eax, dword [0x456870]
cmp eax, dword [ebp - 0x18]
je 0x431376
push eax
call esi
test eax, eax
je 0x431376
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x431376
mov eax, dword [0x456874]
cmp eax, dword [ebp - 0x18]
je 0x431376
push eax
call esi
test eax, eax
je 0x431376
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45686c]
call esi
test eax, eax
je 0x431392
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x431394
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d196
leave
ret
Function at 0x436e27
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x43b53c
call fcn.004230e6
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc50], eax
cmp esi, edi
je 0x436e92
cmp word [esi], di
je 0x436e92
push edi
push esi
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
jne 0x436e92
mov dword [ebp - 0xc4c], edi
call fcn.0040e151
test al, al
je 0x436e92
push esi
call fcn.0041f01c
pop ecx
test eax, eax
je 0x436e92
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x436e65
mov eax, dword [ebp - 0xc50]
cmp eax, edi
je 0x436ee7
cmp word [eax], di
je 0x436ee7
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
jne 0x436ee7
mov dword [ebp - 0xc4c], edi
mov esi, dword [ebp - 0xc50]
call fcn.0040e151
test al, al
je 0x436ee7
push esi
call fcn.0041f01c
pop ecx
test eax, eax
je 0x436ee7
push 0xc8
call ebx
inc dword [ebp - 0xc4c]
cmp dword [ebp - 0xc4c], 0x3e8
jl 0x436eb4
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc50]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040c193
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.0041f1e0
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.0041f1e0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x437008
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x436fb7
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.0041da30
pop ecx
pop ecx
test eax, eax
je 0x437008
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x436fdf
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
jne 0x437008
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x437001
lea eax, [ebp - 0xc2c]
push eax
call fcn.0041efec
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.0040212a
push 1
lea esi, [ebp - 0xc2c]
call fcn.0040212a
call fcn.00423169
ret 4
Function at 0x437224
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x457c20
cmp dword [0x457c30], edi
jne 0x437353
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x437267
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401f9b
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x437291
mov eax, esi
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
je 0x4372b1
xor eax, eax
mov ecx, 0x443268
call fcn.00401f9b
mov ecx, esi
call fcn.0040e25a
cmp dword [0x457c30], edi
je 0x4372d6
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x4372c9
mov eax, esi
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
je 0x4372e8
push str.TEMP
call fcn.0041ef71
pop ecx
push eax
push esi
call fcn.00402016
cmp dword [0x457c30], edi
je 0x43730d
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x437300
mov eax, esi
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
je 0x43731f
push 0x4475c8
call fcn.0041ef71
pop ecx
push eax
push esi
call fcn.00402016
cmp dword [0x457c30], edi
je 0x437344
cmp dword [0x457c34], 8
mov eax, dword [0x457c20]
jae 0x437337
mov eax, esi
push edi
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
je 0x437353
push 0xffffffffffffffff
push edi
mov eax, 0x457be8
mov ecx, esi
call fcn.00401d1e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d196
leave
ret
Function at 0x437966
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b738
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x44f214]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x44f214]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040a701
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
call fcn.0040a639
xor ebx, ebx
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x4379cd
mov eax, dword [eax]
jmp 0x4379cf
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.00406aa2
lea edi, [esp + 0x2c]
call fcn.00401a09
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0040fd0b
pop ecx
cmp eax, 1
jle 0x437aa3
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.0041f1e0
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x437a97
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x437a61
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437a8b
cmp dx, bx
je 0x437a87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437a8b
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x437a65
xor eax, eax
jmp 0x437a90
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x437a9f
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x437a40
jmp 0x437aba
mov eax, dword [esi]
jmp 0x437ab6
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x437aba
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], ebx
je 0x437aca
push dword [esp + 0x18]
call fcn.0041d18b
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0040212a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0041d196
mov esp, ebp
pop ebp
ret

Function at 0x437bd1
Capabilities:
Create thread

Disassembly:
push ebx
push edi
call fcn.0041e1ef
xor ebx, ebx
mov edi, eax
cmp dword [0x457e3c], ebx
jne 0x437c1f
cmp word [0x457eba], 3
push esi
mov esi, 0x457eb0
jne 0x437c05
call fcn.004082e6
test al, 1
je 0x437c05
cmp byte [0x457cf9], bl
je 0x437c1e
push 0x457e44
push ebx
push esi
push 0x406d79
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x457e48], eax
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x437c24
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x43b7ab
call fcn.004230e6
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x457be8
mov dword [ebp - 4], ebx
call fcn.00437bac
call fcn.00437363
mov esi, eax
cmp esi, ebx
je 0x437c8a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437c6c
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.0041ea84
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.0041eb6b
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406a67
mov al, bl
call fcn.00423169
ret

Function at 0x437c9e
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x43b7d8
call fcn.004230e6
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x457be8
call fcn.00437bac
call fcn.004373ef
mov esi, eax
test esi, esi
je 0x437d27
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437ce9
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [0x446a63]
jne 0x437d1e
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x437cff
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.0041ea84
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.0041eb6b
pop ecx
jmp 0x437d29
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406a67
mov al, bl
call fcn.00423169
ret
Function at 0x4383f8
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x43b9f5
call fcn.0042311c
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x457be8
push 0x4028f9
push ebx
push ebx
mov dword [0x457e40], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.00439db0
or dword [ebp - 4], 0xffffffff
mov dword [0x457e40], eax
jmp 0x438445
cmp dword [ebp - 0x50], ebx
je 0x438462
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x457e40], ebx
jne 0x438521
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x457cfb], bl
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
lea ebx, [ebp - 0x4c]
je 0x4384c3
mov ecx, str.FY_izZbA2i5Uge3Hw_PzSVtCqR01pMBk_FJsF6ZxyR3ZTkoZSgTNqAREIIqufCgs8Wbr468wrhj3h5LHfzZoEvizA5WBjWXvxrmfNQiwlmgQMTkwuhOLsRtGday_pkqXYHuV3
call fcn.0040df35
pop ecx
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00407eb8
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004020dc
mov esi, edi
call fcn.00414ff0
jmp 0x4384ec
mov ecx, str.gbbqE3svfLcyUk3bNyrX4_MkGzsMd1MUZ5vNukEb9Mxb5HkegYFmsZRQtJI5gUSsrElb2D
call fcn.0040df35
pop ecx
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00407eb8
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004020dc
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.00409140
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.0041d2c3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x449dc4
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x446e2c
call fcn.00422549
call fcn.00423178
ret
Function at 0x433d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
mov dword [edi + 0x2dc64], 0x704f004d
push edi
jmp 0x433d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x433d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x433d60
mov eax, 1
add ebx, ebx
jne 0x433d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x433d78
jne 0x433d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433d78
xor ecx, ecx
sub eax, 3
jb 0x433da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x433e1a
mov ebp, eax
add ebx, ebx
jne 0x433db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x433dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x433de4
inc ecx
add ebx, ebx
jne 0x433dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x433dc5
jne 0x433de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x433e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x433df5
jmp 0x433d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x433e04
add edi, ecx
jmp 0x433d66
pop esi
mov edi, esi
mov ecx, 0x8b0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x433e22
cmp byte [edi], 0x11
jne 0x433e22
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 0x433e27
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x433e96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3303c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x433e54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x33044]
or eax, eax
je 0x433e90
mov dword [ebx], eax
add ebx, 4
jmp 0x433e71
call dword [esi + 0x33040]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x433ec7
cmp al, 0xef
ja 0x433eba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x433e9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x433ea9
mov ebp, dword [esi + 0x33048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x433efb
sub esp, 0xffffff80
jmp 0x401aee
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219