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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b7b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045aae4
xor eax, eax
push ebp
push 0x45b795
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45b6cd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45b6cd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45b77f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45b6e0
call fcn.00403f9c
jmp 0x45b79c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45b77f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45b77f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403938
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45b77f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b370
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45b7cc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x46006c]
mov dl, 1
mov eax, dword [0x45974c]
call fcn.0040bcc0
call fcn.00403ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b79c
mov eax, dword [ebp - 4]
call fcn.0045aaf0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7b9
lea eax, [ebp - 0x28]
call fcn.00404514
ret
Function at 0x45d23c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049b4
xor eax, eax
push ebp
push 0x45d39c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45d377
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045cf2c
cmp eax, dword [0x45fd9c]
jl 0x45d316
call fcn.0045d3e8
mov eax, dword [0x461f9c]
call fcn.0045cf88
mov ebx, eax
push dword [0x461f90]
push dword [0x461f94]
push 0x45d3b4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0040885c
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040488c
mov eax, dword [ebp - 0xc]
call fcn.00408b54
test al, al
je 0x45d2d7
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
call sub.kernel32.dll_DeleteFileA
push 0
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
mov eax, dword [0x461f98]
call fcn.004049c4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x461f98]
call fcn.004049c4
push eax
call sub.kernel32.dll_DeleteFileA
call fcn.0045d064
mov eax, 0x461f9c
mov edx, dword [ebp - 0xc]
call fcn.00404568
jmp 0x45d36d
call fcn.0040a11c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0x45d3c4
call fcn.0040adb8
push dword [ebp - 0x14]
push 0x45d3e4
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040488c
mov edx, dword [ebp - 8]
mov eax, 0x461dc4
call fcn.00404bb4
call fcn.00403200
call fcn.00402894
mov eax, 0x461dc4
call fcn.00402e80
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d381
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3a3
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404538
ret
Function at 0x442fd0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00443180
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 0x4430ce
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 0x443071
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4430b4
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x443088
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4430a3
test al, 0x40
je 0x44309a
mov ecx, dword [edi + 0x20]
jmp 0x4430a1
test al, 0x80
je 0x4430b4
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4430b4
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 0x443040
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x466378
Capabilities:
Access peb ldr_data

Disassembly:
push esi
lea ecx, [esp + 0x14]
call fcn.004e5550
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004e4e4c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 8]
push ecx
push 1
push 0x9342c4
push edx
mov esi, eax
call dword [0x4ec09c]
push esi
lea ecx, [esp + 0x14]
call fcn.004e4e4c
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
sub eax, esi
mov esi, dword [esp + 0xc]
sub eax, esi
cdq
sub eax, edx
mov edx, dword [ecx + 4]
sar eax, 1
add edx, eax
mov eax, edx
mov dword [ecx + 4], edx
add eax, esi
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x10]
call fcn.004e55c2
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x46c018
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e64b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov ecx, dword [esp + 0x68]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
je 0x46c356
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0048dc08
cmp eax, 1
jne 0x46c356
mov edx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
mov eax, dword [ebp]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 0xc]
sub ebx, eax
sub ecx, esi
sub edx, 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x74], ecx
mov edi, eax
je 0x46c2bf
dec edx
je 0x46c1f2
dec edx
jne 0x46c348
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebp, ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], eax
js 0x46c04a
inc esp
and al, 0x7c
jg 0x46c0d7
mov eax, ebx
mov ebx, ebp
sub eax, ebp
mov dword [esp + 0x10], ebx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov edx, dword [esp + 0x78]
cmp edx, ecx
jg 0x46c0f4
mov eax, ecx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
add esi, eax
mov dword [esp + 0x74], edx
mov ecx, edx
cmp ebp, ebx
jg 0x46c0fe
cmp dword [esp + 0x78], ecx
jle 0x46c163
fild dword [esp + 0x70]
fild dword [esp + 0x10]
fdiv st(1)
fild dword [esp + 0x78]
fst qword [esp + 0x18]
fild dword [esp + 0x74]
fdiv st(1)
fstp qword [esp + 0x10]
fstp st(0)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x46c12d
fstp st(0)
fld qword [esp + 0x10]
fxch st(1)
fmul st(1)
call fcn.004d0950
fld qword [esp + 0x18]
fmul st(1)
mov ebp, eax
call fcn.004d0950
mov ecx, eax
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x7c], ecx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
add edi, eax
mov eax, dword [esp + 0x74]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, dword [esp + 0x7c]
push 0xcc0020
push eax
push ebp
push esi
lea ecx, [esp + 0x58]
push edi
push ecx
call fcn.0048de68
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x46c348
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x924a9c
mov edx, dword [esp + 0x7c]
add ebp, edi
add edx, esi
mov dword [esp + 0x68], 2
push edx
push ebp
push esi
push edi
call dword [0x4ec050]
push eax
lea ecx, [esp + 0x14]
call fcn.004e83f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
push 4
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
push ecx
call dword [0x4ec054]
mov dword [esp + 0x10], case.0x4d0ab7.1
mov dword [esp + 0x68], 3
lea ecx, [esp + 0x10]
jmp 0x46c343
add ecx, esi
cmp esi, ecx
jge 0x46c2ab
mov ecx, dword [esp + 0x50]
push 0xcc0020
push 0xffffffffffffffff
push 0xffffffffffffffff

Function at 0x474e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx], 0x85904c
jmp fcn.004e6331
Function at 0x4884e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push 0x3e9
mov dword [esp + 0x38], 0x64
mov dword [esp + 0x24], esi
call fcn.0048aac8
mov ebp, eax
push esi
mov ebx, dword [esp + 0xec]
push esi
mov dword [esp + 0x58], ebp
lea edi, [ebx + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.004854d8
cmp eax, esi
je 0x488a82
cmp dword [esp + 0xec], esi
jne 0x48857b
lea esi, [eax + 0x18]
push esi
call fcn.004c5ab8
add esi, eax
push esi
call fcn.004c5ab8
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x488579
mov eax, dword [esi + 0x1c]
push eax
call dword [0x4ec580]
test eax, eax
je 0x488579
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x48858e
push 0
push 0
mov ecx, esi
call 0x48ea18
xor esi, esi
cmp dword [esp + 0xf4], 1
jne 0x4885d9
mov dword [esp + 0xf8], esi
jmp 0x4885f3
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4ec444]
test eax, eax
je 0x4885b7
push 9
mov ecx, esi
call 0x4f0ac4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret 0x14
mov edx, dword [esi + 0x1c]
push edx
call dword [0x4ec52c]
push eax
call str.T_PQR
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret 0x14
mov eax, dword [esp + 0xf8]
cmp eax, esi
je 0x4885f3
push eax
call dword [0x4ec580]
test eax, eax
je 0x488a82
push esi
push esi
push 0x7d9
call fcn.0048aac8
lea ecx, [ebx + 0x34]
push edi
mov dword [esp + 0x24], ecx
call fcn.00485468
push ebx
mov ecx, ebp
call fcn.00485a98
cmp eax, esi
mov dword [esp + 0x4c], eax
je 0x488a82
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x14], esi
call fcn.004860f8
cmp eax, esi
mov dword [esp + 0x28], esi
jle 0x488669
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x28]
push esi
push ecx
push esi
push 0xffffffffffffffff
push eax
push esi
push edx
mov ecx, edi
call fcn.004854d8
push eax
call fcn.00496308
add esp, 0x18
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
call fcn.00470f98
mov esi, 0x857074
lea ecx, [esp + 0x7c]
mov dword [esp + 0x54], esi
call fcn.00470f98
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], esi
call fcn.00470f98
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call fcn.00470f98
mov esi, dword [ebx + 0x18]
mov ebx, esi
mov dword [esp + 0x30], esi
test esi, esi
mov dword [esp + 0x1c], ebx
jle 0x488971
Function at 0x48ac18
Capabilities:
Access peb ldr_data

Disassembly:
push es
add al, byte [ebx]
add al, 5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0xffffffffffffffff
push 0x4e7a58
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.00485b28
test eax, eax
jne 0x48ac94
push ebp
push 0x937fe0
mov ecx, edi
call fcn.00489ea8
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.00485558
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00470f98
push ebx
mov dword [esp + 0x4c], ebp
dec esp
call fcn.00485cd8
add esp, 4
test eax, eax
je 0x48ad37
add esi, 0x18
push esi
call fcn.004c5ab8
add esi, eax
push esi
call fcn.004c5ab8
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x48b03a
jmp dword [ecx*4 + 0x477aa0]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00489fe8
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.004c5ab8
add esi, eax
push esi
call fcn.004c5ab8
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x48ad88
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4ec580]
test eax, eax
je 0x48ad88
mov eax, 1
jmp 0x48ad8a
xor eax, eax
cmp ebx, 8
jge 0x48afef
cmp ebx, 7
ja 0x48b03a
jmp dword [ebx*4 + 0x477ab0]
test eax, eax
jne 0x48b002
mov ecx, dword [esp + 0x10]
push eax
push 0x937fcc
call fcn.00489ea8
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.0048b548
mov eax, dword [esp + 0x14]
Function at 0x492368
Capabilities:
Access peb ldr_data

Disassembly:
add byte [eax - 1], dl
xlatb
cmp dword [esp + 0x30], 0x3c
jne 0x492380
mov ecx, dword [esp + 0x28]
push esi
add ecx, 0x1c
push 1
push ecx
call edi
push ebx
lea ecx, [esp + 0x10]
call fcn.0048aa08
mov esi, eax
pop edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 1
mov dword [esp + 0x1c], 0x857070
call fcn.0048a0e8
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call 0x505589
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x10
Function at 0x495bf8
Capabilities:
Access peb ldr_data

Disassembly:
add byte [ebp + 0x5118244c], cl
call dword [0x4ec544]
cmp eax, 1
jne 0x495b23
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], 0xffffffff
call 0x50c252
pop esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
add esp, 0x94
ret
mov edx, dword [esi + 0x5c]
push ebp
push edi
push edx
call fcn.004de188
add esp, 4
lea ecx, [esp + 0x18]
push eax
call 0x50c3dd
push 0x448d0007
and al, 0x18
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xa0], 1
call 0x50b974
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x2c]
sub ecx, ebp
sub eax, edx
push 0xf00021
push eax
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ebp
push ecx
call dword [0x4ec0d0]
push edi
lea ecx, [esp + 0x34]
call 0x50b974
mov edx, dword [0x93f294]
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov byte [esp + 0xa0], 2
call 0x5079a6
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x495bc5
mov eax, dword [esi + 0x44]
test eax, eax
lea eax, [esi + 0x48]
je 0x495bbb
lea eax, [esi + 0x4c]
push eax
lea ecx, [esp + 0x10]
call 0x5056c2
mov edi, 1
lea ecx, [esp + 0x30]
push edi
call 0x50ba50
cmp dword [esi + 0x80], edi
jne 0x495be1
mov eax, dword [esi + 0x58]
jmp 0x495bf1
cmp dword [esi + 0x84], edi
jne 0x495bee
mov eax, dword [esi + 0x54]
jmp 0x495bf1
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x34]
call 0x50bb08
pop edi
pop es
add byte [ebx + 0x6a382454], cl
push es
push edx
call dword [0x4ec094]
push eax
call 0x50c30b
mov edi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x925a34
mov eax, dword [esi + 0x74]
mov byte [esp + 0x9c], 3
cmp eax, 0x3c
jne 0x495c5d
test eax, eax
jne 0x495c38
xor eax, eax
jmp 0x495c3b
mov eax, dword [esi + 0x6c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0048acb8
add esp, 8
test eax, eax
je 0x495c5d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call 0x50b974
jmp 0x495c68
push 0x11
lea ecx, [esp + 0x34]
call 0x50b938
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x84]
push edx
push eax
call dword [0x4ec56c]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x84]
push 0x925
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x68]
push edi
lea ecx, [esp + 0x34]
call 0x50b974
mov esi, case.0x4d0ab7.1
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 4
call 0x50c377
lea ecx, [esp + 0xc]
mov byte [esp + 0x9c], 1
call 0x505589
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 5
call 0x50c377
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c], 0xffffffff
call 0x50c252
mov ecx, dword [esp + 0x94]
pop edi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x94
ret
Function at 0x49fa80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x950238]
xor edx, edx
cmp eax, edx
jne 0x49faa6
xor eax, eax
mov byte [eax + 0x950138], al
inc eax
cmp eax, 0x100
jl 0x49fa8e
mov dword [0x950238], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x950138
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49fb37
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 0x49fb0a
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 0x49fad8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49fbb0
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 0x49fc03
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 0x49fbea
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 0x4a60a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e82e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
and eax, 0
Function at 0x4aa390
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4aa528
cmp ebp, ebx
jle 0x4aa528
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4aa3ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4aa3f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4aa404
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4aa40b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call 0x4fbf52
add esp, 4
cmp eax, ebx
je 0x4aa42c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call 0x4fbf52
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4aa51e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x4aef40
Capabilities:
Access peb ldr_data

Disassembly:
add esi, eax
push esi
call 0x4ed488
lea esi, [eax + esi + 0x14]
add esp, 8
mov eax, edi
dec esi
add byte [ebx - 0x39b7dbbc], cl
inc esp
and al, 0x3c
add dword [edx], ebp
push 0
push eax
push eax
lea ecx, [esp + 0x18]
call fcn.004835a8
push eax
push edi
call esi
cmp eax, 0xffffffff
je 0x4aef9a
test eax, eax
jle 0x4aef9a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
lea ecx, [esp + 0x28]
call fcn.00483c28
mov eax, 0x400
mov dword [esp + 0x48], eax
jmp 0x4aef5c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4aefb2
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call dword [edx + 0xc0]
mov esi, 0x857070
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 0
mov dword [esp + 0xc], esi
call fcn.004836b8
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], esi
call fcn.004836b8
pop esi
mov ecx, dword [esp + 0x30]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x4b0310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebx + 0x50ff5701], cl
pop esp
push 0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.004c2018
test edi, edi
mov dword [esp + 0x644], 0
je 0x4b0340
push edi
lea ecx, [esp + 0x5cc]
call fcn.004b15c8
lea ecx, [esp + 8]
call 0x4ffc83
cmp eax, 1
pop edi
je 0x4b0560
lea ecx, [esp + 0x624]
mov dword [esp + 0x640], 0x19
add byte [ecx], bl
add byte [eax], al
add al, ch
sbb eax, 0x8d0004d6
mov word [esp + eax*8], fs
add eax, 0x84c60000
and al, 0x40
push es
add byte [eax], al
sbb al, ch
sub dl, byte [ecx]
add byte [eax], al
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x5c4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, 1
jne 0x4b07aa
mov edx, dword [esi]
push 0
push 0
push 0xc
or al, 0x50
lea ecx, [esp + 4]
mov dword [esp + 0x640], 0xffffffff
call fcn.004b07d8

Function at 0x4b0580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x624]
mov dword [esp + 0x640], 0x32
call 0x4fd987
invalid
invalid

Function at 0x4b0620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
push es
add byte [eax], al
sub ebp, eax
jns 0x4b0690
add eax, 0x248c8d00
and byte [eax + eax], al
add dh, al
test byte [eax + eax*2], ah
push es
add byte [eax], al
sub ch, al
mov edx, 0x8d000566
mov word [esp], fs
add eax, dword [eax]
add dh, al
test byte [eax + eax*2], ah
push es
add byte [eax], al
sub eax, ebp
push esp
imul eax, dword [0x248c8d00], 0x3a8
and al, 0xf4
add al, byte [eax]
add dh, al
test byte [eax + eax*2], ah
push es
add byte [eax], al
and eax, 0x56904e8
add byte [ebp + 0x2b8248c], cl
add byte [eax], al