joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ffe6
Capabilities:
Get hostname

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call sub.WSOCK32.dll_gethostname
test eax, eax
je 0x40fffd
add eax, 0xffffec78
ret
xor eax, eax
ret

Function at 0x41026c
Capabilities:
Initialize winsock library

Disassembly:
and dword [0x4252a4], 0
sub esp, 0x190
push esi
lea eax, [esp + 4]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
cmp byte [0x42434c], 0
mov esi, eax
je 0x4102bd
push ebx
mov bl, byte [0x423710]
mov byte [0x423710], 0
call fcn.00410000
push eax
push esi
push str.superDebug:_init_winsock____WSAStartup___returned__i___s__n
call fcn.00401292
add esp, 0xc
mov byte [0x423710], bl
pop ebx
mov eax, esi
sub eax, 0x2726
pop esi
je 0x410303
sub eax, 0xe
je 0x4102fc
sub eax, 0x1f
je 0x4102f5
sub eax, 0x18
je 0x4102ee
dec eax
je 0x4102e7
mov dword [0x4252a4], 1
xor eax, eax
jmp 0x410308
mov eax, 0xfa4
jmp 0x410308
mov eax, 0xfa6
jmp 0x410308
mov eax, 0xfa8
jmp 0x410308
mov eax, 0xfab
jmp 0x410308
mov eax, 0xfa5
add esp, 0x190
ret
Function at 0x410e90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.0040d473
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.00401156
mov ebx, eax
push 6
pop ecx
xor edx, edx
lea eax, [ebx*8 + 5]
div ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.00401156
mov ecx, eax
push 0x48
lea eax, [esi + 0x47]
pop esi
xor edx, edx
div esi
add ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 1]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0040109b
xor esi, esi
cmp ebx, 2
mov byte [ebx + edi], 0
mov byte [ebp - 0xc], 0
jbe 0x410f8c
push 3
xor edx, edx
lea eax, [ebx - 3]
pop ecx
div ecx
inc eax
mov dword [ebp - 4], eax
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
cmp esi, 0x48
jne 0x410f34
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.00401119
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x410f2f
mov ecx, dword [ebp + 0xc]
push 0x413644
call fcn.00401119
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edx, byte [edi + 2]
xor ecx, ecx
mov ch, byte [edi]
sub ebx, 3
add edi, 3
mov cl, byte [edi - 2]
shl ecx, 8
or ecx, edx
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [ebp + esi - 0x54], dl
mov edx, ecx
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [ebp + esi - 0x53], dl
inc esi
mov edx, ecx
shr edx, 6
and edx, 0x3f
mov dl, byte [edx + eax]
inc esi
mov byte [ebp + esi - 0x54], dl
and ecx, 0x3f
mov cl, byte [ecx + eax]
inc esi
mov byte [ebp + esi - 0x54], cl
inc esi
dec dword [ebp - 4]
jne 0x410f0a
jmp 0x410f91
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
test ebx, ebx
je 0x41100f
cmp esi, 0x48
jne 0x410fbf
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.00401119
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x410fba
mov ecx, dword [ebp + 0xc]
push 0x413644
call fcn.00401119
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xor ecx, ecx
mov ch, byte [edi]
mov cl, byte [edi + 1]
mov edi, ecx
shr ecx, 0xa
and ecx, 0x3f
mov cl, byte [ecx + eax]
mov byte [ebp + esi - 0x54], cl
mov ecx, edi
shr ecx, 4
and ecx, 0x3f
mov cl, byte [ecx + eax]
inc esi
mov byte [ebp + esi - 0x54], cl
inc esi
cmp ebx, 2
jne 0x410ff7
and edi, 0xf
mov al, byte [eax + edi*4]
mov byte [ebp + esi - 0x54], al
jmp 0x411002
cmp dword [ebp + 0x14], 0
je 0x41100f
mov byte [ebp + esi - 0x54], 0x3d
inc esi
cmp dword [ebp + 0x14], 0
je 0x41100f
mov byte [ebp + esi - 0x54], 0x3d
inc esi
test esi, esi
je 0x411037
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp + esi - 0x54], 0
call fcn.00401119
cmp dword [ebp + 0x10], 0
je 0x411037
mov ecx, dword [ebp + 0xc]
push 0x413644
call fcn.00401119
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411102
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4129b9
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x170
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 1
call fcn.00401062
push 0x2e
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll_strrchr]
cmp eax, ebx
pop ecx
pop ecx
je 0x4111a0
push eax
lea eax, [ebp - 0x17c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x17c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4111a0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Content_Type
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
lea esi, [ebp - 0x78]
je 0x4111fe
push dword [0x41cbe4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
je 0x4111e1
mov eax, 0x41cbe4
mov ebx, eax
mov edi, eax
cmp dword [ebx], 0
je 0x4111ed
inc dword [ebp - 0x14]
add edi, 8
push dword [edi]
lea eax, [ebp - 0x17c]
push eax
mov ebx, edi
call esi
test eax, eax
jne 0x4111c5
mov eax, dword [ebp - 0x14]
mov esi, dword [eax*8 + 0x41cbe8]
jmp 0x4111fe
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4111f9
cmp byte [esi], 0
jne 0x4111fe
mov esi, str.application_octet_stream
push 1
push 7
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
call fcn.004110c7
pop ecx
push eax
call fcn.0040a69a
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0040d473
push eax
push esi
push str.Content_Type:__s__r_n_name__s__r_n
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x411244
push esi
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401054
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41125f
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
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
ret
Function at 0x411d97
Capabilities:
Parse credit card information

Disassembly:
cmp dword [esp + 8], 0
push esi
je 0x411dc4
mov ecx, dword [esp + 8]
jmp 0x411dba
cmp al, 9
je 0x411db9
cmp al, 0xd
je 0x411db9
cmp al, 0xa
je 0x411db9
cmp al, 0x20
jb 0x411df7
cmp al, 0x7f
jae 0x411df7
inc ecx
mov al, byte [ecx]
test al, al
jne 0x411da5
xor eax, eax
pop esi
ret
mov esi, dword [esp + 8]
mov al, byte [esi]
xor ecx, ecx
test al, al
je 0x411dc0
mov dl, byte [0x41d949]
cmp al, 0xd
je 0x411e57
cmp al, 0xa
je 0x411e57
cmp al, 0x20
jne 0x411dfc
mov al, byte [ecx + esi + 1]
test al, al
je 0x411df2
cmp al, 0xd
je 0x411df2
cmp al, 0xa
jne 0x411e6d
cmp dl, 2
jge 0x411e6d
xor eax, eax
inc eax
pop esi
ret
test dl, dl
je 0x411e0f
test al, al
je 0x411df7
cmp dl, 2
jge 0x411e57
cmp al, 0x3d
je 0x411df7
jmp 0x411e57
cmp al, 0x3d
je 0x411df7
cmp al, 0x3f
je 0x411df7
cmp al, 0x21
je 0x411df7
cmp al, 0x22
je 0x411df7
cmp al, 0x23
je 0x411df7
cmp al, 0x24
je 0x411df7
cmp al, 0x40
je 0x411df7
cmp al, 0x5b
je 0x411df7
cmp al, 0x5c
je 0x411df7
cmp al, 0x5d
je 0x411df7
cmp al, 0x5e
je 0x411df7
cmp al, 0x60
je 0x411df7
cmp al, 0x7b
je 0x411df7
cmp al, 0x7c
je 0x411df7
cmp al, 0x7d
je 0x411df7
cmp al, 0x7e
je 0x411df7
cmp al, 0x7f
je 0x411df7
cmp al, 0x20
jb 0x411df7
cmp al, 0x7f
jbe 0x411e6d
cmp byte [0x41f5cc], 0
je 0x411df7
cmp byte [0x41cee1], 0
je 0x411df7
inc ecx
mov al, byte [ecx + esi]
test al, al
jne 0x411dd6
jmp 0x411dc0

Function at 0x411e7e
Capabilities:
Parse credit card information

Disassembly:
push edi
xor eax, eax
xor edi, edi
cmp dword [esp + 0xc], eax
je 0x411ee2
mov edx, dword [esp + 8]
jmp 0x411ed7
cmp cl, 0x5f
jne 0x411e99
add edi, 3
jmp 0x411ed6
cmp cl, 0x61
jb 0x411ea3
cmp cl, 0x7a
jbe 0x411ed5
cmp cl, 0x41
jb 0x411ead
cmp cl, 0x5a
jbe 0x411ed5
cmp cl, 0x30
jb 0x411eb7
cmp cl, 0x39
jbe 0x411ed5
cmp cl, 0x20
je 0x411ed5
cmp cl, 0x21
je 0x411ed5
cmp cl, 0x2a
je 0x411ed5
cmp cl, 0x2b
je 0x411ed5
cmp cl, 0x2d
je 0x411ed5
cmp cl, 0x2f
jne 0x411e94
inc edi
inc edx
mov cl, byte [edx]
cmp cl, al
jne 0x411e8f
jmp 0x411fd5
push esi
mov esi, dword [esp + 0xc]
mov cl, byte [esi]
xor edx, edx
cmp cl, al
je 0x411fd4
push ebx
mov bl, byte [0x41d949]
cmp cl, 0xd
je 0x411fc7
cmp cl, 0xa
jne 0x411f0f
inc edi
inc edi
jmp 0x411fc7
cmp cl, 0x20
jne 0x411f37
mov cl, byte [edx + esi + 1]
cmp cl, al
je 0x411f2c
cmp cl, 0xd
je 0x411f2c
cmp cl, 0xa
je 0x411f2c
inc edi
jmp 0x411fc7
cmp bl, 2
jne 0x411fc4
jmp 0x411f26
cmp bl, al
je 0x411f4d
cmp cl, al
je 0x411fc4
cmp bl, 2
jge 0x411f26
cmp cl, 0x3d
jmp 0x411fbe
cmp cl, 0x3d
je 0x411fc4
cmp cl, 0x3f
je 0x411fc4
cmp cl, 0x21
je 0x411fc4
cmp cl, 0x22
je 0x411fc4
cmp cl, 0x23
je 0x411fc4
cmp cl, 0x24
je 0x411fc4
cmp cl, 0x40
je 0x411fc4
cmp cl, 0x5b
je 0x411fc4
cmp cl, 0x5c
je 0x411fc4
cmp cl, 0x5d
je 0x411fc4
cmp cl, 0x5e
je 0x411fc4
cmp cl, 0x60
je 0x411fc4
cmp cl, 0x7b
je 0x411fc4
cmp cl, 0x7c
je 0x411fc4
cmp cl, 0x7d
je 0x411fc4
cmp cl, 0x7e
je 0x411fc4
cmp cl, 0x7f
je 0x411fc4
cmp cl, 0x20
jb 0x411fc4
cmp cl, 0x7f
jbe 0x411f26
cmp byte [0x41f5cc], al
je 0x411fc4
cmp byte [0x41cee1], al
jne 0x411f26
add edi, 3
inc edx
mov cl, byte [edx + esi]
cmp cl, al
jne 0x411efa
pop ebx
pop esi
mov eax, edi
pop edi
ret
Function at 0x411fd9
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.0040d473
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.00401156
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [ebp - 4], eax
je 0x412099
cmp dword [ebp - 8], eax
je 0x4121f3
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [ebp - 8], eax
mov esi, str._02X
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
inc dword [ebp - 0xc]
cmp al, 0x20
mov byte [ebp - 0x10], al
jne 0x412036
push 0x5f
jmp 0x412088
cmp al, 0x5f
jne 0x412053
push 0x5f
lea eax, [ebp + 0x10]
push esi
push eax
call edi
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00401119
jmp 0x41208f
cmp al, 0x61
jb 0x41205b
cmp al, 0x7a
jbe 0x412085
cmp al, 0x41
jb 0x412063
cmp al, 0x5a
jbe 0x412085
cmp al, 0x30
jb 0x41206b
cmp al, 0x39
jbe 0x412085
cmp al, 0x21
je 0x412085
cmp al, 0x2a
je 0x412085
cmp al, 0x2b
je 0x412085
cmp al, 0x2d
je 0x412085
cmp al, 0x2f
je 0x412085
movzx eax, al
push eax
jmp 0x41203c
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.00401136
dec dword [ebp - 8]
jne 0x412023
jmp 0x4121f3
cmp dword [ebp - 8], eax
je 0x4121f3
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, str._02X
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
inc ecx
cmp al, 0xd
mov byte [ebp - 0x10], al
mov dword [ebp - 0xc], ecx
je 0x4121d8
cmp al, 0xa
jne 0x4120d2
push 0x413644
jmp 0x4121cd
cmp al, 0x20
jne 0x412108
cmp dword [ebp - 8], 1
jbe 0x4120ea
mov al, byte [ecx]
cmp al, 0xd
je 0x4120ea
cmp al, 0xa
je 0x4120ea
push 0x20
jmp 0x4120f9
cmp byte [0x41d949], 2
push 0x20
jne 0x4121a9
mov ecx, ebx
call fcn.00401136
inc dword [ebp - 4]
jmp 0x4121c2
mov cl, byte [0x41d949]
test cl, cl
je 0x412143
test al, al
je 0x412124
cmp cl, 2
jge 0x41211f
cmp al, 0x3d
je 0x412124
push dword [ebp - 0x10]
jmp 0x4120f9
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call edi
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00401119
add dword [ebp - 4], 3
jmp 0x412100
cmp al, 0x3d
je 0x4121a5
cmp al, 0x3f
je 0x4121a5
cmp al, 0x21
je 0x4121a5
cmp al, 0x22
je 0x4121a5
cmp al, 0x23
je 0x4121a5
cmp al, 0x24
je 0x4121a5
cmp al, 0x40
je 0x4121a5
cmp al, 0x5b
je 0x4121a5
cmp al, 0x5c
je 0x4121a5
cmp al, 0x5d
je 0x4121a5
cmp al, 0x5e
je 0x4121a5
cmp al, 0x60
je 0x4121a5
cmp al, 0x7b
je 0x4121a5
cmp al, 0x7c
je 0x4121a5
cmp al, 0x7d
je 0x4121a5
cmp al, 0x7e
je 0x4121a5
cmp al, 0x7f
je 0x4121a5
cmp al, 0x20
jb 0x4121a5
cmp al, 0x7f
jbe 0x41211f
cmp byte [0x41f5cc], 0
je 0x4121a5
cmp byte [0x41cee1], 0
jne 0x41211f
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call edi
lea eax, [ebp + 0x10]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00401119
add dword [ebp - 4], 3
cmp dword [ebp - 4], 0x47
jle 0x4121d8
push 0x419a4c
mov ecx, ebx
call fcn.00401119
and dword [ebp - 4], 0
dec dword [ebp - 8]
jne 0x4120b0
cmp dword [ebp - 4], 0x47
jle 0x4121f3
push 0x419a4c
mov ecx, ebx
call fcn.00401119
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4455c6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00445776
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 0x4456c4
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 0x445667
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4456aa
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x44567e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x445699
test al, 0x40
je 0x445690
mov ecx, dword [edi + 0x20]
jmp 0x445697
test al, 0x80
je 0x4456aa
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4456aa
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 0x445636
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x451ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x576050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.0056429e
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.00455db0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x451f44
jmp dword [ecx*4 + 0x4520ac]
mov al, byte [esi]
test al, al
je 0x451f72
cmp al, 0x20
je 0x451f5e
cmp al, 0xa1
jne 0x451f72
cmp byte [esi + 1], al
jne 0x451f72
test al, 0x80
je 0x451f6a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x451f72
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x451f51
test ecx, ecx
je case.default.0x451f44
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x451f44
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x451fb8
cmp dl, 0xa1
jne 0x451fac
cmp byte [eax + 1], 0xa1
jne 0x451fac
test ecx, ecx
jne 0x451fa4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x451fcc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x451fe6
jmp 0x451fcc
cmp dl, 0x20
jne 0x451fca
test ecx, ecx
jne 0x451fc3
mov edi, eax
mov ecx, 1
jmp 0x451fcc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x451f8c
cmp ecx, 1
jne case.default.0x451f44
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x451f44
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x451f44
mov al, byte [esi]
test al, al
je 0x45203e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x452024
mov cl, byte [esi + 1]
test cl, cl
je 0x45203e
cmp al, 0xa1
jne 0x452014
cmp cl, al
je 0x452021
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00456040
inc esi
jmp 0x452036
cmp al, 0x20
je 0x452036
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00456080
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x451ffd
push 0
lea ecx, [esp + 0x14]
call fcn.00456080
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0046dbe0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x452071
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x5e5e80
call fcn.00455fb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00564230
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x47b010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x70dd60]
xor edx, edx
cmp eax, edx
jne 0x47b036
xor eax, eax
mov byte [eax + 0x70dc60], al
inc eax
cmp eax, 0x100
jl 0x47b01e
mov dword [0x70dd60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x70dc60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47b0c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47b09a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x47b068
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47b140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x47b193
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47b17a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x47f651
cmp eax, 8
jg 0x47f651
cmp dword [esp + 0x8c], 2
jl 0x47f651
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x47f651
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x47f651
mov eax, dword [esp + 0x80]
test eax, eax
je 0x47f4b7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x47f63a
mov ebp, dword [0x57f690]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x47f4e9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x47f621
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x47f509
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x57f680]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47f548
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x57f684]
lea ecx, [esp + 0x28]
push ecx
call dword [0x57f6c8]
test eax, eax
jne 0x47f608
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0047ea40
cmp eax, 1
jne 0x47f632
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0047f2f0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x47f4fd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x47f63a
jmp 0x47f4d4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0047e640
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c