joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4850c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x537258]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x10], 0
call eax
mov ebx, eax
test ebx, ebx
jne 0x4850f7
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp + 0x10]
push eax
push 6
push ebx
call dword [0x53725c]
mov eax, dword [0x537248]
push 0
push 0
push 3
push 0
push 0
push 0x50
push esi
push ebx
call eax
cmp byte [ebp + 8], 0
mov esi, eax
mov dword [ebp - 8], esi
mov edx, connect
mov dword [ebp - 4], connect
je 0x48513e
mov dword [ebp - 4], 0x80803000
mov edx, 0x80803000
mov edi, dword [0x537250]
xor ecx, ecx
mov dword [ebp - 0x1a], 0xb3b7b0bc
mov word [ebp - 0x16], 0x100
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 4
jb 0x485153
push 0
push edx
push 0
push 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x1a]
mov byte [ebp - 0x15], 0
push eax
push esi
call edi
push 0
push 0
push 0
mov edi, eax
mov eax, dword [0x53724c]
push 0
push edi
call eax
test eax, eax
jne 0x4851ea
push eax
push 0x4f4a
call fcn.00406bd0
add esp, 8
mov dword [ebp - 0x14], edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, esi
jne 0x4851e7
cmp ecx, dword [ebp - 0x14]
jne 0x4851e7
cmp byte [ebp + 8], cl
je 0x4851e7
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x1f
push edi
call dword [0x53723c]
or dword [ebp - 4], 0x100
lea eax, [ebp - 4]
push 4
push eax
push 0x1f
push edi
call dword [0x53725c]
mov esi, dword [ebp - 8]
mov eax, dword [0x537254]
lea ecx, [ebp - 0xc]
push 0
push ecx
push dword [ebp + 0x14]
mov dword [ebp - 0xc], 4
push 0x20000005
push edi
call eax
test eax, eax
jne 0x485212
mov dword [ebp - 0x10], 2
test edi, edi
je 0x48521d
push edi
call dword [0x537240]
test esi, esi
je 0x485228
push esi
call dword [0x537240]
push ebx
call dword [0x537240]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485450
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov esi, ebx
mov al, byte [ebx]
mov dword [ebp - 0x10], ebx
test al, al
je 0x48547f
nop
cmp al, 0x2e
je 0x4854b8
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x485470
mov esi, ebx
mov al, byte [esi]
test al, al
je 0x485496
cmp al, 0x2f
je 0x485498
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x485487
xor esi, esi
mov al, byte [ebx]
mov ecx, ebx
test al, al
je 0x4854af
cmp al, 0x2f
je 0x4854bb
push ecx
call edi
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x4854a0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
jmp 0x485481
mov edi, dword [0x533ab4]
lea eax, [ecx + 2]
mov ebx, dword [0x533ab0]
push 0
push 3
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.00504a10
add eax, dword [0x533ab8]
mov ecx, eax
mov dword [ebp - 8], eax
adc edx, dword [0x533abc]
xor ecx, ebx
mov dword [0x533ab8], eax
mov eax, edx
xor eax, edi
mov dword [0x533abc], edx
or ecx, eax
je 0x48550f
sub ebx, dword [ebp - 8]
mov dword [0x533ab0], ebx
sbb edi, edx
mov dword [0x533ab4], edi
test edi, edi
jg 0x485527
jl 0x485527
cmp ebx, 0x110b
ja 0x485527
test edi, edi
jg 0x48553b
jl 0x485527
test ebx, ebx
jae 0x48553b
mov dword [0x533ab0], 0
mov dword [0x533ab4], 0
test esi, esi
jne 0x48554a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x48554f
mov eax, esi
sub eax, dword [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
inc eax
mov dword [ebp - 8], eax
inc eax
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp - 8]
mov edi, eax
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x10]
mov edx, edi
push 0x7530
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_117.0.0.0_Safari_537.36_Edg_117.0.2045.36
push dword [ebp - 0xc]
push dword [ebp + 8]
push esi
call fcn.00485240
add esp, 0x14
mov esi, eax
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
test esi, esi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485870
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov eax, ecx
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret

Function at 0x485ae0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x9c], 0
ret
Function at 0x486a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
je 0x486bf8
cmp dword [esi + 0x20], 0
je 0x486bf8
cmp dword [esi + 0x24], 0
je 0x486bf8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x486bf8
cmp dword [eax], esi
jne 0x486bf8
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x486a84
cmp eax, 0x39
je 0x486a84
cmp eax, 0x45
je 0x486a84
cmp eax, 0x49
je 0x486a84
cmp eax, 0x5b
je 0x486a84
cmp eax, 0x67
je 0x486a84
cmp eax, 0x71
je 0x486a84
cmp eax, 0x29a
jne 0x486bf8
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], 0
test eax, eax
jns 0x486abd
neg eax
mov dword [edi + 0x18], eax
cmp eax, 2
jne 0x486acd
mov dword [edi + 4], 0x39
xor eax, eax
jmp 0x486ae8
neg eax
push 0
sbb eax, eax
xor edx, edx
and eax, 0xffffffb9
xor ecx, ecx
add eax, 0x71
mov dword [edi + 4], eax
call fcn.004862d0
add esp, 4
mov dword [esi + 0x30], eax
mov ecx, edi
lea eax, [edi + 0x94]
mov dword [edi + 0x28], 0
mov dword [edi + 0xb18], eax
lea eax, [edi + 0x988]
mov dword [edi + 0xb24], eax
lea eax, [edi + 0xa7c]
mov dword [edi + 0xb30], eax
xor eax, eax
mov dword [edi + 0xb20], 0x51b554
mov dword [edi + 0xb2c], 0x51ec5c
mov dword [edi + 0xb38], 0x51ebd4
mov word [edi + 0x16b8], ax
mov dword [edi + 0x16bc], eax
call fcn.0048b650
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.004e14f0
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x51d572]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x51d570]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x51d574]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x51d576]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x48e910
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x100ac], ebx
je 0x48e9b9
cmp dword [esi + 0x7c], ebx
jbe 0x48e9b9
mov eax, 0xffffff5c
lea ebx, [esi + 0xa4]
sub eax, esi
mov dword [ebp - 4], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x100d0]
xor eax, ecx
mov edx, dword [esi + 0x100dc]
movzx eax, al
mov edi, dword [esi + 0x100d8]
shr ecx, 8
and edi, 0xfffd
or edi, 2
xor ecx, dword [edx + eax*4]
movzx eax, cl
add eax, dword [esi + 0x100d4]
imul eax, eax, 0x8088405
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x100d8], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0x48e940
xor ebx, ebx
mov edi, dword [esi + 0x7c]
lea eax, [esi + 0xa4]
push edi
push eax
push dword [esi + 0x2c]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, edi
je 0x48e9d9
or ebx, 0xffffffff
add dword [esi + 0x100c0], edi
mov eax, ebx
mov ecx, dword [esi + 0x48]
adc dword [esi + 0x100c4], 0
add dword [esi + 0x100c8], ecx
pop edi
adc dword [esi + 0x100cc], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x7c], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4931a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x4931c3
mov esi, 0x80
cmp esi, dword [ebx]
je 0x4932ea
mov eax, dword [0x537674]
test eax, eax
je 0x4931d6
call eax
lea eax, [esi*8]
push eax
call fcn.004900b0
mov ecx, dword [0x537678]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x4931f7
call ecx
test esi, esi
je 0x4932ea
push dword [ebx + 0xc]
call fcn.00490120
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x534f3c]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.004e14f0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x4932de
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x49326d
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x5205b0]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x493250
mov eax, edi
mov ebx, dword [ecx]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea edi, [eax + edx*8]
test edi, edi
je 0x4932b8
mov eax, dword [edi]
test eax, eax
je 0x49328b
mov edx, dword [edi + 4]
jmp 0x49328d
xor edx, edx
inc eax
mov dword [edi + 4], ecx
mov dword [edi], eax
test edx, edx
je 0x4932b8
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4932ad
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4932d4
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4932d4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x4932ca
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x493244
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4933b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], 0
je 0x493404
push ebx
push esi
xor esi, esi
mov ebx, edx
push edi
mov edi, ecx
test ecx, ecx
jle 0x4933f4
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5205b0]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x4933d4
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
mov esi, dword [ebp - 4]
pop edi
div dword [esi]
mov eax, esi
pop esi
pop ebx
jmp 0x493406
xor edx, edx
push edx
mov edx, dword [ebp - 8]
push ecx
mov ecx, eax
call fcn.00493300
add esp, 8
test eax, eax
je 0x493420
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x493f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x537264]
sub esp, 0x31c
push ebx
mov ebx, edx
push esi
push edi
test eax, eax
je 0x493f56
push eax
push 0x5227b8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00491b50
add esp, 0x10
jmp 0x493ff3
mov eax, dword [0x53750c]
test eax, eax
jne 0x493f88
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x198], 2
sete al
inc eax
mov dword [0x53750c], eax
cmp eax, 2
jne 0x493fac
lea eax, [ebp - 0x318]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x318]
call fcn.004936a0
jmp 0x493fc9
lea eax, [ebp - 0x218]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x218]
call fcn.00493710
mov esi, eax
test esi, esi
je 0x4940f8
push esi
push 0x5227b8
lea eax, [ebp - 0x110]
push eax
push 0xe6
call fcn.00491b50
push esi
call fcn.004ed7d6
add esp, 0x14
cmp byte [ebp - 0x110], 0
lea eax, [ebp - 0x110]
je 0x494008
inc eax
cmp byte [eax], 0
jne 0x494002
lea ecx, [ebp - 0x110]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x49402b
lea ecx, [ebp + eax - 0x111]
mov edi, edi
cmp byte [ecx], 0x5c
jne 0x49402b
dec ecx
sub eax, 1
jne 0x494020
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push str._setilqs_
push ebx
push 0xe7
call fcn.00491b50
add esp, 0x10
mov edi, ebx
test ebx, ebx
je 0x494066
cmp byte [ebx], 0
je 0x49405e
inc edi
cmp byte [edi], 0
jne 0x494058
sub edi, ebx
and edi, 0x3fffffff
lea esi, [edi + ebx]
mov ecx, 0x14
mov edx, esi
call fcn.00491c70
add esi, 2
mov dword [ebp - 4], 0x3e
mov ecx, 4
movzx eax, byte [esi - 2]
lea esi, [esi + 5]
xor edx, edx
div dword [ebp - 4]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 7], al
movzx eax, byte [esi - 6]
div dword [ebp - 4]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 6], al
movzx eax, byte [esi - 5]
div dword [ebp - 4]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 5], al
movzx eax, byte [esi - 4]
div dword [ebp - 4]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
xor edx, edx
mov byte [esi - 4], al
movzx eax, byte [esi - 3]
div dword [ebp - 4]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi - 3], al
sub ecx, 1
jne 0x494084
mov byte [edi + ebx + 0x14], cl
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ad700
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov eax, edx
mov dword [esp + 4], eax
push esi
push edi
mov edi, ecx
test eax, eax
je 0x4ad895
test edi, edi
je 0x4ad76e
cmp byte [edi + 0x1e], 0
jne 0x4ad895
cmp byte [edi + 0xe2], 0
je 0x4ad76e
mov eax, 0x44
cmp ax, word [edi + 0xe0]
ja 0x4ad76e
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x4ad76e
mov eax, dword [ebx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4ad78e
mov dword [edi + 0xe8], eax
jmp 0x4ad78e
push 0x44
call fcn.004900b0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ad78e
test edi, edi
je 0x4ad786
mov byte [edi + 0x1e], 1
test ebx, ebx
je 0x4ad895
mov edx, dword [esp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 8]
push esi
mov edx, dword [edx]
call fcn.004ad110
mov dword [ebx], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 8]
call fcn.004ad360
mov dword [ebx + 8], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0xc]
call fcn.004ad0f0
mov dword [ebx + 0xc], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x10]
call fcn.004ad110
mov dword [ebx + 0x10], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x14]
call fcn.004ad0f0
mov dword [ebx + 0x14], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x18]
call fcn.004ad110
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ebx + 0x18], eax
mov al, byte [ecx + 4]
mov byte [ebx + 4], al
mov edx, dword [ecx + 0x1c]
mov ecx, edi
push esi
call fcn.004ad700
mov dword [ebx + 0x1c], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, edi
push esi
mov edx, dword [eax + 0x28]
call fcn.004ad0f0
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, edi
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
call fcn.004ad0f0
mov dword [ebx + 0x2c], eax
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, 0xfff7
mov dword [ebx + 0x34], 0
mov cx, word [esi + 6]
and cx, ax
mov dword [ebx + 0x24], 0
mov word [ebx + 6], cx
mov eax, ebx
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b24f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4b2675
test edi, edi
je 0x4b2675
movzx ecx, word [esi + 2]
push ebx
test ecx, 0x1000
jne 0x4b266c
movzx eax, word [edi + 2]
test eax, 0x1000
jne 0x4b266c
xor al, cl
test al, 0x10
jne 0x4b266c
mov al, byte [esi]
cmp al, byte [edi]
jne 0x4b266c
mov edx, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.004b24f0
test eax, eax
je 0x4b266c
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
call fcn.004b24f0
test eax, eax
je 0x4b266c
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
test eax, eax
je 0x4b25bf
test ecx, ecx
je 0x4b266c
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x4b266c
xor ebx, ebx
test edx, edx
jle 0x4b25c7
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x4b2590
mov eax, dword [eax + 0xc]
mov ecx, dword [edx + eax]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [edx + eax]
call fcn.004b24f0
test eax, eax
je 0x4b266c
mov eax, dword [esi + 0x10]
inc ebx
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
cmp ebx, dword [eax]
jl 0x4b2590
jmp 0x4b25c7
test ecx, ecx
jne 0x4b266c
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0x18]
jne 0x4b266c
mov eax, dword [esi + 0x20]
cmp eax, dword [edi + 0x20]
jne 0x4b266c
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 0x24]
jne 0x4b266c
mov eax, 0x800
test word [esi + 2], ax
je 0x4b2604
test word [edi + 2], ax
je 0x4b266c
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jmp 0x4b265e
cmp byte [esi], 0x98
je 0x4b2660
mov esi, dword [esi + 4]
test esi, esi
je 0x4b2660
test word [edi + 2], ax
jne 0x4b266c
mov edx, dword [edi + 4]
test edx, edx
je 0x4b266c
mov bl, byte [esi]
test bl, bl
je 0x4b2648
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x5205b0]
cmp al, byte [ecx + 0x5205b0]
jne 0x4b2648
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b2627
movzx eax, bl
movzx ecx, byte [eax + 0x5205b0]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x5205b0]
sub ecx, eax
jne 0x4b266c
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp edi, esi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b4c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
test edx, edx
jne 0x4b4c2c
mov dword [ebp - 8], ecx
jmp 0x4b4c3f
cmp byte [edx], cl
je 0x4b4c35
inc eax
cmp byte [eax], cl
jne 0x4b4c30
sub eax, edx
and eax, 0x3fffffff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push edi
mov edi, 1
mov dword [ebp - 0x10], edi
cmp dword [eax + 4], edi
jle 0x4b4d16
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esp, [esp]
mov esi, edi
cmp edi, 2
jge 0x4b4c6a
xor esi, 1
test ebx, ebx
je 0x4b4cd5
mov eax, dword [eax + 8]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x4b4cb4
sub ecx, edx
mov al, bl
mov dword [ebp - 0x18], ecx
mov edi, ecx
lea ebx, [ebx]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x5205b0]
cmp al, byte [ecx + 0x5205b0]
jne 0x4b4cb1
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b4c90
mov edi, dword [ebp - 0x10]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5205b0]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x5205b0]
sub eax, ecx
jne 0x4b4cf7
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add esi, esi
push dword [ebp - 8]
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 4
call fcn.004933b0
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x4b4d0d
jmp 0x4b4cfa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
inc edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
cmp edi, dword [eax + 4]
jl 0x4b4c60
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b4d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
push edi
mov edi, edx
test edx, edx
je 0x4b4d4d
cmp byte [edx], al
je 0x4b4d45
jmp 0x4b4d40
inc edi
cmp byte [edi], al
jne 0x4b4d40
sub edi, edx
and edi, 0x3fffffff
mov ebx, dword [ecx + 4]
mov esi, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
cmp ebx, esi
jle 0x4b4e0c
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov eax, esi
cmp esi, 2
jge 0x4b4d7a
xor eax, 1
add eax, eax
mov ecx, dword [ecx + eax*8 + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4b4de2
mov edx, dword [ebp - 0x14]
mov bl, byte [ecx]
mov edx, dword [edx + eax*8]
test bl, bl
je 0x4b4dc4
sub ecx, edx
mov al, bl
mov dword [ebp - 0x18], ecx
mov edi, ecx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x5205b0]
cmp al, byte [ecx + 0x5205b0]
jne 0x4b4dc1
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b4da0
mov edi, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5205b0]
movzx eax, bl
mov ebx, dword [ebp - 0xc]
movzx eax, byte [eax + 0x5205b0]
sub eax, ecx
jne 0x4b4dfa
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
push edi
add ecx, 0x14
call fcn.004933b0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x4b4e0c
jmp 0x4b4dfd
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
cmp esi, ebx
jl 0x4b4d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dd793
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004dd76f
pop esi
leave
ret 8

Function at 0x4dfe15
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4dfe54
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4dfe54
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4dfe54
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4dfe54
cmp dword [ecx + 0x74], 0xe
jbe 0x4dfe54
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret