joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov esi, ecx
mov eax, dword [0x440014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.00414cd0
add esp, 0xc
cmp byte [0x4422d8], 0
je 0x407c50
push edi
push 0x43a418
push 0x4418a4
call fcn.00410e10
add esp, 0xc
test eax, eax
jne 0x407c6d
jmp 0x407cba
push 0x43a40c
push 0x4418a4
push str._s_s
push 0x105
push edi
call fcn.00404340
add esp, 0x14
push 0x43ae02
push edi
call fcn.0041e056
add esp, 8
test eax, eax
je 0x407cba
mov edi, eax
push esi
call fcn.00420710
add esp, 4
push edi
push 1
push eax
push esi
call fcn.0041fc54
add esp, 0x10
cmp eax, 1
jne 0x407cbe
cmp byte [0x4422d8], 0
je 0x407cb6
push 0x4418a4
call fcn.00410e90
add esp, 4
test eax, eax
je 0x407cbe
mov bl, 1
jmp 0x407cc0
xor ebx, ebx
jmp 0x407cc9
xor ebx, ebx
push edi
call fcn.0041f2e7
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
mov eax, ebx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407ce0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x624
mov eax, dword [0x440014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x407e1f
mov eax, dword [0x4424e4]
test eax, eax
je 0x407d33
push eax
call fcn.0041f2e7
add esp, 4
mov dword [0x4424e4], 0
cmp byte [0x4420cd], 1
jne 0x407e0a
lea esi, [ebp - 0x21a]
push 0x20a
push 0
push esi
call fcn.00414cd0
add esp, 0xc
push esi
push 0x43a418
push 0x4418a4
call fcn.00410e10
add esp, 0xc
test eax, eax
je 0x407da5
xor edi, edi
lea ebx, [ebp - 0x424]
push 0x20a
push edi
push ebx
call fcn.00414cd0
add esp, 0xc
push 0x4418a4
push str._supdate.status
push 0x105
push ebx
call fcn.00404340
add esp, 0x10
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea esi, [ebp - 0x424]
push 0x20a
push 0
push esi
call fcn.00414cd0
add esp, 0xc
push esi
push 0x43aa48
push 0x4418a4
call fcn.00410e10
add esp, 0xc
test eax, eax
je 0x407e0a
xor edi, edi
lea ebx, [ebp - 0x62e]
push 0x20a
push edi
push ebx
call fcn.00414cd0
add esp, 0xc
push 0x4418a4
push str._supdate.log
push 0x105
push ebx
call fcn.00404340
add esp, 0x10
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
add esp, 0x624
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x407d17
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x407d17
Function at 0x40a510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x244
mov ebx, edx
mov edi, ecx
mov eax, dword [0x440014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x21a]
push 0x20a
push 0
push esi
call fcn.00414cd0
add esp, 0xc
push esi
push 0x43a418
push 0x4418a4
call fcn.00410e10
add esp, 0xc
test eax, eax
je 0x40a637
mov dword [ebp - 0x244], edi
push 0x43acce
push esi
call fcn.0041e056
add esp, 8
test eax, eax
je 0x40a637
mov edi, eax
mov dword [ebp - 0x24c], ebx
xorps xmm0, xmm0
lea ebx, [ebp - 0x23c]
movups xmmword [ebx + 0x10], xmm0
movups xmmword [ebx], xmm0
push eax
push 0x1f
push 1
push ebx
call fcn.0041fa36
add esp, 0x10
mov esi, eax
push edi
call fcn.0041f3e2
add esp, 4
test eax, eax
sete al
mov dword [ebp - 0x250], eax
jne 0x40a69a
mov eax, dword [ebp + 8]
mov byte [ebp + esi - 0x23c], 0
test eax, eax
je 0x40a5d2
cmp byte [eax + 4], 0
je 0x40a5d2
mov byte [eax + 4], 0
push 0x3a
push ebx
call fcn.00414e30
add esp, 8
test eax, eax
jne 0x40a600
push 0xa
push ebx
call fcn.00414e30
add esp, 8
test eax, eax
jne 0x40a600
push ebx
call fcn.00420710
add esp, 4
add eax, ebp
add eax, 0xfffffdc4
mov dword [ebp - 0x248], eax
mov esi, eax
sub esi, ebx
mov eax, dword [ebp - 0x244]
mov ebx, eax
push eax
call fcn.00420710
add esp, 4
cmp esi, eax
jne 0x40a63b
push esi
push ebx
lea eax, [ebp - 0x23c]
push eax
call fcn.004207a0
add esp, 0xc
test eax, eax
sete cl
jmp 0x40a63d
xor ebx, ebx
jmp 0x40a6a9
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
mov ebx, dword [ebp - 0x248]
je 0x40a692
cmp byte [ebx], 0x3a
jne 0x40a692
mov dword [ebp - 0x244], ecx
inc ebx
lea esi, [ebp - 0x240]
mov dword [esi], 0
push 0xa
push esi
push ebx
call fcn.004209d8
add esp, 0xc
cmp dword [esi], ebx
je 0x40a68c
lea ecx, [eax - 0x7fffffff]
cmp ecx, 2
jb 0x40a68c
mov ecx, dword [ebp + 8]
cmp byte [ecx + 4], 0
jne 0x40a6c0
mov dword [ecx], eax
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x24c]
mov byte [eax], cl
push edi
call fcn.0041f2e7
add esp, 4
mov ebx, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
mov eax, ebx
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x40bb00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov eax, dword [0x440014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [esi], 0
lea edi, [ebp - 0x14]
push 0x43acce
push dword [ebp + 8]
push edi
call fcn.0041e06d
add esp, 0xc
mov ebx, dword [edi]
test ebx, ebx
je 0x40bb9f
mov dword [esi], 0
push 0x410
call fcn.00420172
add esp, 4
mov esi, 2
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40bcbd
xor eax, eax
push 2
push eax
push eax
push ebx
call fcn.0041a2b6
add esp, 0x10
test eax, eax
je 0x40bbce
push ebx
call fcn.0042026f
add esp, 4
push 2
call fcn.0041552f
add esp, 4
push eax
push 1
push 0x2a
push str.Warning:_MAR_size_could_not_be_determined_n
call fcn.0041fc54
add esp, 0x10
mov dword [ebp - 0x18], 0
mov esi, 0x1f400000
jmp 0x40bbf9
push 2
call fcn.0041552f
add esp, 4
push eax
push 1
push 0x2a
push str.ERROR:_could_not_open_file_in_mar_wopen___n
call fcn.0041fc54
add esp, 0x10
push dword [ebp + 8]
call fcn.0041e194
add esp, 4
xor esi, esi
inc esi
jmp 0x40bcc8
push ebx
call fcn.0041b001
add esp, 4
mov esi, eax
push ebx
call fcn.0042026f
add esp, 4
test esi, esi
js 0x40bb75
cmp esi, 0x1f400001
jae 0x40bd00
mov dword [ebp - 0x18], 0
push esi
call fcn.00420172
add esp, 4
mov edi, dword [ebp - 0x1c]
mov dword [edi], eax
test eax, eax
je 0x40bc75
mov ecx, esi
mov esi, eax
push ebx
mov dword [ebp - 0x20], ecx
push ecx
push 1
push eax
call fcn.0041fa36
add esp, 0x10
mov dword [edi + 4], eax
push ebx
call fcn.0041f6a1
add esp, 4
cmp eax, 0xffffffff
jne 0x40bcdc
push ebx
call fcn.0041f3e2
add esp, 4
test eax, eax
je 0x40bca1
push 2
call fcn.0041552f
add esp, 4
push eax
push 1
push 0x1a
push str.ERROR:_Failed_to_read_MAR_n
call fcn.0041fc54
add esp, 0x10
push dword [edi]
call fcn.0041fc39
add esp, 4
push edi
call fcn.0041fc39
add esp, 4
xor esi, esi
inc esi
jmp 0x40bcbd
push 2
call fcn.0041552f
add esp, 4
push eax
push 1
push 0x29
push str.ERROR:_MAR_buffer_could_not_be_allocated_n
call fcn.0041fc54
add esp, 0x10
push edi
call fcn.0041fc39
add esp, 4
mov esi, 2
jmp 0x40bcbd
mov eax, edi
add eax, 8
push 0x408
push 0
push eax
call fcn.00414cd0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor esi, esi
push dword [ebp - 0x14]
call fcn.0041f2e7
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.0041552f
add esp, 4
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push str.ERROR:_File_is_larger_than_buffer___lli__n
push eax
call fcn.00432360
add esp, 0x10
push esi
jmp 0x40bc5f
push 2
call fcn.0041552f
add esp, 4
push 0
push esi
push str.ERROR:_MAR_exceeds_maximum_size___lli__n
push eax
call fcn.00432360
add esp, 0x10
push dword [ebp - 0x1c]
call fcn.0041fc39
add esp, 4
mov esi, 3
jmp 0x40bcbd
Function at 0x432180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x440014]
xor ecx, ebp
mov dword [esp + 0xa8], ecx
lea edi, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.00401070
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x4322ac
mov dword [esp + 8], eax
xor ebx, ebx
lea edi, [esp + 0x10]
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x43222b
cmp dword [esp + 0x10], 0
je 0x43222b
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movaps xmmword [eax + 0x60], xmm0
movaps xmmword [eax + 0x50], xmm0
movaps xmmword [eax + 0x40], xmm0
movaps xmmword [eax + 0x30], xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
xor ebx, ebx
push ebx
push 0x70
push eax
push 9
push ebx
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x43222b
mov eax, dword [esp + 0x40]
bt eax, 0xd
jae 0x43222b
shl eax, 0xd
and eax, 0x1000000
mov ebx, eax
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movups xmmword [eax + 4], xmm0
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x14], xmm0
mov dword [eax], 0x44
mov dword [eax + 8], str.winsta0Default
movaps xmmword [esp + 0x10], xmm0
xor edi, edi
push ecx
push eax
push edi
push edi
push ebx
push edi
push edi
push edi
mov ebx, dword [esp + 0x28]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test eax, eax
je 0x4322b9
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x4322b0
mov dword [ecx], eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00412343
add esp, 4
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00412e03
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x432294
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x432281
lea ebx, [esp + 0xc]
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push edi
push ebx
push 0x400
push eax
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebx]
test eax, eax
mov ecx, 0x43ae20
cmovne ecx, eax
sub esp, 8
mov dword [esp + 4], ecx
call fcn.00432310
add esp, 8
mov eax, dword [ebx]
test eax, eax
je 0x432302
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 8]
jmp 0x43228b
Function at 0x40edb7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40edf6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40edf6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40edf6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40edf6
cmp dword [ecx + 0x74], 0xe
jbe 0x40edf6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d94f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432bd0
push 0x432bc8
push str.FlsAlloc
push 0x1e
call fcn.0041d7bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d983
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
jmp 0x41d989
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d9cd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432be0
push 0x432bd8
push str.FlsGetValue
push 0x20
call fcn.0041d7bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41da04
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x420b29
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x420bc6
push ebx
push esi
call fcn.00420af2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00420a3b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x420b73
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420bc5
push edi
push eax
call fcn.0041e7ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x420b93
call fcn.0041dca5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420bc4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00420a3b
add esp, 0x20
test eax, eax
jne 0x420bb2
push edi
call fcn.0041dca5
jmp 0x420bba
push ebx
call fcn.0041dca5
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4250c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424f31

Function at 0x4254ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cba0
mov eax, dword [0x492cd8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041f621
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254fc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425658
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c9d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x494438]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004264b1
mov ecx, dword [esi*4 + 0x494438]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x425651
cmp eax, dword [edi + ecx + 0x24]
jne 0x425651
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425651
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004264b1
add esp, 0x14
test edx, edx
jl 0x425651
jg 0x4255c7
test eax, eax
jb 0x425651
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425651
jl 0x4255e1
cmp dword [ebp - 0x1008], eax
ja 0x425651
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255ff
test ebx, ebx
je 0x425638
cmp ecx, edi
jae 0x425638
mov al, byte [ecx]
cmp al, 0xd
jne 0x425619
lea eax, [edi - 1]
cmp ecx, eax
jae 0x425625
cmp byte [ecx + 1], 0xa
jne 0x425625
inc ecx
jmp 0x425625
movzx eax, al
movsx eax, byte [eax + 0x493478]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255ff
cmp edx, ebx
jne 0x4255ff
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425656
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f1f6
leave
ret
Function at 0x42594f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x494438]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42598f
cmp byte [ebx], 0xa
jne 0x42598f
or byte [eax + edi + 0x28], 4
jmp 0x425994
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425a92
mov al, byte [edx]
cmp al, 0x1a
je 0x425a74
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4259c3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4259e8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4259f2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4259a5
jmp 0x425a92
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425a6f
cmp dword [ebp - 0xc], 0
je 0x425a6f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x494438]
test byte [eax + edi + 0x28], 0x48
je 0x425a49
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425a34
mov byte [esi], dl
jmp 0x425a45
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x494438]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a92
cmp byte [ebp - 1], 0xa
jne 0x425a58
cmp esi, ebx
jne 0x425a58
mov byte [esi], 0xa
jmp 0x425a91
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004264cf
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a92
mov byte [esi], 0xd
jmp 0x425a91
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x494438]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a8e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a92
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425a9b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x494438]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425ade
cmp word [esi], dx
jne 0x425ade
or byte [edi + eax + 0x28], 4
jmp 0x425ae3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425c36
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425c16
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425b25
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b5b
cmp eax, edx
jae 0x425b67
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425afd
jmp 0x425c36
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425c12
cmp dword [ebp - 0x14], 0
je 0x425c12
mov eax, dword [ebx*4 + 0x494438]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425bea
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425bb3
mov word [esi], cx
jmp 0x425be6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x494438]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x494438]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x494438]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425c36
pop ebx
cmp word [ebp - 4], bx
jne 0x425bfb
cmp esi, dword [ebp + 0xc]
jne 0x425bfb
mov word [esi], bx
jmp 0x425c33
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004264cf
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425c36
push 0xd
jmp 0x425c2f
mov ecx, dword [ebx*4 + 0x494438]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425c2d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425c36
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42c8f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c91d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c91d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x718f0b63
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3da72304
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x8e1148
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e114e
pop ebp
sub ebp, 6
sub ebp, 0x4e1148
jmp 0x8e11ac
jmp 0x8e11b5
mov eax, 0x4e1148
add eax, ebp
add eax, 0x93
mov ecx, 0x637
dec esi
add byte [ebx], al
lds eax, [ecx + 0x93c0]
add byte [ecx + 0x637], bh
mov edx, 0x6e271ecd
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e11cc
jmp 0x8e11df
cmpsd dword [esi], dword es:[edi]
lea esp, [ebp - 0x32322233]
movsd dword es:[edi], dword [esi]
int 1
loope 0x8e11b8
dec esp
cmp eax, 0x1def9398
dec esp
cmp eax, 0x1def9398
dec byte [0xf158329d]
pushfd
mov ebp, ecx
popfd
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x35], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [ebp - 0x3b04f65b], bl
int 0xa5
dec esp
pop ss
mov ebp, ecx
int3