joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb30
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0040c6b0
mov byte [esi], 0x80
pop esi
ret

Function at 0x40d3a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4f0
test eax, eax
push ebx
push esi
push edi
je 0x40d5a4
mov esi, dword [esp + 0x504]
test esi, esi
je 0x40d5a4
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [0x41e00c]
test eax, eax
jne 0x40d534
mov ebx, dword [section..rdata]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x104
call dword [0x41e004]
test eax, eax
jne 0x40d522
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [0x41e00c]
test eax, eax
jne 0x40d519
lea edx, [esp + 0x18]
lea eax, [esp + 0x2f4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x40d50e
mov ecx, 0x19
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x64
lea ecx, [esp + 0x2f8]
push eax
push ecx
call fcn.0040d5b0
add esp, 0xc
test eax, eax
je 0x40d50e
mov al, byte [esp + 0x24]
test al, al
je 0x40d4d7
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
push eax
call dword [0x41e0a0]
test eax, eax
jge 0x40d50e
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
mov esi, 0x64
lea eax, [esp + 0x24]
sub edx, ecx
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x40d506
mov cl, byte [edx + eax]
test cl, cl
je 0x40d506
mov byte [eax], cl
inc eax
dec esi
jne 0x40d4ed
jmp 0x40d50a
test esi, esi
jne 0x40d50b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [0x41e008]
inc dword [esp + 0x10]
jmp 0x40d3fc
mov eax, dword [esp + 0xc]
push eax
call dword [0x41e008]
mov esi, dword [esp + 0x504]
mov al, byte [esp + 0x24]
test al, al
je 0x40d5a4
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x40d54b
mov eax, 0x80070057
test eax, eax
jl 0x40d591
mov edx, dword [esp + 0x504]
mov eax, dword [esp + 0x500]
mov edi, 0x7ffffffe
xor ebx, ebx
sub edi, edx
lea edx, [esp + 0x24]
sub edx, eax
lea ecx, [edi + esi]
test ecx, ecx
je 0x40d582
mov cl, byte [edx + eax]
test cl, cl
je 0x40d582
mov byte [eax], cl
inc eax
dec esi
jne 0x40d56c
jmp 0x40d586
test esi, esi
jne 0x40d58c
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
setge dl
pop esi
mov eax, edx
pop ebx
add esp, 0x4f0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4f0
ret
Function at 0x40dae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x425738]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call entry0
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x423c48
push 0x104
push eax
call fcn.0040df60
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.00401060
lea eax, [esp + 0x84]
push eax
call fcn.00401aa0
lea ecx, [esp + 0x88]
push ecx
call fcn.00401aa0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [0x41e244]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.0040df60
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x40dc2d
mov ecx, edx
jmp 0x40dc3b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x40dbdf
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x40dc93
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x423c48
push edx
push esi
call fcn.0040df60
push esi
call dword [0x41e248]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x40dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x40de81
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x40de81
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x423c64
push str.Software360SafeLiveup
push 0x80000002
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [0x41e2f8]
test eax, eax
jne 0x40de81
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x40de81
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x40dd8c
mov cl, byte [edx + eax]
test cl, cl
je 0x40dd8c
mov byte [eax], cl
inc eax
dec esi
jne 0x40dd76
jmp 0x40dd90
test esi, esi
jne 0x40dd91
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x40ddc9
mov cl, byte [edx + eax]
test cl, cl
je 0x40ddc9
mov byte [eax], cl
inc eax
dec esi
jne 0x40ddb0
jmp 0x40ddcd
test esi, esi
jne 0x40ddce
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0040dae0
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [0x41e0a4]
test eax, eax
jne 0x40de81
test ebp, ebp
je 0x40de21
cmp ebp, 0x7fffffff
jbe 0x40de26
mov eax, 0x80070057
test eax, eax
jl 0x40de6d
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x40de62
mov ecx, dword [esp + 0x51c]
mov edi, 0x7ffffffe
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x40de5e
mov cl, byte [esi + eax]
test cl, cl
je 0x40de5e
mov byte [eax], cl
inc eax
dec edx
jne 0x40de48
jmp 0x40de62
test edx, edx
jne 0x40de68
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x40e420
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x41c888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.0040adf0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], 0
call fcn.0040ae90
cmp eax, 1
jne 0x40e4cf
mov edx, dword [esp + 0x28]
push 5
push edx
call dword [0x41e324]
mov esi, dword [0x41e33c]
xor eax, eax
mov ecx, 6
lea edi, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
push eax
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
call esi
test eax, eax
je 0x40e4cf
mov edi, dword [0x41e338]
push ebx
mov ebx, dword [0x41e334]
lea ecx, [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
call esi
test eax, eax
jne 0x40e4af
pop ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040ae70
mov ecx, dword [esp + 0x74]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x410350
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe]
push esi
push edi
mov edi, ecx
test eax, eax
mov esi, 0x423eb8
je 0x410381
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
mov ecx, edi
call fcn.00410490
test eax, eax
jne 0x410389
mov eax, dword [esi + 0xc]
add esi, 8
test eax, eax
jne 0x410363
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
push edi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 1
call dword [0x41e2f4]
test eax, eax
jne 0x410381
cmp word [edi], ax
je 0x410381
pop edi
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x4103d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360chrome.exe]
push esi
push edi
mov edi, ecx
test eax, eax
mov esi, 0x423ed8
je 0x410401
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push eax
push ecx
mov ecx, edi
call fcn.00410490
test eax, eax
jne 0x410409
mov eax, dword [esi + 0xc]
add esi, 8
test eax, eax
jne 0x4103e3
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
mov eax, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
push edi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 1
call dword [0x41e2f4]
test eax, eax
jne 0x410401
cmp word [edi], ax
je 0x410401
pop edi
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x410450
Capabilities:
Get common file path
Get program files directory

Disassembly:
cmp word [0x428780], 0
jne 0x41047e
push 0
push 0x26
push 0x428780
push 0
call dword [0x41e2e4]
push str.internet_exploreriexplore.exe
push 0x428780
call dword [0x41e224]
add esp, 8
mov eax, 0x428780
ret

Function at 0x410490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [0x41e00c]
test eax, eax
jne 0x410550
mov esi, dword [esp + 4]
test esi, esi
je 0x410550
mov edx, dword [esp + 0x120]
test edx, edx
jne 0x4104f2
push esi
call dword [0x41e008]
mov eax, 1
pop esi
add esp, 0x110
ret 0xc
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov dword [esp + 0xc], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push ecx
push eax
push 0
push edx
push esi
mov dword [esp + 0x28], 0
call dword [section..rdata]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [0x41e008]
xor eax, eax
pop edi
test esi, esi
sete al
pop esi
add esp, 0x110
ret 0xc
xor eax, eax
pop esi
add esp, 0x110
ret 0xc
Function at 0x410590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push 0x426bf0
push str.http_shellopencommand
push 0x80000000
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x208
call dword [0x41e2f4]
test eax, eax
jne 0x410636
cmp word [esp + 0x18], bx
je 0x410636
lea eax, [esp + 0x18]
push 0x5c
push eax
call dword [0x41e228]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x410636
add edi, 2
push edi
call fcn.00410560
mov ebp, dword [0x41e280]
add esp, 4
mov esi, str.360se.exe
push esi
push edi
call ebp
add esp, 8
cmp edi, eax
je 0x410645
add esi, 0x414
inc ebx
cmp esi, 0x41ed48
jl 0x41061c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret 4
mov ecx, ebx
pop edi
shl ecx, 6
add ecx, ebx
pop esi
pop ebp
lea edx, [ebx + ecx*4]
mov ecx, dword [esp + 0x218]
pop ebx
mov eax, dword [edx*4 + 0x41e930]
mov dword [ecx], eax
mov eax, 1
add esp, 0x210
ret 4

Function at 0x410680
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.00413a30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x401c]
xor ebx, ebx
cmp esi, ebx
je 0x41076a
cmp dword [esp + 0x4020], ebx
je 0x41076a
mov ebp, dword [esp + 0x4024]
cmp ebp, ebx
je 0x41076a
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004139a0
cmp eax, ebx
pop edi
je 0x41076a
cmp eax, 0x3fff
ja 0x41076a
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
push esi
call fcn.0041399a
test eax, eax
je 0x41076a
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4240f0
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.00413994
test eax, eax
je 0x41076a
mov eax, dword [esp + 0xc]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4028]
shr eax, 0x10
push edx
push eax
push str._d._d._d._d
push ebp
push ecx
call dword [0x41e2a4]
add esp, 0x1c
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x400c
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400c
ret
Function at 0x410780
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x4e0
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e2]
mov word [esp + 0x2e0], si
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0x2e0]
push eax
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x208
call dword [0x41e2f4]
test eax, eax
jne 0x41087a
mov ecx, 0x81
lea edi, [esp + 0xda]
mov word [esp + 0xd8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2e0]
lea ecx, [esp + 0xd8]
push eax
push str._smodules360inst.exe
push 0x103
push ecx
call dword [0x41e2a4]
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x20]
push 0x64
lea eax, [esp + 0xec]
push edx
push eax
call fcn.00410680
add esp, 0x1c
test eax, eax
je 0x41087a
lea ecx, [esp + 0xd8]
push ecx
call fcn.00410c8e
add esp, 4
test eax, eax
je 0x41087a
lea edx, [esp + 0x10]
push 0x4240f4
push edx
call dword [0x41e25c]
add esp, 8
test eax, eax
mov eax, 1
jge 0x41087c
mov eax, esi
pop edi
pop esi
add esp, 0x4e0
ret
Function at 0x4ba010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004b4f10
test eax, eax
jne 0x4ba07c
push ebp
push 0x5e9f68
mov ecx, edi
call fcn.004b9290
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.004b4940
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004a6ae0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.004b50c0
add esp, 4
test eax, eax
je 0x4ba11f
add esi, 0x18
push esi
call fcn.004a7530
add esi, eax
push esi
call fcn.004a7530
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x4ba422
jmp dword [ecx*4 + 0x425860]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.004b93d0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.004a7530
add esi, eax
push esi
call fcn.004a7530
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x4ba170
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.00487438]
test eax, eax
je 0x4ba170
mov eax, 1
jmp 0x4ba172
xor eax, eax
cmp ebx, 8
jge 0x4ba3d7
cmp ebx, 7
ja 0x4ba422
jmp dword [ebx*4 + 0x425870]
test eax, eax
jne 0x4ba3ea
mov ecx, dword [esp + 0x10]
push eax
push 0x5e9f54
call fcn.004b9290
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004ba930
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x5d2ec8
call fcn.004a6ce0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x4c3000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x601b10]
xor edx, edx
cmp eax, edx
jne 0x4c3026
xor eax, eax
mov byte [eax + 0x601a10], al
inc eax
cmp eax, 0x100
jl 0x4c300e
mov dword [0x601b10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x601a10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c30b7
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 0x4c308a
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 0x4c3058
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c3130
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 0x4c3183
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 0x4c316a
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 0x4c7420
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 0x4c7641
cmp eax, 8
jg 0x4c7641
cmp dword [esp + 0x8c], 2
jl 0x4c7641
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 0x4c7641
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4c7641
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4c74a7
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 0x4c762a
mov ebp, dword [fcn.004874b8]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4c74d9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4c7611
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4c74f9
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 [fcn.004874c8]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c7538
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004874c4]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.00487484]
test eax, eax
jne 0x4c75f8
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.004c6a30
cmp eax, 1
jne 0x4c7622
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.004c72e0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4c74ed
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4c762a
jmp 0x4c74c4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004c6630
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