joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423010
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
test ebx, ebx
je 0x42311d
cmp word [ebx], 0
je 0x42311d
cmp word [ebx + 2], 0x3a
jne 0x42311d
cmp word [ebx + 4], 0x5c
jne 0x42311d
push esi
mov esi, ebx
push edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x423046
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea eax, [esi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b8adf
add esp, 4
lea ecx, [esi + 1]
mov edi, eax
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
call ebx
cmp word [edi + esi*2 - 2], 0x5c
lea eax, [edi + esi*2]
je 0x423096
push 2
push 0x4fe494
push eax
call ebx
lea eax, [edi + 6]
mov dword [ebp - 4], 1
push 0x5c
push eax
call fcn.004bd5bc
mov esi, eax
add esp, 8
test esi, esi
je 0x42310a
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4230cc
test al, 0x10
jne 0x4230d5
push 0
push edi
call ebx
test eax, eax
je 0x423103
mov eax, 0x5c
push eax
mov word [esi], ax
lea eax, [esi + 2]
push eax
call fcn.004bd5bc
mov esi, eax
add esp, 8
test esi, esi
jne 0x4230b7
push edi
call fcn.004bb670
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
push edi
call fcn.004bb670
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423130
Capabilities:
Check if file exists
Get file attributes
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f4
call fcn.004be980
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [esi + 0x14], 0x10
jb 0x423157
mov eax, dword [esi]
jmp 0x423159
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4232dd
test al, 0x10
jne 0x4232dd
cmp dword [esi + 0x14], 0x10
jb 0x423179
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 1
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4232c5
push edi
push 0xfff
lea eax, [ebp - 0x1053]
mov dword [ebp - 0x10f4], 0x67452301
push 0
push eax
mov dword [ebp - 0x10f0], 0xefcdab89
mov dword [ebp - 0x10ec], 0x98badcfe
mov dword [ebp - 0x10e8], 0x10325476
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x10e0], 0
mov dword [ebp - 0x10dc], 0
mov byte [ebp - 0x1054], 0
call fcn.004be330
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea eax, [ebp - 0x1058]
push eax
push 0x1000
lea eax, [ebp - 0x1054]
push eax
push esi
call edi
test eax, eax
je 0x423248
mov eax, dword [ebp - 0x1058]
test eax, eax
je 0x423248
push eax
lea edx, [ebp - 0x1054]
lea ecx, [ebp - 0x10f4]
call fcn.00424070
add esp, 4
cmp dword [ebp - 0x1058], 0
ja 0x423204
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x14]
movq qword [ebp - 0x13], xmm0
lea ecx, [ebp - 0x10f4]
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.00424150
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call fcn.004be330
add esp, 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00424200
add esp, 4
cmp byte [ebp - 0x54], 0
pop edi
jne 0x4232a7
xor ecx, ecx
jmp 0x4232b9
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4232b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.00401a20
xor eax, eax
cmp dword [ebx + 0x10], eax
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x424030
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
ret

Function at 0x43037e
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x509bc8
call fcn.004d3980
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x4303f4
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x4303f4
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x4303f4
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x4303f4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4303fd
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.004d39c8
ret

Function at 0x43060b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x51852c]
jmp 0x43063c
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x430651
mov esi, dword [esi + 4]
test esi, esi
jne 0x430623
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b923d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x430642

Function at 0x4306b1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
movzx eax, si
push edi
mov edi, 0x10000
test eax, eax
je 0x430742
sub esi, eax
add esi, edi
jmp 0x430742
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x4306ef
add esi, 0x8000000
jmp 0x430742
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x430746
mov ecx, dword [ebp - 0x14]
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x430730
cmp ecx, edi
jb 0x430730
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x430748
jmp 0x4306d6
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x430742
mov eax, edi
sub eax, ecx
add esi, eax
cmp esi, ebx
jb 0x4306da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x430759
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [edx - 0x10000]
jmp 0x4307d5
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x43078b
sub esi, 0x8000000
jmp 0x4307de
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4307e2
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x4307cc
cmp dword [ebp - 0x14], edi
jb 0x4307cc
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4307e4
sub esi, edi
jmp 0x4307de
mov esi, dword [ebp - 0x1c]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x4307de
sub esi, eax
cmp esi, ebx
ja 0x430776
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret

Function at 0x4307f5
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, 0x80000
cmp esi, 0x7ff80000
mov ebx, edx
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
cmp byte [esi], 0xe9
jne 0x43085a
lea ecx, [esi + 5]
add ecx, dword [esi + 1]
cmp ecx, esi
jae 0x430849
cmp ecx, 0x80000000
lea eax, [ecx + 0x7ff80000]
mov edi, 0xfff80000
cmovb edi, eax
jmp 0x43085a
cmp ecx, 0x7ff80000
lea eax, [ecx - 0x7ff80000]
mov ebx, edx
cmova ebx, eax
mov edx, dword [0x518520]
mov eax, dword [0x51852c]
test edx, edx
jne 0x430875
test eax, eax
je 0x430888
mov edx, eax
mov dword [0x518520], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x430888
cmp ecx, ebx
jb 0x430888
cmp ecx, edi
jbe 0x430909
mov edx, eax
test eax, eax
jmp 0x4308a6
test edx, edx
je 0x4308a1
mov eax, dword [edx + 8]
test eax, eax
je 0x4308a1
cmp eax, ebx
jb 0x4308a1
cmp eax, edi
jbe 0x430909
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x518520], edx
jne 0x43088e
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.00430759
mov edx, eax
test edx, edx
jne 0x4308d1
mov edx, edi
mov ecx, esi
call fcn.004306b1
mov edx, eax
test edx, edx
je 0x43092e
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x51852c]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x518520], edx
mov dword [0x51852c], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
dec esi
jne 0x4308fb
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x43092e
cmp esi, edi
ja 0x43092e
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.004be330
add esp, 0xc
mov eax, esi
jmp 0x430930
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x430a09
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x518530], eax
je 0x430a30
mov eax, 0x10dd
jmp 0x430ab8
push ebx
push esi
push edi
mov edi, dword [0x518528]
xor ebx, ebx
test edi, edi
je 0x430a7a
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x430a6b
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x430a6b
call fcn.00430934
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push edi
call fcn.004b9238
mov edi, esi
pop ecx
test esi, esi
jne 0x430a3f
mov dword [0x518528], ebx
call fcn.00430659
mov edi, dword [0x51851c]
test edi, edi
je 0x430aa7
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [edi]
push edi
call fcn.004b9238
mov edi, esi
pop ecx
test esi, esi
jne 0x430a8f
pop edi
pop esi
mov dword [0x51851c], ebx
xor eax, eax
mov dword [0x518530], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x430d8d
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x518534]
push ebx
mov ebx, ecx
test eax, eax
jne 0x430df9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp ebx, eax
jne 0x430da7
xor eax, eax
pop ebx
ret
push esi
push edi
push 8
pop esi
push esi
call fcn.004b9c5d
mov edi, eax
pop ecx
test edi, edi
je 0x430dd4
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x430de5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.004b9238
pop ecx
and dword [0x518518], 0
mov eax, esi
mov dword [0x518534], esi
jmp 0x430df7
mov eax, dword [0x51851c]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [0x51851c], edi
pop edi
pop esi
pop ebx
ret
Function at 0x430dfb
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e010b
mov eax, dword fs:[0]
push eax
mov eax, 0x292c
call fcn.004be980
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00425380
mov dword [ebp - 0x66], 0x42424256
xor ecx, ecx
mov dword [ebp - 0x6a], 0x4256425e
mov dword [ebp - 0x6e], 0x42144259
mov dword [ebp - 0x72], 0x42524261
mov dword [ebp - 0x76], 0x42524256
mov dword [ebp - 0x7a], 0x425a4252
mov word [ebp - 0x7c], 0x4279
mov al, byte [ebp + ecx - 0x7c]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x7c], al
inc ecx
cmp ecx, 0x1a
jl 0x430e66
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
test edx, edx
je 0x431024
mov dword [ebp - 0x34], 0x42535c54
xor ecx, ecx
mov dword [ebp - 0x38], 0x794f505d
mov dword [ebp - 0x3c], 0x4e52615e
mov dword [ebp - 0x40], 0x814e5d7b
mov al, byte [ebp + ecx - 0x40]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0x10
jl 0x430eaa
lea eax, [ebp - 0x40]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x431024
and dword [ebp - 0x2930], 0
lea eax, [ebp - 0x292c]
push 0x287c
push 0
push eax
call fcn.004be330
add esp, 0xc
mov dword [ebp - 0x2934], 0x2880
lea eax, [ebp - 0x2934]
push eax
lea eax, [ebp - 0x2930]
push eax
call esi
test eax, eax
jne 0x431024
lea esi, [ebp - 0x2930]
mov bl, byte [esi + 0x194]
test bl, bl
jne 0x430f4c
cmp byte [esi + 0x195], bl
jne 0x430f4c
cmp byte [esi + 0x196], bl
jne 0x430f4c
cmp byte [esi + 0x197], bl
jne 0x430f4c
cmp byte [esi + 0x198], bl
jne 0x430f4c
cmp byte [esi + 0x199], bl
je 0x43101a
mov dword [ebp - 0x16], 0x426a1012
xor ecx, ecx
mov dword [ebp - 0x1a], 0x1d156a10
mov dword [ebp - 0x1e], 0x121d156a
mov dword [ebp - 0x22], 0x10121d15
mov dword [ebp - 0x26], 0x6a10121d
mov dword [ebp - 0x2a], 0x156a1012
mov dword [ebp - 0x2e], 0x1d156a10
mov word [ebp - 0x30], 0x121d
mov al, byte [ebp + ecx - 0x30]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 0x1e
jl 0x430f85
push 0x32
lea eax, [ebp - 0xaf]
mov byte [ebp - 0xb0], 0
push 0
push eax
call fcn.004be330
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb0]
push 0x32
push eax
call fcn.004bb88d
add esp, 0x30
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x48]
push eax
call fcn.004018ec
and dword [ebp - 4], 0
mov ecx, edi
push eax
call fcn.004297b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.004019c4
mov esi, dword [esi]
test esi, esi
jne 0x430f16
mov ecx, edi
call fcn.00425350
xor ecx, ecx
test al, al
sete cl
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x4311ef
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], edi
mov byte [edi], 0
test ecx, ecx
je 0x4312c9
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43120a
sub esi, edx
cmp esi, 4
jl 0x4312c9
mov eax, esi
and eax, reloc.WS2_32.dll_closesocket
jns 0x43122a
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4312c9
add esi, ecx
push ebx
mov ebx, edi
cmp ecx, esi
jae 0x4312b2
mov edx, esi
lea edi, [ecx + 2]
sub edx, ecx
dec edx
shr edx, 2
inc edx
movsx eax, byte [edi - 1]
mov ecx, dword [eax*4 + 0x501210]
movsx eax, byte [edi - 2]
sar ecx, 4
and cl, 3
mov al, byte [eax*4 + 0x501210]
shl al, 2
or cl, al
mov byte [ebx], cl
movsx eax, byte [edi]
mov ecx, dword [eax*4 + 0x501210]
movsx eax, byte [edi - 1]
sar ecx, 2
and cl, 0xf
mov al, byte [eax*4 + 0x501210]
shl al, 4
or cl, al
mov byte [ebx + 1], cl
movsx eax, byte [edi]
lea edi, [edi + 4]
movsx ecx, byte [edi - 3]
mov al, byte [eax*4 + 0x501210]
shl al, 6
or al, byte [ecx*4 + 0x501210]
mov byte [ebx + 2], al
add ebx, 3
dec edx
jne 0x431245
mov edi, dword [ebp - 4]
cmp byte [esi - 2], 0x3d
jne 0x4312be
mov byte [ebx - 2], 0
jmp 0x4312c8
cmp byte [esi - 1], 0x3d
jne 0x4312c8
mov byte [ebx - 1], 0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431666
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10f4
call fcn.004be980
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [esi + 0x14], 8
jb 0x43168d
mov eax, dword [esi]
jmp 0x43168f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4317a6
test al, 0x10
jne 0x4317a6
cmp dword [esi + 0x14], 8
jb 0x4316af
mov esi, dword [esi]
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43179c
lea ecx, [ebp - 0x10f4]
call fcn.00424030
push 0xfff
lea eax, [ebp - 0x1053]
mov byte [ebp - 0x1054], 0
push 0
push eax
call fcn.004be330
add esp, 0xc
push 0
lea eax, [ebp - 0x1058]
push eax
push 0x1000
lea eax, [ebp - 0x1054]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431741
cmp dword [ebp - 0x1058], 0
jbe 0x431741
push dword [ebp - 0x1058]
lea edx, [ebp - 0x1054]
lea ecx, [ebp - 0x10f4]
call fcn.00424070
cmp dword [ebp - 0x1058], 0
pop ecx
ja 0x4316f7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
xor eax, eax
lea edx, [ebp - 0x14]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x10f4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00424150
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call fcn.004be330
pop ecx
pop ecx
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x14]
call fcn.00424200
lea eax, [ebp - 0x54]
push eax
call fcn.00401241
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.00401a20
pop edi
xor eax, eax
cmp dword [ebx + 0x10], eax
setne al
jmp 0x4317a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x431c5f
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor esi, esi
xor eax, eax
push 0x208
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push esi
push eax
call fcn.004be330
add esp, 0xc
mov dword [ebp - 0x4e], 0x4242425d
mov dword [ebp - 0x52], 0x424a425d
mov dword [ebp - 0x56], 0x4214424a
mov dword [ebp - 0x5a], 0x42104212
mov dword [ebp - 0x5e], 0x421d424a
mov dword [ebp - 0x62], 0x42104212
mov dword [ebp - 0x66], 0x421d424a
mov dword [ebp - 0x6a], 0x42104212
mov dword [ebp - 0x6e], 0x421d424a
mov dword [ebp - 0x72], 0x42104212
mov dword [ebp - 0x76], 0x421d4214
mov dword [ebp - 0x7a], 0x42574250
mov dword [ebp - 0x7e], 0x4253424b
mov dword [ebp - 0x82], 0x425d4255
mov dword [ebp - 0x86], 0x42614250
mov dword [ebp - 0x8a], 0x427c4214
mov dword [ebp - 0x8e], 0x424e425d
mov word [ebp - 0x90], 0x4274
mov al, byte [ebp + esi - 0x90]
sub al, 3
xor al, 0x3f
mov byte [ebp + esi - 0x90], al
inc esi
cmp esi, 0x46
jl 0x431d2b
mov eax, ebx
and eax, 0xff000000
push eax
mov eax, ebx
and eax, 0xff0000
push eax
mov eax, ebx
and eax, 0xff00
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x90]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x29c]
push 0x104
push eax
call fcn.004bb328
add esp, 0x20
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
call fcn.00403567
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x432e25
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x6e], 0x42424256
push edi
mov dword [ebp - 0x72], 0x4256425e
mov ecx, esi
mov dword [ebp - 0x76], 0x42144210
mov dword [ebp - 0x7a], 0x420f4256
mov dword [ebp - 0x7e], 0x425d4254
mov dword [ebp - 0x82], 0x4250425d
mov word [ebp - 0x84], 0x4277
mov al, byte [ebp + ecx - 0x84]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x1a
jl 0x432e75
mov dword [ebp - 0x9c], 0x42424256
mov ecx, esi
mov dword [ebp - 0xa0], 0x4256425e
mov dword [ebp - 0xa4], 0x42144256
mov dword [ebp - 0xa8], 0x4256425e
mov dword [ebp - 0xac], 0x424e4254
mov al, byte [ebp + ecx - 0xac]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0xac], al
inc ecx
cmp ecx, 0x14
jl 0x432ec1
mov dword [ebp - 0xa], 0x424e545d
mov ecx, esi
mov dword [ebp - 0xe], 0x4f5d5072
mov dword [ebp - 0x12], 0x505d5b5b
mov dword [ebp - 0x16], 0x4d605d7e
mov word [ebp - 0x18], 0x4f79
mov al, byte [ebp + ecx - 0x18]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x12
jl 0x432efd
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x84]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x432f3d
call eax
test eax, eax
je 0x432f3d
xor eax, eax
inc eax
jmp 0x433045
mov dword [ebp - 0x1e], 0x424f4f5d
mov ecx, esi
mov dword [ebp - 0x22], 0x5f535072
mov dword [ebp - 0x26], 0x5453594e
mov dword [ebp - 0x2a], 0x61555053
mov dword [ebp - 0x2e], 0x5c547949
mov dword [ebp - 0x32], 0x505d4d71
mov word [ebp - 0x34], 0x4b68
mov al, byte [ebp + ecx - 0x34]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x1a
jl 0x432f6f
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xac]
push eax
call ebx
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x432fcd
push esi
push 4
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], esi
push eax
push 7
call edi
push eax
call dword [ebp - 0xb8]
test eax, eax
jne 0x432fcd
cmp dword [ebp - 0xb4], 0xffffffff
je 0x432f35
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x39], 0x424e545d
mov dword [ebp - 0x3d], 0x4f5d5072
mov dword [ebp - 0x41], 0x505d5b5b
mov dword [ebp - 0x45], 0x4d605d7e
mov dword [ebp - 0x49], 0x5d4e5355
mov dword [ebp - 0x4d], 0x5d70575f
mov word [ebp - 0x4f], 0x5d5a
mov byte [ebp - 0x50], 0x7f
mov al, byte [ebp + esi - 0x50]
sub al, 3
xor al, 0x3f
mov byte [ebp + esi - 0x50], al
inc esi
cmp esi, 0x1b
jl 0x433007
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x43303f
lea eax, [ebp - 0xb0]
push eax
call edi
push eax
call esi
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret