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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x5c0]
mov edi, dword [eax]
lea ebx, [esi + 0x15c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [ebx]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x490c13
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.004a2e10
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x490c46
push str.Received_too_short_packet
push edi
call fcn.00475900
add esp, 8
mov dword [esi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00490780
movzx eax, ax
add esp, 4
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x490c61
jmp dword [eax*4 + 0x490d78]
cmp edx, 4
jle case.0x490c61.4
push ebx
call fcn.00490760
movzx ecx, word [esi + 0x40]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x490c61.4
lea eax, [edx - 4]
push eax
mov eax, dword [ebx]
add eax, 4
push eax
push 1
push dword [ebp - 0x8c]
call fcn.004757f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x490cc6
push 5
push esi
call fcn.00491490
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x70], eax
adc dword [edi + 0x74], edx
push dword [edi + 0x74]
push dword [edi + 0x70]
push edi
call fcn.0047e570
jmp 0x490d3e
push ebx
call fcn.00490760
movzx eax, ax
mov dword [esi + 8], eax
mov eax, dword [ebx]
add eax, 4
push eax
push 0x4db570
push edi
call fcn.004759b0
add esp, 0x10
jmp case.0x490c61.4
lea eax, [edx - 2]
push eax
mov eax, dword [ebx]
add eax, 2
push eax
push esi
call fcn.00490930
add esp, 0xc
test eax, eax
je case.0x490c61.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x4dc200
push edi
call fcn.00475900
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.0047e8e0
add esp, 4
test eax, eax
je 0x490c33
push 5
push esi
call fcn.00491490
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
Function at 0x490d90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x490dad.4
jmp dword [eax*4 + 0x490fc4]
lea eax, [edi + 0x15c]
push eax
call fcn.00490760
movzx ecx, word [edi + 0x40]
add esp, 4
movzx esi, ax
lea eax, [ecx + 1]
movzx eax, ax
cmp eax, esi
jne 0x490ddd
mov dword [edi + 0x18], 0
jmp 0x490df4
cmp ecx, esi
jne 0x490e68
push esi
push str.Received_last_DATA_packet_block__d_again._n
push ebx
call fcn.004759b0
add esp, 0xc
mov word [edi + 0x40], si
lea esi, [edi + 0x160]
push 4
push esi
call fcn.004907c0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.004907a0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x490f3a
mov eax, dword [edi + 0x154]
xor ecx, ecx
add eax, 4
cmp dword [edi + 0x14c], eax
lea eax, [edi + 0x38]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [edi], ecx
call fcn.004b5d3d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push eax
push esi
push str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
push ebx
call fcn.004759b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
lea esi, [edi + 0x160]
push 4
push esi
mov word [edi + 0x40], ax
mov dword [edi + 0x18], eax
call fcn.004907c0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.004907a0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x490f3a
lea eax, [edi + 0x38]
mov dword [edi], 1
push eax
call fcn.004b5d3d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [edi + 0x40]
inc dword [edi + 0x18]
inc eax
push dword [edi + 0x18]
movzx eax, ax
push eax
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
push ebx
call fcn.004759b0
mov eax, dword [edi + 0x18]
add esp, 0x10
cmp eax, dword [edi + 0x20]
jle 0x490f16
mov dword [edi + 8], 0xffffff9d
xor eax, eax
mov dword [edi], 3
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [edi + 0x148]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push dword [edi + 0x160]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x490fa0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [edi + 0x10]
call fcn.004829e0
push eax
push 0x4dc200
push ebx
call fcn.00475900
add esp, 0x14
mov eax, 0x37
pop edi
pop esi
pop ebx
pop ebp
ret
lea esi, [edi + 0x160]
push 5
push esi
call fcn.004907c0
movzx eax, word [edi + 0x40]
push eax
push esi
call fcn.004907a0
add esp, 0x10
lea eax, [edi + 0xc8]
push dword [edi + 0x148]
push eax
push 0
push 4
push dword [esi]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [edi], 3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push str.tftp_rx:_internal_error
push 0x4dc200
push ebx
call fcn.00475900
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x491490
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x4914a2
jmp dword [edx*4 + 0x4914f8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00490fe0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00490d90
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004916a0
push str.TFTP_finished
push 0x4db570
push eax
call fcn.004759b0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x4dc200
push eax
call fcn.00475900
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x494dd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004b8657
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x494e34
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x494e34
lea eax, [ebp - 0x108]
push eax
call dword [0x4fd510]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret

Function at 0x494e50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00494dd0
Function at 0x498220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x49824c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x49823d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x498280
cmp dword [esi + 8], 0
jne 0x498270
push 0x4db7b0
push dword [eax + 8]
call fcn.004b40a1
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x498270
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004b6c93
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4982a2
mov eax, dword [esi + 8]
test eax, eax
je 0x49829c
push eax
call fcn.004b412e
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x49c390
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x49c3c3
push 0x2e
push edi
call fcn.004a4b90
add esp, 8
test eax, eax
je 0x49c3c1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x49d330
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x49d340
sub esi, ecx
lea eax, [esi + esi]
push eax
mov dword [ebp - 0xc], eax
call dword [0x4fd504]
mov edi, eax
add esp, 4
test edi, edi
jne 0x49d368
lea eax, [edi + 0x1b]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push edi
call fcn.0049d410
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x49d3e7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x49d3dc
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x4fd508]
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49d440
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x49d4d7
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
push edi
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call fcn.0049d540
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.0049f990
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x49d4e9
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a10e1
mov esp, ebp
pop ebp
ret
Function at 0x49fa30
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x4fd504]
mov edi, eax
add esp, 4
test edi, edi
jne 0x49fa5d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x49faa4
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x49faaa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x49fb0b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x49fad0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x49fb37
mov eax, dword [esi + 4]
push 1
push 0x4e5796
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x4e5797
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x49fb10
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c126c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c10eb

Function at 0x4c5bf9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c58b9
Function at 0x4176e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
or ecx, 0xffffffff
dec edx
test edx, edx
jl 0x417719
inc edx
xor ebx, ebx
movzx esi, byte [eax + ebx]
xor esi, ecx
and esi, 0xff
mov esi, dword [esi*4 + 0x5361a8]
shr ecx, 8
and ecx, 0xffffff
xor esi, ecx
mov ecx, esi
inc ebx
dec edx
jne 0x4176f5
mov eax, ecx
pop esi
pop ebx
ret

Function at 0x417fb0
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 0
jne 0x417fbb
mov eax, 0
ret
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x417fc1
ret

Function at 0x41bf5c
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov dword [edx + 0x14], 0x10325476
ret

Function at 0x41c09c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, ecx
xor edi, edi
mov eax, edi
mov byte [esi + edi], al
inc edi
cmp edi, 0x100
jne 0x41c0af
mov byte [ecx + 0x100], 0
mov byte [ecx + 0x101], 0
xor ebx, ebx
mov byte [ebp - 9], 0
xor edi, edi
movzx eax, bl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
movzx edx, byte [esi + edi]
add eax, edx
movzx edx, byte [ebp - 9]
add eax, edx
and eax, 0xff
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
lea edx, [esi + eax]
lea eax, [esi + edi]
call fcn.0041c08c
movzx eax, bl
inc eax
cdq
idiv dword [ebp - 8]
mov ebx, edx
inc edi
cmp edi, 0x100
jne 0x41c0d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c11c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test edx, edx
jle 0x41c1d1
mov ebx, dword [ebp - 8]
movzx ebx, byte [ebx + 0x100]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x101]
mov byte [ebp - 9], al
mov esi, dword [ebp - 8]
dec edx
test edx, edx
jb 0x41c1bb
inc edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
movzx eax, bl
inc eax
and eax, 0xff
mov ebx, eax
movzx edi, bl
movzx eax, byte [esi + edi]
movzx edx, byte [ebp - 9]
add eax, edx
and eax, 0xff
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
lea edx, [esi + eax]
lea eax, [esi + edi]
call fcn.0041c08c
movzx eax, byte [esi + edi]
movzx edx, byte [ebp - 9]
movzx edx, byte [esi + edx]
add eax, edx
and eax, 0xff
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [ebp - 0xa]
movzx ecx, byte [esi + ecx]
xor byte [eax + edx], cl
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x41c15d
mov eax, dword [ebp - 8]
mov byte [eax + 0x100], bl
mov eax, dword [ebp - 8]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x101], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432e50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x432ee6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [edi]
call fcn.00401380
mov esi, eax
test esi, esi
jle 0x432ecb
mov ebx, 1
mov eax, dword [edi]
movzx eax, byte [eax + ebx*2 - 2]
sub al, 0x22
je 0x432e91
sub al, 5
jne 0x432e9a
movzx eax, byte [ebp - 1]
xor al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x432ec7
lea eax, [ebp - 0xc]
mov edx, dword [edi]
movzx edx, word [edx + ebx*2 - 2]
call fcn.00401350
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00419264
mov eax, dword [ebp - 8]
movzx eax, word [eax]
mov edx, dword [edi]
mov word [edx + ebx*2 - 2], ax
inc ebx
dec esi
jne 0x432e82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432eed
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00401328
ret
Function at 0x45ebb8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x45ed45
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
movzx ecx, byte [edx + 0x39]
mov edx, dword [edx + 0x30]
call fcn.0041cad0
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.0045ed74
mov eax, dword [ebp - 4]
call fcn.0045f5f4
mov eax, dword [ebp - 4]
call fcn.0045f87c
mov eax, dword [ebp - 4]
call fcn.0045f878
mov eax, dword [ebp - 4]
call fcn.0045fd6c
mov eax, dword [ebp - 4]
call fcn.0045fce0
mov eax, dword [ebp - 4]
call fcn.0045f994
mov eax, dword [ebp - 4]
call fcn.0045fd9c
mov eax, dword [ebp - 4]
call fcn.0045f3d8
mov eax, dword [ebp - 4]
call fcn.0045ed50
mov eax, dword [ebp - 4]
call fcn.0045fd3c
mov eax, dword [ebp - 4]
call fcn.0045fd0c
mov eax, dword [ebp - 4]
call fcn.0045fb4c
mov eax, dword [ebp - 4]
call fcn.0045fb50
mov eax, dword [ebp - 4]
call fcn.0045f8ec
mov eax, dword [ebp - 4]
call fcn.0045f0a0
mov eax, dword [ebp - 4]
call fcn.0045f3b4
mov eax, dword [ebp - 4]
call fcn.0045ffb4
mov eax, dword [ebp - 4]
call fcn.0045f258
mov eax, dword [ebp - 4]
call fcn.0045fb84
mov eax, dword [ebp - 4]
call fcn.0045fa1c
mov eax, dword [ebp - 4]
call fcn.0045fb54
mov eax, dword [ebp - 4]
call fcn.0045ff84
mov eax, dword [ebp - 4]
call fcn.0045fe70
mov eax, dword [ebp - 4]
call fcn.0045ed54
mov eax, dword [ebp - 4]
call fcn.0045f280
mov eax, dword [ebp - 4]
call fcn.0045f5d4
mov eax, dword [ebp - 4]
call fcn.0045f6e0
mov eax, dword [ebp - 4]
call fcn.0045f3fc
mov eax, dword [ebp - 4]
call fcn.0045f950
mov eax, dword [ebp - 4]
call fcn.0045f998
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.004797fc
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
movzx edx, byte [edx + 0x39]
call fcn.0047a530
mov eax, dword [ebp - 4]
call fcn.0045f4dc
mov eax, dword [ebp - 4]
call fcn.004605fc
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00460348
mov eax, dword [ebp - 4]
call fcn.0045f0d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0041c3a8
ret

Function at 0x461d34
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
or ebx, 0xffffffff
mov eax, edi
call fcn.004012b8
dec eax
test eax, eax
jl 0x461d69
inc eax
xor esi, esi
movzx edx, byte [edi + esi]
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x534378]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x461d4e
xor ebx, 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x48d078
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48d170
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp + 0xc], 0
jne 0x48d0a9
cmp dword [ebp + 8], 0
ja 0x48d0af
jmp 0x48d152
jle 0x48d152
xor ecx, ecx
mov dl, 1
mov eax, dword [0x403250]
call fcn.0040702c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48d14b
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.00401afc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 0x48d18c
call fcn.004012c8
mov edx, 0x48d278
mov eax, dword [ebp - 0xc]
call fcn.00407134
mov edx, dword [ebp - 4]
call fcn.00406cf4
mov cl, 1
mov edx, 0xa85c
mov eax, dword [ebp - 0xc]
call fcn.00407374
mov eax, dword [ebp - 0xc]
call fcn.004071b0
test eax, eax
jle 0x48d135
mov edx, 0x48d284
mov eax, dword [ebp - 0xc]
call fcn.004072bc
call fcn.00406f10
dec eax
jne 0x48d135
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d152
lea eax, [ebp - 0xc]
call fcn.00401ce4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d177
lea eax, [ebp - 0x10]
call fcn.00401268
lea eax, [ebp - 4]
call fcn.00401268
ret
Function at 0x4ac3d4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004012e0
mov eax, dword [ebp - 8]
call fcn.004012e0
xor eax, eax
push ebp
push 0x4ac50a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4ac4bf
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x4ac4ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 1
mov dl, 1
mov eax, dword [0x403250]
call fcn.0040702c
mov dword [ebp - 0x14], eax
push 0x4ac524
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00401adc
push dword [ebp - 0x18]
push 0x4ac574
push 0x4ac580
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00401adc
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004012d0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4ac5a0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4a8ca8]
call fcn.004a98c4
mov eax, dword [ebp - 0x14]
call fcn.004071b0
test eax, eax
setg byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac4b5
mov eax, dword [ebp - 0x14]
call fcn.00401178
ret