joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
mov word [ebp - 4], 0xbb01
movzx eax, word [ebp - 4]
push edi
mov word [ebp - 4], 0xbb01
mov edi, 2
mov dword [esi + 0x6c0], 0
mov dword [esi + 0x6c4], 2
mov word [esi + 0x632], ax
movzx eax, word [ebp - 4]
mov word [esi + 0x630], di
mov dword [esi + 0x634], 0x50849f67
mov word [esi + 0x622], ax
lea eax, [ebp - 0x54]
push 0x20
push eax
mov dword [ebp - 0x26], 0x6d6f632e
mov dword [ebp - 0x34], 0x6e65706f
mov dword [ebp - 0x30], 0x76726573
mov dword [ebp - 0x22], 0x436d0000
mov dword [ebp - 0x2c], 0x616e7265
mov word [ebp - 0x28], 0x656d
mov word [esi + 0x620], di
mov dword [esi + 0x624], 0x13de7825
mov dword [ebp - 4], 0
call fcn.0040302f
add esp, 8
mov dword [ebp - 0x50], edi
lea eax, [ebp - 4]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x48], 6
mov dword [ebp - 0x4c], 1
push eax
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0xa4]
call eax
test eax, eax
jne 0x401e9e
mov ecx, dword [ebp - 4]
mov eax, ecx
test eax, eax
je 0x401e9e
cmp dword [eax + 0x10], 0x10
je 0x401e5c
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x401e40
mov eax, dword [esi + 0xa8]
push ecx
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x18]
push ecx
movups xmm0, xmmword [eax]
mov eax, dword [esi + 0xa8]
movups xmmword [ebp - 0x18], xmm0
call eax
movups xmm0, xmmword [ebp - 0x18]
mov word [ebp - 4], 0xbb01
mov ax, word [ebp - 4]
psrldq xmm0, 4
mov word [esi + 0x640], di
movd dword [esi + 0x644], xmm0
mov word [esi + 0x642], ax
inc dword [esi + 0x6c4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402090
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
mov ebx, ecx
mov ecx, 1
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 0x6e4]
xor esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], ecx
nop word [eax + eax]
mov eax, dword [ebx + 0x94]
test ecx, ecx
je 0x40218b
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x134], edx
push ecx
push 0
push 0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], 1
push ecx
push 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
call eax
test eax, eax
js 0x40226d
je 0x4021fe
push 0
mov eax, 5
sub eax, esi
push eax
lea eax, [ebp - 0x14]
add eax, esi
push eax
push dword [ebp - 0x18]
mov eax, dword [ebx + 0x9c]
call eax
test eax, eax
jle 0x40226d
inc edi
test eax, eax
je 0x4021ff
add esi, eax
cmp esi, 5
jne 0x4021ff
cmp byte [ebp - 0x14], 0x17
jne 0x40226d
cmp byte [ebp - 0x13], 3
jne 0x40226d
cmp byte [ebp - 0x12], 3
jne 0x40226d
movzx eax, byte [ebp - 0x11]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x10]
mov byte [ebp - 8], al
movzx ebx, word [ebp - 8]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x40226d
mov ebx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
xor esi, esi
jmp 0x402202
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
sub ecx, esi
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], 1
push ecx
push 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
call eax
test eax, eax
js 0x40226d
je 0x4021fb
mov ecx, dword [ebp - 4]
push 0
push dword [ebp - 0x20]
lea eax, [ecx + 0x6ec]
add eax, esi
push eax
push dword [ebp - 0x18]
mov eax, dword [ecx + 0x9c]
call eax
test eax, eax
jle 0x40226d
add esi, eax
cmp esi, ebx
je 0x40220f
mov ebx, dword [ebp - 4]
jmp 0x4021ff
mov ebx, dword [ebp - 4]
inc edi
mov ecx, dword [ebp - 0xc]
cmp edi, 0x5a
jge 0x40226d
mov edx, dword [ebp - 0x18]
jmp 0x4020c0
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov edi, dword [ebp - 4]
test esi, esi
je 0x40223a
nop dword [eax + eax]
mov eax, dword [edi + 0x6c8]
lea edx, [edi + ebx]
movzx ecx, bl
inc ebx
mov al, byte [ecx + eax]
xor byte [edx + 0x6ec], al
cmp ebx, esi
jb 0x402220
cmp esi, 2
jb 0x40226d
lea eax, [esi - 2]
mov dword [edi + 0x618], eax
movsx eax, byte [edi + 0x6ec]
mov dword [edi + 0x610], eax
mov al, byte [edi + 0x6ed]
mov byte [edi + 0x614], al
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
add eax, 7
push edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x58]
lea ebx, [esi + 0x6cc]
push ebx
call eax
cmp dword [esi + 0x6e8], 0
je 0x4022bb
mov eax, dword [esi + 0x5c]
push ebx
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea edi, [edx + 2]
cmp edi, 0xffff
ja 0x4022ed
movzx ecx, di
mov eax, ecx
mov word [esi + 0x106eb], 0x317
shr eax, 8
mov byte [esi + 0x106ed], 3
mov byte [esi + 0x106ee], al
mov byte [esi + 0x106ef], cl
mov eax, dword [ebp - 4]
mov byte [esi + 0x106f0], al
mov al, byte [ebp + 8]
mov byte [esi + 0x106f1], al
test edx, edx
je 0x402316
lea eax, [esi + 0x106f2]
push eax
push edx
push dword [ebp + 0xc]
call fcn.00403056
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x40233a
nop dword [eax]
mov eax, dword [esi + 0x6c8]
lea edx, [esi + ebx]
movzx ecx, bl
inc ebx
mov al, byte [ecx + eax]
xor byte [edx + 0x106f0], al
cmp ebx, edi
jb 0x402320
push dword [ebp - 8]
mov edx, dword [esi + 0x6e4]
lea eax, [esi + 0x106eb]
push eax
push ecx
mov ecx, esi
call fcn.00403160
mov ecx, dword [esi + 0x5c]
add esp, 0xc
test eax, eax
lea eax, [esi + 0x6cc]
push eax
jne 0x402378
mov dword [esi + 0x6e8], 1
call ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402420
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], edx
mov edi, dword [eax + 0x14]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x4024a9
cmp word [edi + 0x24], 0x30
ja 0x4024a1
mov esi, dword [edi + 0x28]
xor ebx, ebx
movzx eax, word [esi]
test ax, ax
je 0x40248e
nop dword [eax + eax]
lea edx, [eax - 0x41]
lea ecx, [eax + 0x20]
cmp dl, 0x19
movzx ecx, cl
lea esi, [esi + 2]
movzx eax, al
cmova ecx, eax
imul eax, ebx, 0xc85e31
movsx ecx, cl
lea ebx, [eax + ecx]
movzx ecx, word [esi]
mov al, cl
test cx, cx
jne 0x402460
mov ecx, dword [ebp - 4]
cmp ebx, dword [ebp - 8]
je 0x402556
cmp dword [edi + 0x10], 0
je 0x402544
mov edi, dword [edi]
cmp edi, ecx
jne 0x402447
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
test ebx, ebx
je 0x40254d
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov ecx, dword [eax + ebx + 0x78]
mov edx, dword [eax + ebx + 0x50]
add ecx, ebx
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], edx
mov esi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x14]
add esi, ebx
mov dword [ebp - 8], esi
mov esi, dword [ecx + 0x24]
add esi, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x1c]
add esi, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esi
xor esi, esi
test eax, eax
je 0x402570
nop dword [eax + eax]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + esi*4]
lea eax, [ecx + 0xdc]
add eax, ebx
cmp edx, eax
jbe 0x40253c
mov al, byte [ecx + ebx]
lea edx, [ecx + ebx]
xor ecx, ecx
test al, al
je 0x402534
nop
imul ecx, ecx, 0xc85e31
lea edx, [edx + 1]
movsx eax, al
add ecx, eax
mov al, byte [edx]
test al, al
jne 0x402520
cmp ecx, dword [ebp + 8]
je 0x40255e
mov edx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x402500
jmp 0x40256d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 0x10]
jmp 0x4024a9
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
movzx eax, word [eax + esi*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov ecx, dword [ebp - 4]
cmp edi, ecx
jb 0x402580
mov eax, dword [ebp - 0x1c]
add eax, ecx
xor ecx, ecx
cmp edi, eax
cmovb edi, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
test edi, edi
je 0x40254d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
push edi
mov ecx, dword [eax]
call fcn.00402390
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x40254d
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.00403018
mov esi, eax
test esi, esi
je 0x4033bc
mov ecx, esi
call fcn.00401ab0
mov ecx, esi
call fcn.00401d60
xor edi, edi
lea ebx, [esi + 0xd4]
nop
xor edx, edx
nop dword [eax]
nop word [eax + eax]
imul ecx, dword [esi + 0x604], 0x343fd
mov eax, dword [esi + 0x4f8]
add ecx, 0x269ec3
mov dword [esi + 0x604], ecx
mov byte [edx + eax], cl
imul ecx, dword [esi + 0x604], 0x343fd
mov eax, dword [esi + 0x4f8]
add ecx, 0x269ec3
mov dword [esi + 0x604], ecx
mov byte [eax + edx + 1], cl
imul ecx, dword [esi + 0x604], 0x343fd
mov eax, dword [esi + 0x4f8]
add ecx, 0x269ec3
mov dword [esi + 0x604], ecx
mov byte [eax + edx + 2], cl
imul ecx, dword [esi + 0x604], 0x343fd
mov eax, dword [esi + 0x4f8]
add ecx, 0x269ec3
mov dword [esi + 0x604], ecx
mov byte [eax + edx + 3], cl
add edx, 4
cmp edx, 0x100
jl 0x403240
mov eax, dword [esi + 0x4f8]
mov byte [eax + 0x110], 0
mov eax, dword [esi + 0x4f8]
add eax, 0x100
push eax
push 0x10
push ebx
call fcn.00403056
add esp, 0xc
lea eax, [esi + 0x500]
push eax
mov eax, dword [esi + 0x4f8]
add eax, 0x111
push eax
mov eax, dword [esi + 0x48]
call eax
mov eax, dword [esi + 0x600]
xor ebx, ebx
add eax, 0x111
mov dword [esi + 0x4fc], eax
add eax, 0xffffff00
je 0x403349
mov ecx, dword [esi + 0x4f8]
movzx eax, bl
lea edx, [ecx + ebx]
inc ebx
mov al, byte [eax + ecx]
xor byte [edx + 0x100], al
mov eax, dword [esi + 0x4fc]
sub eax, 0x100
cmp ebx, eax
jb 0x403324
mov ecx, esi
call fcn.00401eb0
test eax, eax
je 0x403369
mov ecx, esi
call fcn.00401060
lea ebx, [esi + 0xd4]
test eax, eax
jne 0x403230
add dword [esi + 0x6c0], 1
mov eax, dword [esi + 0x6c0]
js 0x403380
cmp eax, dword [esi + 0x6c4]
jl 0x40338a
mov dword [esi + 0x6c0], 0
mov eax, dword [esi + 0x18]
push 0xafc8
call eax
add edi, 0x2d
cmp edi, 0x708
jl 0x4033a6
mov ecx, esi
call fcn.00401d60
xor eax, eax
cmp edi, 0x708
cmovl eax, edi
mov dword [esp + 0xc], eax
mov edi, eax
jmp 0x403229
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x302d5b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x302d5c7
push 0x57
call fcn.0309c160
jmp 0x302d624
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x302d5ea
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x302d622
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x302d617
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x302d617
mov eax, dword [ebp - 4]
jmp 0x302d624
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x302d5e1
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x3037260
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x14], 0
jne 0x3037286
cmp dword [ebp + 0x18], 0
je 0x303727a
cmp dword [ebp + 0x1c], 0
jne 0x3037286
push 0x57
call fcn.0309c160
jmp 0x30373d5
mov eax, dword [ebp + 8]
push eax
call fcn.0309c160
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30372a4
push 6
call fcn.0309c160
jmp 0x30373d5
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0309c160
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x30372cc
push 0x7e
call fcn.0309c160
jmp 0x30373d5
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x303738b
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 0x14]
push ecx
call dword [0x31185fc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x303730e
push 0x57
call fcn.0309c160
jmp 0x30373d5
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0
jne 0x3037339
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x57
call fcn.0309c160
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0309c160
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x303737f
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x303737f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x1c]
je 0x303737f
mov ecx, dword [ebp - 4]
push ecx
call fcn.0309c160
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x30373b1
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0309c160
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x30373b1
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x30373c0
push 0x57
call fcn.0309c160
jmp 0x30373d5
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0309c160
mov esp, ebp
pop ebp
ret 0x18
Function at 0x309c160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x309c16f
pop dword [ebp - 0x2c]
mov eax, 0xc896a42
sub eax, 0x97fa8d3
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x66d9a
push 0
mov eax, 0x7b9573b
add eax, 0xfb46b98d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x3bd904a3
sub ecx, 0x3bd8c49a
xor ebx, ebx
add ebx, eax
mov edx, 0x3141000
add edx, dword [ebp - 0x2c]
mov edi, 0xb166df6e
xor dword [ebp - 4], 0x2ff5601c
mov esi, dword [edx]
add dword [ebp - 4], ebx
add esi, edi
mov dword [ebx], esi
add dword [ebp - 0xc], ecx
add ebx, 0x502d0c5
sub ebx, 0x502d0c1
add edx, 0xba9f9664
add edx, 0x456069a0
loop 0x309c1c4
add eax, 0xf2f7
mov ebx, eax
add eax, 0xf4b7b7a3
sub eax, 0xf4b7b79e
mov ecx, 0x3000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x405a12
pop dword [ebp - 0x24]
mov eax, 0x405a12
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xcbb1edce
sub dword [ebp - 0x34], 0x7d5fa883
mov dword [ebp - 0x30], 0x6d8ff241
sub dword [ebp - 0x30], 0x3b5ca5fc
mov dword [ebp - 0x2c], 0x10120ea3
add dword [ebp - 0x2c], 0x3c3a358b
mov dword [ebp - 0x28], 0xba65eed6
add dword [ebp - 0x28], 0x459a112a
lea eax, [ebp - 0x34]
push eax
mov eax, 0xd86b491f
add eax, 0x27d537e5
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xef336626
add dword [ebp - 0x34], 0x853f0330
mov dword [ebp - 0x30], 0x38592f58
add dword [ebp - 0x30], 0x913321d
mov dword [ebp - 0x2c], 0xb55d7465
sub dword [ebp - 0x2c], 0x51ee07f9
mov dword [ebp - 0x28], 0xac153fed
add dword [ebp - 0x28], 0x53eac013
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8cc
push 0
call eax
mov ecx, 0x4cdd3fb0
sub ecx, 0x4cdce969
xor edi, edi
add edi, eax
mov edx, 0xc0f7dbee
add edx, 0x3f4f0812
add edx, dword [ebp - 0x24]
mov esi, 0xcf6da5fb
xor dword [ebp - 8], 0x77157be7
mov ebx, dword [edx]
add dword [ebp - 8], 0xa8f09e9d
add ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x20], 0xc2a412a6
add edi, 4
add edx, 4
loop 0x405b26
add eax, 0xc96dbca2
add eax, 0x36938f4d
mov ebx, eax
add eax, 0x8ac890e6
add eax, 0x75376f1f
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x73aa7dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x73aa7ded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x73aa7ded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x73ac98b0
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
jmp 0x73ac98ce
cmp byte [esp + 8], 1
jne 0x73acd2df
jmp 0x73ac98ff
pushal
mov esi, section..text
jmp 0x73ac9937
lea edi, [esi - 0x53000]
lea eax, [edi + 0x6d46c]
push dword [eax]
jmp 0x73ac9977
mov dword [eax], 0x1aae4c86
push eax
push edi
jmp 0x73ac99a9
jmp 0x73acc48c
push eax
push esi
push edi
mov eax, 0x258a2
add eax, 2
push eax
push esi
call fcn.73acc2c6
add esp, 8
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, dword [eax + 4]
mov ecx, dword [eax]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax]
sub edx, 2
pop edi
pop esi
pop eax
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x73acc4c1
jmp 0x73acc510
inc esi
inc esi
push ebx
push 0x77108
push edi
add ebx, 4
jmp 0x73acc572
push ebx
push edx
push esi
add ebx, 4
push ebx
push eax
mov dword [ebx], 0x20003
jmp fcn.73acc5d6
jmp loc.73a84f77
Function at 0x73acad35
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 8
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x1000000
mov dword [ebp - 0x54], 0x2000000
mov dword [ebp - 0x50], 0x4000000
mov dword [ebp - 0x4c], 0x8000000
mov dword [ebp - 0x48], 0x10000000
mov dword [ebp - 0x44], 0x20000000
mov dword [ebp - 0x40], 0x40000000
mov dword [ebp - 0x3c], 0x80000000
mov dword [ebp - 0x38], 0x1b000000
mov dword [ebp - 0x34], 0x36000000
mov dword [ebp - 8], 0
jmp 0x73acae42
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx eax, al
shl eax, 0x18
mov edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 2]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 8
mov ecx, edx
or ecx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea edx, [eax + 3]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx edx, al
mov eax, dword [ebp - 8]
lea ebx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, ebx
or edx, ecx
mov dword [eax], edx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jl 0x73acadd0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x73acaef7
mov eax, dword [ebp - 0xc]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
test eax, eax
jne 0x73acaea2
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.73ac99ae
mov dword [esp], eax
call fcn.73aca8e8
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
xor eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x73acaecc
cmp dword [ebp - 0x14], 8
sete cl
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cmp eax, 4
sete al
and eax, ecx
test al, al
je 0x73acaecc
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.73aca8e8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
lea ecx, [edx*4]
mov edx, dword [ebp + 0xc]
add edx, ecx
xor eax, dword [ebp - 0x10]
mov dword [edx], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
cmp dword [ebp - 0xc], eax
jl 0x73acae55
nop
nop
mov ebx, dword [ebp - 4]
leave
ret