joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d355
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4180a5
xor al, al
jmp 0x41814c
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042bcc0
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040ee70
add esp, 8
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040ec90
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040d010
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x30
push edx
call fcn.004253e0
add esp, 8
movzx eax, al
test eax, eax
je 0x41813d
mov byte [ebp - 0x59], 0
lea ecx, [ebp - 0x28]
call fcn.00403030
mov al, byte [ebp - 0x59]
jmp 0x41814c
mov byte [ebp - 0x5a], 1
lea ecx, [ebp - 0x28]
call fcn.00403030
mov al, byte [ebp - 0x5a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 8
Function at 0x41c1c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d96d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0
push 0x71e4d4
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403030
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c283
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00425420
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41c283
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x81]
test eax, eax
je 0x41c283
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x48], 1
jne 0x41c283
mov edx, dword [ebp + 8]
mov dword [edx + 0x84], 0
lea ecx, [ebp - 0x28]
call fcn.00403030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 4
Function at 0x41e190
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68def5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x737100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e1ed
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00403030
jmp 0x41e22e
lea eax, [ebp + 0x20]
push eax
call fcn.00409210
add esp, 4
push 0
lea ecx, [ebp + 0x20]
call fcn.00403020
push eax
lea ecx, [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00403030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x41efa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e030
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x8c], 0
jmp 0x41eff6
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00421870
cmp dword [ebp - 0x8c], eax
jae 0x41f1a0
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00421850
mov dword [ebp - 0x90], eax
push 0x71ec44
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.00403b60
add esp, 4
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040dcc0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403030
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f0ab
push 0x71ec48
mov ecx, dword [ebp - 0x90]
add ecx, 0x30
call fcn.00405fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x41efe7
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042bcc0
add esp, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.0040ee70
add esp, 8
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040ec90
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00403030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.0040d010
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x90]
add edx, 0x30
push edx
call fcn.004253e0
add esp, 8
movzx eax, al
test eax, eax
je 0x41f180
push 0x71ec4c
mov ecx, dword [ebp - 0x90]
add ecx, 0x30
call fcn.00405fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x41efe7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x41efe7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 8
Function at 0x4206f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x420710
jl 0x420707
cmp dword [ebp + 0xc], 0
ja 0x420710
xor eax, eax
xor edx, edx
jmp 0x420847
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x420732
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004210b0
jmp 0x420847
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00422fb0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x4207a1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00403f90
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00423150
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040d920
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004230d0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x420838
mov ecx, dword [ebp - 8]
call fcn.00422ab0
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x420811
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0050a48a
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x42080f
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x420847
jmp 0x4207bd
cmp dword [ebp - 4], 0
jbe 0x420838
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0050a48a
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x425110
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0x100
push 0x100
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004ded70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
call fcn.00426ef0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x425180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0x100
push 0x100
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.004ded70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call fcn.00426ef0
add esp, 0x10
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret

Function at 0x4251f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.004ded70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
call fcn.00426f20
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret

Function at 0x425260
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x208], 0x100
push 0x200
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.004ded70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
call fcn.00426f20
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x42b740
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret

Function at 0x42bd60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68eb20
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042b740
add esp, 4
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x200
push 1
lea edx, [ebp - 0x220]
push edx
call fcn.0050a48a
add esp, 0x10
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
jbe 0x42bdf6
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.0042b780
add esp, 0xc
jmp 0x42bdae
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0042b8a0
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.0040f840
mov dword [ebp - 4], 0
mov dword [ebp - 0x2d4], 0
jmp 0x42be36
mov edx, dword [ebp - 0x2d4]
add edx, 1
mov dword [ebp - 0x2d4], edx
cmp dword [ebp - 0x2d4], 0x10
jae 0x42be8a
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
sar ecx, 4
push ecx
call fcn.0042bbe0
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00423c00
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
push ecx
call fcn.0042bbe0
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00423c00
jmp 0x42be27
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d030
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.0040d010
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x42cff0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68ee5d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
call fcn.0040f840
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x14]
and edx, 2
jne 0x42d05d
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x4c
div ecx
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e1e0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x38], 0
jmp 0x42d090
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0x10]
jae 0x42d11f
mov edx, dword [ebp - 0x3c]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
add edx, 8
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jl 0x42d11a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00423c00
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x42d10f
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x42d10f
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00423c00
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00423c00
mov edx, dword [ebp - 0x2c]
sub edx, 6
mov dword [ebp - 0x2c], edx
jmp 0x42d0b9
jmp 0x42d087
cmp dword [ebp - 0x2c], 0xfffffffa
jle 0x42d17b
mov eax, dword [ebp - 0x3c]
shl eax, 8
mov ecx, dword [ebp - 0x2c]
add ecx, 8
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00423c00
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x42d17b
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x42d17b
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00423c00
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00423c00
mov edx, dword [ebp + 0x14]
and edx, 1
jne 0x42d1a4
lea ecx, [ebp - 0x28]
call fcn.0040f750
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x42d1a4
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.00423c00
jmp 0x42d183
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040d030
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d010
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x42d670
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42d6ac
jmp 0x42d6f8
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040f750
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00423bc0
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42d6d0
jmp 0x42d6f8
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x42d6f0
jmp 0x42d6f8
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x42d68d
cmp dword [ebp - 8], 0
je 0x42d710
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x42d710
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x42d72b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0042d740
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d7d0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 1
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.0042d780
add esp, 8
movzx edx, al
test edx, edx
jne 0x42d801
mov byte [ebp - 1], 0
jmp 0x42d943
mov ecx, dword [ebp + 0xc]
call fcn.0040f750
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.0040f750
xor edx, edx
div dword [ebp - 0xc]
test edx, edx
je 0x42d82b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.0040f750
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042e2e0
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
push 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0042e360
mov eax, 0x3e8
xor edx, edx
div dword [ebp - 0xc]
mov eax, 0x3e8
sub eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x42d891
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x14], 0
jne 0x42d92d
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jg 0x42d8b6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x42d8f1
mov ecx, dword [ebp + 0xc]
call fcn.0040f750
sub eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00423bc0
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x20], eax
jmp 0x42d916
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00423bc0
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jne 0x42d928
mov byte [ebp - 1], 0
jmp 0x42d92d
jmp 0x42d888
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0042e290
xor ecx, ecx
jne 0x42d7e1
lea edx, [ebp + 8]
push edx
call fcn.0042d740
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x480d7a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0051c073
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x480db9
sub eax, 1
je 0x480db4
sub eax, 1
je 0x480db0
xor eax, eax
leave
ret
push 3
jmp 0x480dbb
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x482ba9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x482be8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x482be8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x482be8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x482be8
cmp dword [ecx + 0x74], 0xe
jbe 0x482be8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x498ad0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x737100]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov edi, dword [esp + 0x120]
mov esi, dword [ebp + eax*4 + 0x420]
push eax
push ebp
call fcn.00499020
add esp, 8
push 0
push dword [esp + 0x128]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x498b7f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x498b4d
mov dword [ebx], 0x51
xor eax, eax
jmp 0x498b7f
push 0x100
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004c58d0
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.00498730
mov eax, dword [ebp]
add esp, 0x18
mov dword [eax + 0xd94], edi
mov eax, esi
mov dword [ebx], 0x37
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004815ec
add esp, 0x104
ret

Function at 0x499020
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
shl eax, 4
mov ebp, dword [ebx + ecx*4 + 0x420]
lea esi, [ebx + 0x448]
add esi, eax
mov eax, dword [ebx + 0x560]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x4990d8
cmp dword [ebx + ecx*4 + 0x438], 0x4989f0
jne 0x4990d8
cmp dword [esi], 0
je 0x49906c
test edi, edi
je 0x4990d8
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004a6ee0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4990d8
test al, 1
je 0x4990d8
cmp dword [esi], 0
jne 0x4990c1
mov eax, dword [ebx]
mov eax, dword [eax + 0x924]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x737170]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x4990c1
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4990d8
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x499250
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x49926d
push eax
call fcn.00492120
add esp, 4
test eax, eax
jne 0x49928f
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x49926a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x49928f
xor al, al
ret
mov al, 1
ret