joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408888
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [ebp - 4], eax
jmp 0x40f814
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
test sp, 0x4721
xor eax, eax
cmp ebx, eax
jmp 0x40d69e
xor ecx, ebp
call fcn.0044f7e0
leave
jmp 0x40c665
push ebp
movsx ebp, ax
rol ah, 0x15
bsr bp, di
mov ebp, esp
push ecx
ror ah, 0x8a
stc
mov eax, dword [0x46405c]
test si, 0x8527
xor eax, ebp
jmp 0x404c94
ret 0xc
push dword [ebp + 8]
push dword [esi]
jmp 0x4082e9
jle 0x4115db
cmp dword [ebp + 8], eax
jmp loc.0047ad9e
push ebx
jmp 0x40fa8a
push edi
xchg edi, edi
movsx edi, cx
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
jmp 0x40c908
mov eax, ebx
rcl cx, cl
bt ebx, 0x21
sub cx, si
lea esp, [ebp - 0xc]
adc bx, cx
sbb edi, eax
xchg bx, di
pop edi
inc ecx
adc bx, 0x3e08
sal ebx, cl
pop ebx
mov ecx, dword [ebp - 4]
jmp 0x408690

Function at 0x40907e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sar ah, 0x2e
add ah, bh
lea esp, [esp - 0x24]
bt ax, 0xa6
sbb ax, 0xdf9e
mov eax, dword [0x46405c]
test sp, 0xd5a6
stc
cmp bp, 0x2585
xor eax, ebp
mov dword [ebp - 4], eax
xchg ah, al
bswap eax
movsx eax, dx
mov eax, dword [ebp + 8]
clc
push ebx
jmp 0x40ad25
push esi
sub ebx, ebx
push edi
xchg edi, esi
mov edi, ecx
movsx esi, ax
jmp loc.00478cf4

Function at 0x40983a
Capabilities:
Get socket status

Disassembly:
push ebp
sub eax, ebx
rcl al, cl
mov ebp, esp
btc ax, 0x1f
cmp si, sp
sar ah, 0xbb
and esp, 0xfffffff8
rcl ax, 0x97
shrd ax, di, 0x2e
btc eax, 0x99
lea esp, [esp - 0x1ac]
mov eax, dword [0x46405c]
cmp cl, 0xbe
xor eax, esp
jmp loc.0046f2b9

Function at 0x409872
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
cbw
cwde
mov ebp, esp
nop
sub esp, 0x24
add ah, 0x3d
mov eax, dword [0x46405c]
cmp edi, 0x929dc20e
test edi, ebx
xor eax, ebp
stc
test cx, sp
cmc
mov dword [ebp - 4], eax
stc
inc al
cmp dword [ebp + 0xc], 0
lahf
lea eax, [ebp - 0x24]
jmp loc.0046dd91

Function at 0x409a65
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
rcr ebp, 0x33
mov ebp, esp
rcl ah, cl
lahf
ror ax, 0xbd
sub esp, 0xc
mov eax, dword [0x46405c]
clc
stc
xor eax, ebp
mov dword [ebp - 4], eax
test sp, 0xf702
push ebx
cmp di, 0x272a
sub ebx, ebx
push edi
test bh, ah
or di, dx
mov edi, ecx
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x1c], ebx
jmp loc.00470044
Function at 0x40b535
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1b4]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x64], 4
cmp eax, edi
jne 0x40b579
call fcn.0040b9d1
push eax
lea ecx, [ebp - 0x60]
call fcn.0040b244
pop ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1bc]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
push edi
lea eax, [ebp - 0x80]
push eax
push 0x40b474
push edi
lea ecx, [ebp - 0x64]
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x68], eax
cmp eax, edi
je 0x40b5c0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x64]
lea esi, [ebp - 0x68]
call fcn.0040c1a3
mov ecx, dword [ebp + 0x1a8]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0044f7e0
add ebp, 0x1ac
leave
ret

Function at 0x40b6ed
Capabilities:
Enumerate processes on remote desktop session host
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
lea eax, [ebp - 4]
or edi, 0xffffffff
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsA
test eax, eax
je 0x40b7bc
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x10], esi
jbe 0x40b792
mov dword [ebp - 8], esi
push ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov ebx, dword [ecx + eax]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 8
push ebx
push esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x40b77f
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
jne 0x40b777
mov dword [ebp - 0x18], ebx
jmp 0x40b77f
cmp edi, 1
jne 0x40b77f
mov dword [ebp - 0x1c], ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 0xc
cmp eax, dword [ebp - 0x10]
jb 0x40b73f
or edi, 0xffffffff
pop ebx
push dword [ebp - 0x14]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], edi
je 0x40b7b1
cmp eax, dword [ebp - 4]
je 0x40b7be
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 4]
jne 0x40b7bc
jmp 0x40b7be
cmp eax, edi
jne 0x40b7be
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x40b7be
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40bb8e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor esi, esi
push 0x124
lea eax, [ebp - 0x130]
push esi
push eax
mov dword [ebp - 0x134], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40bbd3
xor eax, eax
jmp 0x40bc1e
lea eax, [ebp - 0x134]
push eax
push edi
mov dword [ebp - 0x134], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x40bc0c
push dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
call fcn.0040bc2e
test eax, eax
je 0x40bc12
lea eax, [ebp - 0x134]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40bbec
jmp 0x40bc15
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f7e0
leave
ret 4
Function at 0x40ca3f
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x46405c]
stc
adc cx, sp
adc cl, 0x11
xor eax, esp
mov dword [esp], eax
stc
rcr ch, 0x81
mov ecx, dword [0x46c5cc]
clc
cmp edx, ecx
cmp ebx, 0x32138411
push ebx
test esi, esi
push ebp
test cl, dh
xor ebp, ebp
cmc
push esi
cmp ah, 0x88
test dx, si
push edi
test bx, 0x5f8a
cmp ecx, ebp
jmp loc.0046d11e

Function at 0x40d142
Capabilities:
Get socket status

Disassembly:
xor eax, esp
test si, 0x120f
jmp 0x40a8fe
mov dword [esp + 0x518], eax
mov eax, dword [ebp + 8]
cmc
cmp dh, 0x36
push ebx
push esi
xor esi, esi
push edi
dec edi
movzx edi, bp
inc esi
mov edi, ecx
mov dword [esp + 0xc], eax
xor eax, ecx
xor ebx, ebx
movzx eax, di
mov ecx, 0xe4211e06
mov eax, dword [edi]
setne cl
lea ecx, [esp + 0x10]
push ecx
push ebx
jmp loc.0047726e
push ebp
xor bp, bx
mov ebp, esp
sub al, 0xb3
movzx eax, bp
adc eax, esp
and esp, 0xfffffff8
neg ax
btr ax, si
lea esp, [esp - 0x51c]
sal ah, cl
stc
mov eax, dword [0x46405c]
jmp 0x40a32c

Function at 0x40e2ec
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
setae al
not ax
mov eax, 0x890ea315
push 0xffffffffffffffff
bswap ax
movzx ax, bh
xchg ah, al
push 0x4519a3
cmovg eax, edx
mov eax, dword fs:[0]
jmp loc.0046f976

Function at 0x40e870
Capabilities:
Send data
Send data on socket

Disassembly:
jbe 0x4723fd
sub ecx, eax
test sp, bx
mov edx, edi
mov bl, byte [ecx + eax]
test ah, 0xb5
clc
xor bl, byte [esi + 0x2bc]
cmp ecx, 0x43a25f3f
sub bl, byte [esi + 0x8e]
test di, 0x1a89
test eax, edi
add bl, byte [esi + 0x8f]
movzx ebx, bl
jmp loc.0046e78c
test edi, edi
jmp 0x4034e4
mov edi, dword [ebp + 8]
stc
test ebx, 0x6824fdb4
jmp 0x40856f
push ebp
add ebp, 0x971e6b33
mov ebp, esp
sub esp, 0x2c
rol al, cl
mov eax, dword [0x46405c]
xor eax, ebp
cmc
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
sub si, 0xe99
mov esi, edx
xor edx, edx
push edi
cmp si, 0x48ae
test dl, 0x13
mov dword [ebp - 0x24], eax
test eax, eax
je 0x472411
cmp word [esi + 0x16], 0x55
jne 0x40cbde
push dword [ebp + 8]
bswap ebx
movsx bx, ah
mov edi, dword [esi + 0x2a0]
movsx ebx, ax
bswap bx
not bx
mov ebx, dword [esi + 0x2a4]
jmp loc.0046d1db
add dword [esi + 0x88], edi
xor bx, 0x338e
clc
rcl ebx, 0xbd
mov edx, edi
cmp di, sp
mov eax, edx
or si, 0x251e

Function at 0x40fcba
Capabilities:
Get socket status

Disassembly:
mov dword [ebp - 8], eax
btr ax, 0xb4
mov eax, dword [ebp + 8]
clc
test ebp, edi
test di, 0xb00c
push ebx
push esi
movzx esi, dx
cmp eax, esp
mov esi, ecx
xor ebx, ebx
inc ecx
bswap ecx
movsx cx, dl
push edi
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x410], eax
movzx ax, cl
mov dword [ebp - 0x418], ebx
lea edi, [ebp - 0x40c]
bswap ecx
dec ax
mov dword [ebp - 0x414], 0x3ff
mov eax, dword [esi]
movsx ecx, bx
xchg ch, ch
lea ecx, [ebp - 0x424]
jmp 0x40fde8
push ebp
cwde
mov ebp, esp
lea esp, [esp - 0x530]
sal ax, 0x38
mov eax, dword [0x46405c]
test si, sp
cmc
xor eax, ebp
jmp 0x405f46
push ecx
movzx ecx, di
push ebx
not ecx
push ebx
movzx cx, dh
not ecx
lea ecx, [ebp - 0x52c]
jmp loc.0047c14b
Function at 0x4100b7
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
or eax, edi
mov ebp, esp
adc ax, 0x3213
add ax, bp
and esp, 0xfffffff8
sbb ax, 0x1a19
sub esp, 0x174
xadd al, ah
shl eax, cl
rcr al, cl
mov eax, dword [0x46405c]
cmp bp, 0xb25
xor eax, esp
jmp loc.00475581

Function at 0x4101dd
Capabilities:
Get socket status

Disassembly:
push ebp
add bp, si
adc eax, esi
mov ebp, esp
mov eax, eax
btr eax, 0xa4
sub esp, 0x1dc
adc ax, di
lahf
cmp bp, ax
mov eax, dword [0x46405c]
jmp loc.0046f05d
Function at 0x4114b3
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
jmp loc.00472905
push 0
jmp 0x405444

Function at 0x411571
Capabilities:
Create thread

Disassembly:
push eax
jmp 0x479df0
je 0x41167f
push eax
jmp 0x411679
mov eax, dword [esi]
test cl, 0xa8
test eax, eax
jmp 0x4043c9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
jmp 0x402e82

Function at 0x411ac5
Capabilities:
Authenticate hmac

Disassembly:
push ebp
rcr eax, cl
cmp dx, di
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
and al, 0xa6
mov eax, dword [0x46405c]
xor eax, esp
not dl
mov dword [esp + 0x104], eax
cbw
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
cwde
mov al, dh
setg ah
mov eax, dword [ebp + 0x10]
push esi
not si
mov esi, ecx
not dl
mov dword [esp + 4], eax
movsx ecx, sp
mov ax, sp
movsx ax, ch
mov eax, esi
push edi
mov ecx, 0xbcb20a02
lea ecx, [eax + 1]
not dl
jmp loc.0047c1c9

Function at 0x412295
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x30
push esi
call fcn.0040b371
push 0
call sub.msvcrt.dll_time
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll_localtime
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x18]
push 0x14
push eax
call sub.msvcrt.dll_strftime
call fcn.004124e7
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push str.__s_ERROR:
push eax
call sub.msvcrt.dll_fprintf
call fcn.004124f3
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
add eax, 0x40
push 0x460248
push eax
call sub.msvcrt.dll_fprintf
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
call sub.msvcrt.dll_fflush
add esp, 0x40
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x4128a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.msvcrt.dll__errno]
push esi
xor esi, esi
test byte [0x46c660], 1
mov dword [ebp - 4], 0
jne 0x4128e5
or dword [0x46c660], 1
push str.SystemFunction036
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46c65c], eax
jmp 0x4128ea
mov eax, dword [0x46c65c]
test eax, eax
je 0x4128f8
push 4
lea ecx, [ebp - 4]
push ecx
call eax
jmp 0x412911
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp - 4]
push eax
push 0
call fcn.00427f13
add esp, 0x10
test eax, eax
sete al
test al, al
jne 0x412924
call ebx
mov dword [eax], 0xc
call ebx
cmp dword [eax], 0
jne 0x41295a
mov eax, dword [ebp - 4]
xor ecx, ecx
lea esp, [esp]
cmp esi, 4
jae 0x41294f
mov edx, eax
shr edx, cl
add ecx, 8
inc esi
mov byte [esi + edi - 1], dl
cmp ecx, 0x20
jb 0x412930
cmp esi, 4
jb 0x4128b0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412970
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.EXPAT_ENTROPY_DEBUG
call sub.msvcrt.dll_getenv
mov esi, eax
add esp, 4
test esi, esi
je 0x4129ef
call sub.msvcrt.dll__errno
mov dword [eax], 0
push 0xa
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], esi
call sub.msvcrt.dll_strtoul
add esp, 0xc
mov esi, eax
call sub.msvcrt.dll__errno
cmp dword [eax], 0
jne 0x4129b9
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0
je 0x4129cb
call sub.msvcrt.dll__errno
mov dword [eax], 0
mov eax, edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 1
jb 0x4129ef
mov edx, dword [ebp + 8]
push 4
push edi
push 8
push edx
push str.expat:_Entropy:__s_____0x_0lx___lu_bytes__n
call fcn.0044eedb
add eax, 0x40
push eax
call sub.msvcrt.dll_fprintf
add esp, 0x18
mov eax, edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42bd2b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xa8]
mov eax, dword [ebx + 0x40]
push esi
not ecx
push edi
and ecx, 1
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
call dword [eax + 0x398]
add esp, 0xc
push 1
mov eax, ebx
call fcn.0042e81b
pop ecx
test eax, eax
jne 0x42be2f
cmp dword [ebx + 0x7c], 0x16
je 0x42bd8d
push 0xa
push 2
mov ecx, ebx
call fcn.0042ea14
mov eax, 0xffff8900
jmp 0x42be2d
mov eax, dword [ebx + 0x74]
cmp byte [eax], 0x14
jne 0x42be1d
cmp dword [ebx + 0x88], 0x10
jne 0x42be1d
lea edi, [eax + 4]
lea eax, [ebp - 0x10]
push 0xc
xor esi, esi
mov byte [ebp - 0x11], 0
sub edi, eax
pop edx
lea eax, [ebp + esi - 0x10]
mov cl, byte [edi + eax]
movzx eax, byte [eax]
movzx ecx, cl
xor eax, ecx
movzx ecx, byte [ebp - 0x11]
or eax, ecx
inc esi
mov byte [ebp - 0x11], al
cmp esi, edx
jb 0x42bdb3
mov al, byte [ebp - 0x11]
test al, al
jne 0x42be1d
mov dword [ebx + 0xcc], edx
lea esi, [ebp - 0x10]
lea edi, [ebx + 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x7fc], 0
je 0x42be16
mov eax, dword [ebx]
add eax, 0xa8
test byte [eax], 1
jne 0x42be0d
mov dword [ebx + 4], 0xa
test byte [eax], 1
je 0x42be19
mov dword [ebx + 4], 0xf
jmp 0x42be19
inc dword [ebx + 4]
xor eax, eax
jmp 0x42be2f
push 0x32
push 2
mov ecx, ebx
call fcn.0042ea14
mov eax, 0xffff8180
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f7e0
leave
ret
Function at 0x42d18b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x30
lea esi, [ebp - 0x38]
mov eax, esi
push 0
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
add esp, 0xc
sub dword [ebp - 0x40], edi
lea ebx, [edi + 0x20]
lea eax, [edi + 0xf]
inc byte [eax]
jne 0x42d1d4
mov ecx, dword [ebp - 0x40]
dec eax
add ecx, eax
test ecx, ecx
jg 0x42d1c6
push 1
push ebx
mov ecx, esi
mov eax, edi
call fcn.004316ac
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x42d22f
add dword [ebp - 0x3c], 0x10
add esi, 0x10
cmp dword [ebp - 0x3c], 0x30
jl 0x42d1c3
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
xor ecx, ecx
sub esi, eax
lea eax, [ebp + ecx - 0x38]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x42d200
lea eax, [ebp - 0x38]
push 0x100
push eax
mov edx, ebx
call fcn.0043086c
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x42d22f
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
push 0x30
push eax
call fcn.00433375
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f7e0
leave
ret

Function at 0x42d99f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add esi, 4
push 8
mov eax, esi
sub ecx, esi
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x42d9c9
pop edi
pop esi
pop ebp
ret
Function at 0x42f82a
Capabilities:
Hash data using sha1
Hash data using sha224
Hash data using sha256

Disassembly:
test eax, eax
je 0x42f879
mov ecx, dword [eax]
test ecx, ecx
je 0x42f879
mov ecx, dword [ecx + 4]
sub ecx, 3
je 0x42f871
dec ecx
je 0x42f869
dec ecx
je 0x42f864
dec ecx
je 0x42f85a
dec ecx
je 0x42f855
dec ecx
jne 0x42f879
xor edx, edx
mov eax, dword [eax + 4]
jmp fcn.004338e5
xor edx, edx
inc edx
jmp 0x42f84d
xor ecx, ecx
mov eax, dword [eax + 4]
jmp fcn.0043b4e4
xor ecx, ecx
inc ecx
jmp 0x42f85c
mov eax, dword [eax + 4]
jmp fcn.0043731d
mov eax, dword [eax + 4]
jmp fcn.0042fbf6
mov eax, 0xffffaf00
ret

Function at 0x42f9a6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x50], edi
test esi, esi
je 0x42fab0
mov eax, dword [esi]
test eax, eax
je 0x42fab0
cmp dword [esi + 8], 0
je 0x42fab0
movzx ecx, byte [eax + 9]
cmp dword [ebp + 8], ecx
jbe 0x42fa2c
mov eax, esi
call fcn.0042f82a
mov ebx, eax
test ebx, ebx
jne 0x42fa9f
mov edx, dword [ebp + 8]
push edi
mov eax, esi
call fcn.0042f87f
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42fa9f
lea ecx, [ebp - 0x4c]
mov eax, esi
call fcn.0042f8e3
mov ebx, eax
test ebx, ebx
jne 0x42fa9f
mov eax, dword [esi]
movzx ecx, byte [eax + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
movzx eax, byte [eax + 9]
mov edi, dword [esi + 8]
push eax
push 0x36
push edi
lea ebx, [eax + edi]
call sub.msvcrt.dll_memset
mov eax, dword [esi]
movzx eax, byte [eax + 9]
add esp, 0xc
push eax
push 0x5c
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x42fa81
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x50], ebx
sub ecx, eax
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dl, byte [eax]
xor byte [ecx + eax], dl
mov edx, dword [ebp - 0x50]
mov bl, byte [eax]
add edx, eax
xor byte [edx], bl
inc eax
dec dword [ebp - 0x54]
jne 0x42fa6d
mov eax, esi
call fcn.0042f82a
mov ebx, eax
test ebx, ebx
jne 0x42fa9f
mov eax, dword [esi]
movzx edx, byte [eax + 9]
push edi
mov eax, esi
call fcn.0042f87f
pop ecx
mov ebx, eax
lea eax, [ebp - 0x4c]
push 0x40
push eax
call fcn.00433375
pop ecx
pop ecx
mov eax, ebx
jmp 0x42fab5
mov eax, 0xffffaf00
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044f7e0
leave
ret

Function at 0x42fbf6
Capabilities:
Hash data with md5

Disassembly:
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
ret
Function at 0x430ad0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x18]
push eax
call fcn.0043083b
push dword [ebp + 0xc]
lea esi, [edi + 8]
push dword [ebp + 8]
lea edx, [esp + 0x24]
mov dword [edi + 4], esi
call fcn.0043086c
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x430bc3
mov eax, dword [esp + 0x18]
mov dword [edi], eax
shl eax, 4
add eax, dword [esp + 0x1c]
push 4
mov ecx, dword [eax]
mov dword [esi], ecx
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edi, dword [edi]
add esi, ecx
dec edi
sub eax, 0x1c
jmp 0x430ba5
mov dword [esp + 0x10], ecx
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str.cw]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x45c918]
xor edx, dword [ebx*4 + 0x45c518]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x45c118]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x45bd18]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [esp + 0x10]
jne 0x430b49
dec edi
sub eax, 0x20
test edi, edi
jg 0x430b45
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add esi, ecx
add eax, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
lea eax, [esp + 0x18]
push eax
call fcn.00430852
mov eax, dword [esp + 0x18]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4316cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x46405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov edi, edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
test cl, 0xf
je 0x431701
push 0xffffffffffffffde
pop eax
jmp 0x4317c0
cmp dword [ebp + 0xc], 0
jne 0x431765
test ecx, ecx
jbe 0x4317be
sub edi, eax
lea eax, [ecx - 1]
shr eax, 4
inc eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov esi, ebx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x24]
mov eax, ebx
movsd dword es:[edi], dword [esi]
call fcn.004316ac
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
push 0x10
pop esi
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x43173e
mov edi, dword [ebp - 0x28]
sub dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x10
dec dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], eax
jne 0x43171e
jmp 0x4317be
test ecx, ecx
jbe 0x4317be
sub ebx, edi
mov dword [ebp - 0x18], ebx
lea ebx, [ecx - 1]
sub eax, edi
shr ebx, 4
mov dword [ebp - 0x20], eax
inc ebx
jmp 0x431782
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push 0x10
mov esi, edi
pop ecx
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + esi]
xor dl, byte [esi]
mov byte [eax + esi], dl
inc esi
dec ecx
jne 0x431787
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov ecx, eax
call fcn.004316ac
mov esi, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x10
add dword [ebp - 0x1c], 0x10
add dword [ebp - 0x20], 0x10
dec ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
jne 0x43177c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f7e0
leave
ret