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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov esi, dword [ebx + 0x5c8]
mov ebp, dword [ebx]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x43f177
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc8]
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov eax, dword [esi + 0x14c]
cmp eax, 4
jge 0x43f1b2
push str.Received_too_short_packet
push ebp
call fcn.00428510
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004183ef
add esp, 0x8c
ret
mov edx, dword [esi + 0x15c]
movzx ecx, byte [edx]
movzx edx, byte [edx + 1]
shl cx, 8
movzx ecx, cx
or ecx, edx
mov dword [esi + 0xc], ecx
add ecx, 0xfffffffd
cmp ecx, 3
ja case.default.0x43f1d7
jmp dword [ecx*4 + 0x43f320]
cmp eax, 4
jle case.0x43f1d7.4
mov ecx, dword [esi + 0x15c]
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl dx, 8
movzx edx, dx
or edx, ecx
movzx ecx, word [esi + 0x40]
inc ecx
and ecx, 0xffff
cmp ecx, edx
jne case.0x43f1d7.4
mov edx, dword [esi + 0x15c]
add eax, 0xfffffffc
push eax
add edx, 4
push edx
push 1
push ebx
call fcn.004289a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43f243
mov ecx, 5
mov eax, esi
call fcn.0043f070
mov eax, edi
jmp 0x43f199
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebp + 0xb0], eax
mov ecx, dword [ebp + 0xb0]
adc dword [ebp + 0xb4], edx
mov eax, dword [ebp + 0xb4]
push eax
push ecx
push ebp
call fcn.004347b0
add esp, 0xc
jmp case.0x43f1d7.4
mov edi, dword [esi + 0x15c]
lea ebx, [eax - 4]
mov eax, dword [esi + 0x15c]
movzx edx, byte [eax + 2]
shl dx, 8
movzx ecx, dx
movzx edx, byte [eax + 3]
push ebx
add edi, 4
or ecx, edx
push 0
push edi
mov dword [esi + 8], ecx
call dword [sym.imp.MSVCR100.dll_memchr]
add esp, 0xc
test eax, eax
je 0x43f2be
sub eax, edi
cmp eax, ebx
jae 0x43f2be
push edi
push str.TFTP_error:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00434a10
add esp, 4
test eax, eax
je 0x43f197
mov ecx, 5
mov eax, esi
call fcn.0043f070
mov eax, 0x2a
jmp 0x43f199
add eax, 0xfffffffe
push eax
mov eax, dword [esi + 0x15c]
add eax, 2
push eax
push esi
call fcn.0043def0
add esp, 0xc
test eax, eax
je case.0x43f1d7.4
jmp 0x43f199
push str.Internal_error:_Unexpected_packet
push 0x46eff0
push ebp
call fcn.00428510
add esp, 0xc
jmp case.0x43f1d7.4
Function at 0x440db0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x440de5
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.00428510
add esp, 0xc
jmp 0x440e1e
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp]
cmp al, 2
jne 0x440e10
shr eax, 8
test al, al
jne 0x440e10
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004183ef
add esp, 0x194
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.00428510
add esp, 8
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.004183ef
add esp, 0x194
ret

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

Disassembly:
push ecx
mov edx, dword [edi + 0x1a8]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x440ff4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00428510
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.00440eb0
add esp, 4
pop esi
pop ecx
ret
Function at 0x441d00
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x184]
mov dword [esp + 4], eax
jne 0x441e57
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x441d37
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441d42
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441d4d
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x441d7f
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441d8d
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441d97
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441da1
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441dac
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x441db7
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1eb4], eax
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.00441200
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x441e12
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00428510
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.00441a90
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jns 0x441e54
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00428510
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x4429d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x88
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esi + 0x1ac]
push edi
mov edi, dword [esi]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebp
or ebx, 0xffffffff
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x442a2a
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push ebp
push esi
call fcn.0042d760
add esp, 8
cmp ebx, 0xffffffff
jne 0x442a64
push str.Error_accept__ing_server_connect
push edi
call fcn.00428510
add esp, 8
pop edi
pop ebp
mov eax, 0x1e
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004183ef
add esp, 0x88
ret
push str.Connection_accepted_from_server_n
push edi
call fcn.004283c0
push 1
xor ebp, ebp
push ebx
mov dword [esi + 0x2cc], ebp
mov dword [esi + 0x1ac], ebx
call fcn.00455c10
add esp, 0x10
mov dword [esi + 0x1bc], 1
cmp dword [edi + 0x640], ebp
je 0x442b06
push 1
push edi
call fcn.00425e60
mov ecx, dword [edi + 0x644]
mov edx, dword [edi + 0x640]
push 1
push ebx
push ecx
call edx
push ebp
push edi
mov ebx, eax
call fcn.00425e60
add esp, 0x1c
cmp ebx, ebp
je 0x442b06
mov eax, dword [esi + 0x1ac]
cmp eax, 0xffffffff
je 0x442ae3
push eax
push esi
call fcn.0042d760
add esp, 8
mov dword [esi + 0x1ac], 0xffffffff
pop edi
mov dword [esi + 0x2d4], ebp
pop ebp
mov eax, 0x2a
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004183ef
add esp, 0x88
ret
mov ecx, dword [esp + 0x90]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004183ef
add esp, 0x88
ret
Function at 0x4465c0
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx]
cmp eax, 2
je 0x4465fa
push str.Couldnt_set_desired_mode
push edi
call fcn.00428510
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x446611
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.004283c0
add esp, 0xc
cmp ebp, 0x13
jne 0x446626
push ebx
call fcn.00446540
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x446637
call fcn.00443650
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x446650
push 0xd
push 1
push ebx
call fcn.00445810
add esp, 0xc
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x446664
push 0xe
push 1
push ebx
call fcn.00445810
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x459db0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x459de3
push 0x2e
push esi
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x459de1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x459ec0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x459f67
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov word [esp + 0x14], 0x208
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00459e30
mov ecx, esi
push 8
push ecx
call fcn.0045e0e0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x459f79
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004183ef
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004183ef
add esp, 0x24
ret
Function at 0x45a0c0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, ebp
lea ecx, [edi + 1]
mov edi, edi
mov al, byte [edi]
inc edi
test al, al
jne 0x45a0d0
sub edi, ecx
cmp edi, 0x7fffffff
jbe 0x45a0ec
pop edi
mov eax, 0x1b
pop ebp
add esp, 0xc
ret
push esi
test edi, edi
je 0x45a0fd
lea eax, [edi + edi]
push eax
call dword [0x47604c]
jmp 0x45a108
push 0x46d773
call dword [0x476058]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45a11b
lea eax, [esi + 0x1b]
pop esi
pop edi
pop ebp
add esp, 0xc
ret
xor eax, eax
test edi, edi
je 0x45a131
mov cl, byte [eax + ebp]
mov byte [esi + eax*2], cl
mov byte [esi + eax*2 + 1], 0
inc eax
cmp eax, edi
jb 0x45a121
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x45a1b3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x8002
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x45a1a6
mov eax, dword [esp + 0xc]
push 0
lea edx, [edi + edi]
push edx
push esi
push eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [ebp + 0x10], eax
push esi
mov byte [ebp + 0x14], al
call dword [0x476050]
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
Function at 0x45eae0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x47604c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x45eb05
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x45eb4c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x45eb50
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x45ebac
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x45eb73
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x45ebe8
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push str.6_true
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x46d563
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x45ebb7
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x483200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x483240
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x48dddc]
test eax, eax
jne 0x483264
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.00483d50
mov dword [0x48dddc], eax
call eax
mov ebx, eax
mov eax, dword [0x48e1fc]
test eax, eax
jne 0x48328c
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.00483d50
mov dword [0x48e1fc], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x483342
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x483332
cmp ebx, 8
jb 0x483317
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x4832d6
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x483317
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x4832f0
cmp edx, ebx
jae 0x483332
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x483320
mov edx, dword [esp + 0x18]
test edx, edx
je 0x483340
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4833b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x4833d9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x48dddc]
test eax, eax
jne 0x4833fd
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.00483d50
mov dword [0x48dddc], eax
call eax
mov edi, eax
mov eax, dword [0x48e1fc]
test eax, eax
jne 0x483425
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.00483d50
mov dword [0x48e1fc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4834a5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x48349a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x483460
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x4834b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x4834da
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x48dddc]
test eax, eax
jne 0x4834fe
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0x51a2922a
mov ecx, eax
call fcn.00483d50
mov dword [0x48dddc], eax
call eax
mov edi, eax
mov eax, dword [0x48e1fc]
test eax, eax
jne 0x483526
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0xb1fe2c86
mov ecx, eax
call fcn.00483d50
mov dword [0x48e1fc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x483592
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x48358a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x483560
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x483af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x21c3
mov eax, 0xbacf914d
shl dword [esp], 0xd
add dword [esp], 0xffffee0d
xor dword [esp], 0xc6d3a95b
or dword [esp], 0xe006cb71
push ebx
push esi
mov esi, dword [esp + 8]
mov ebx, ecx
mul esi
mov eax, 0xaaaaaaab
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov dword [esp + 8], esi
add dword [esp + 8], 0x86d
xor dword [esp + 8], 0x2a29b567
xor dword [esp + 8], 0x2c0b8419
mov dword [esp + 0xc], 0x6024
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0x206
mov dword [esp + 0xc], 0x7624
shl dword [esp + 0xc], 5
add dword [esp + 0xc], 0xcdd4
xor dword [esp + 0xc], 0xf9244
cmp byte [ebx], 0
je 0x483c06
push edi
lea esp, [esp]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x6024
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 5
mov dword [esp + 0x10], edx
xor dword [esp + 0x10], 0x206
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0x7624
shl dword [esp + 0x10], 5
add dword [esp + 0x10], 0xcdd4
xor dword [esp + 0x10], 0xf9244
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x483b90
pop edi
mov eax, dword [esp + 8]
pop esi
pop ebx
add esp, 8
ret
Function at 0x483d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x483dac
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00483af0
xor eax, 0x15977d8f
cmp eax, dword [esp + 0x10]
je 0x483db6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x483d90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x483de4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x483de4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x483f80
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x483fa6
cmp al, 0x2e
je 0x483fa3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x483f93
jmp 0x483fa6
mov byte [edx], 0
mov eax, dword [0x48dd94]
test eax, eax
jne 0x483fca
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0xe2afc2b8
mov ecx, eax
call fcn.00483d50
mov dword [0x48dd94], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x484011
mov eax, dword [0x48df8c]
test eax, eax
jne 0x483ffb
mov ecx, 0x802173e5
call fcn.00483df0
mov edx, 0xcabcc663
mov ecx, eax
call fcn.00483d50
mov dword [0x48df8c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x484011
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00483af0
xor eax, 0x15977d8f
mov ecx, edi
mov edx, eax
call fcn.00483d50
pop edi
pop esi
add esp, 0x104
ret