joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f043c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x5f046c
push edi
call ebx
push eax
call fcn.005f058a
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x5f0496
test byte [ebp - 4], 1
je 0x5f0496
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x5f0496
push edi
call ebx
push eax
call fcn.005f058a
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x5f053c
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.005f0389
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x5f04c8
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.005f0389
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x5f04de
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.005f0389
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5f0508
push 0
call ebx
push eax
call fcn.005f058a
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x5f0526
push eax
call ebx
push eax
call fcn.005f058a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x5f053a
push eax
call ebx
push eax
call fcn.005f058a
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x5f0563
test byte [ebp - 4], 1
jne 0x5f0563
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x5f0563
push edi
call ebx
push eax
call fcn.005f058a
pop edi
pop ebx
leave
ret 8
Function at 0x647880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x172000]
push edi
or ebp, 0xffffffff
jmp 0x6478a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6478a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x647898
mov eax, 1
add ebx, ebx
jne 0x6478bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6478cc
jne 0x6478eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6478eb
dec eax
add ebx, ebx
jne 0x6478d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6478b0
add ebx, ebx
jne 0x6478e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x64793d
xor ecx, ecx
sub eax, 3
jb 0x647903
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x647972
sar eax, 1
mov ebp, eax
jmp 0x64790e
add ebx, ebx
jne 0x64790e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6478dc
inc ecx
add ebx, ebx
jne 0x64791c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6478dc
add ebx, ebx
jne 0x647929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x64791e
jne 0x64793a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x64791e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x64795c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x64794e
jmp 0x64789e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x64795c
add edi, ecx
jmp 0x64789e
pop esi
mov edi, esi
mov ecx, 0x389d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x64797a
cmp byte [edi], 0x12
jne 0x64797a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x64797f
lea edi, [esi + 0x244000]
mov eax, dword [edi]
or eax, eax
je 0x6479f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24cbfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24ccc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6479ac
mov ecx, edi
jns 0x6479db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24ccc8]
or eax, eax
je 0x6479f1
mov dword [ebx], eax
add ebx, 4
jmp 0x6479c9
call dword [esi + 0x24ccc4]
mov ebp, dword [esi + 0x24cccc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x647a2b
sub esp, 0xffffff80
jmp 0x4715ce
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x76115ddd
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0xfed715d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, section..data
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xd
push eax
mov ecx, 8
mov ebx, eax
call sub.tools.dll_ReverseDwordData
mov ecx, 8
mov ebx, dword [esp]
add ebx, 0x20
call sub.tools.dll_ReverseDwordData
pop eax
mov ecx, 8
call sub.tools.dll_BigNumAdd
push eax
mov ecx, 8
mov ebx, eax
call sub.tools.dll_ReverseDwordData
pop eax
mov esi, eax
mov edi, eax
add edi, 0x20
mov eax, 8
call sub.tools.dll_CompareDwordData
or eax, eax
push 0
push 0x402510
je 0x401070
push 0x15
push 0x4024e0
jmp 0x401077
push 0x15
push 0x4024f5
push dword [0x402514]
call sub.KERNEL32.dll_WriteFile
mov ecx, dword [ebp - 8]
dec ecx
je 0x401099
mov eax, dword [ebp - 4]
add eax, 0x60
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x401015
mov esp, ebp
pop ebp
ret
Function at 0x595f97
Capabilities:
Check for software breakpoints
Execute anti-debugging instructions

Disassembly:
push 0xf05873ec
jmp 0x596001
push word [esp + 7]
call 0x595f9f
sahf
push word [esp + 7]
push dword [esp + 9]
jmp 0x595fd6
push dword [esp + 3]
jg 0x595f74
jle 0x595f7f
xchg dword [esp], eax
lea eax, [eax + 0x37]
call fcn.00595fcb
push 0xf05873ec
jmp 0x597caf
lea esp, [esp + 2]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x595ffb
pushfd
jmp 0x595eed
rdtsc
bswap esi
call fcn.00596041
add eax, 0x84d1e251
jmp 0x5975d5
sub esp, 0x14
je 0x5975f6
sub esp, 4
jmp 0x5975f9
xchg dl, dh
jmp 0x5975bc
cmp dh, 0xcc
je 0x5975fd
rcr edx, cl
jmp 0x5975ff
sub esp, 4
mov esp, esi
jmp 0x5975d9
rcr edx, cl
call 0x597605
push ds
lea edx, [ebp - 0x5b]
jmp 0x59789e
sub esp, 0
push eax
ret
neg dx
jbe 0x59760d
sub esp, 0
jmp 0x597610
jmp 0x597cdb
mov byte [esp + 1], al
mov word [esp], cx
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
pushfd
jmp 0x595faa
mov ax, word [esp]
mov eax, dword [esp]
rdtsc
sub esp, 8
jl 0x597d33
jge 0x597d33
mov word [edi], es
xchg edi, eax
add esi, ecx
sub bh, byte [eax + 0x6b8492e]
add al, 0x95
add eax, 0x845e9f6c
aaa
push ds
mov dword [esp + 3], esi
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 0x1c], ebp
push dx
lea esp, [esp + 2]
mov dword [esp + 0x18], esi
pushfd
jmp 0x597cc5
mov ebp, dword [esp + 0x34]
mov eax, dword [esp]
xchg dx, ax
bswap esi
jmp 0x597d4b
jmp 0x597d1d
sub esp, 0xb8
call fcn.00597d7d
push ecx
rcl byte [esi + 0x31], 0xc0
add bh, ch
int3
lea esi, [esp + 8]
xchg edx, eax
bswap ebx
jmp 0x597d35

Function at 0x596041
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
add esp, 0x1a
ja 0x596047
lea esp, [esp + 2]
jmp 0x59604b
mov ebp, dword [esp + 0x30]
jmp 0x59602b
lea esp, [esp + 2]
jmp 0x5961fa

Function at 0x596112
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop dx
xchg edx, eax
mov dx, word [esp + 1]
mov dx, bx
lea esp, [esp + 2]
jmp 0x5960eb
Function at 0x5977c9
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ch, byte [esp]
lea edx, [ecx*4]
lea ebx, reloc.SHELL32.dll_ShellExecuteW
bswap eax
call fcn.0059764b
add dh, 0x83
xchg cl, dh
mov cl, ah
mov ch, 0x35
xchg cl, dl
jmp 0x59776b
bswap edx
bsf cx, di
inc dx
call 0x597701
mov dl, byte [esp]
inc edx
jmp 0x597785
xchg dword [esp], ebp
clc
lea edx, [edx + esi]
mov cx, 0x9ab8
lea ecx, [ebp*4]
lea ebp, [ebp - 0x2f]
jmp 0x59772e
lea edx, [edi - 0x80]
sub esp, 0xc
jge 0x5977a1
mov byte [esp], bl
pushal
jmp 0x5977ab
mov byte [esp], bl
jmp 0x5977aa
pushal
and dl, 0xfc
sub esp, 0x10
jne 0x5977f5
lea esp, [esp + 0xe]
lea esp, [esp + 1]
stc
lea esp, [esp + 1]
jmp 0x59785a
mov dx, 0xc419
mov eax, ebx
mov edx, 0x52bc3ce7
xchg dword [esp], ebx
mov ax, cx
jmp 0x59768e
lea esp, [esp + 0xe]
lea esp, [esp + 1]
stc
jmp 0x5977f7
jmp 0x5977df
lea esp, [esp + 1]
jmp 0x59785a
add esp, 2
lea esp, [esp + 2]
jmp 0x59782f
add esp, 2
lea esp, [esp + 2]
mov esp, edx
jmp 0x597878
push edi
push ecx
mov esi, eax
jmp 0x597862
pushal
rdtsc
mov dword [esp + 0x18], ecx
push ecx
pop word [esp]
jmp 0x597880
sub edx, ecx
push edx
stc
jno 0x597828
jo 0x597812
mov edi, edx
jmp 0x597839
pushfd
lea esi, [ecx + edx - 0x40]
push esi
jmp 0x597833
push word [esp + 1]
jle 0x597957
lea esp, [esp + 4]
popal
jmp 0x5978cc
pop edi
pop esi
popfd
jmp fcn.005962fa
cld
rep movsb byte es:[edi], byte [esi]
pop ecx
jmp 0x5978af
lea esp, [esp + 4]
popal
jmp 0x5978cc

Function at 0x59a7dc
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, 0xc9
jmp 0x59a80c
lea edx, reloc.SHELL32.dll_ShellExecuteW
call fcn.0059a7f6
mov eax, dword [esp]
rdtsc
bswap eax
mov dx, word [esp]
jmp 0x59ac7d
or ax, 0xae66
mov dl, 0x95
ror edx, cl
jmp 0x59ac62
bsr dx, dx
jmp 0x59ac30
not esi
lea ebx, [edi*4]
neg dh
jmp 0x59afab
lea edx, [edx*4]
mov dx, di
not bh
jmp 0x59ac4c
add esi, 0x7f94e303
cmc
je 0x59ac46
bsr dx, dx
or ax, 0xae66
mov dl, 0x95
ror edx, cl
lea edx, [edx*4]
jmp 0x59ac69
rdtsc
mov eax, dword [esp]
mov al, dh
jmp fcn.0059ac9b
je 0x59b67f
bswap ebx
jmp 0x59b681
bswap ebx
add esi, dword [edi]
xchg bh, dl
jmp 0x59acb1

Function at 0x59a7f6
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
sub esi, 0x4594053e
lea eax, reloc.SHELL32.dll_ShellExecuteW
jmp 0x59a817

Function at 0x59c0e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
jmp 0x59c33d

Function at 0x59c2ed
Capabilities:
Execute anti-debugging instructions

Disassembly:
shl edi, cl
jb 0x59c2b2
sub esp, 0xf
lea esp, [esp + 3]
jmp 0x59c2d3

Function at 0x59c35b
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmc
shl bh, 3
bsr dx, di
not cx
xchg dword [esp], eax
jmp 0x59c345
Function at 0x59c539
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.0059c56c
lea esp, [esp + 4]
jmp 0x59c5f5
sub ebp, 0x832a1a8
or bl, dh
jmp 0x59c648
cmc
push esi
mov dx, si
lea eax, [ebx + ebp]
jmp 0x59c64e
mov dx, si
lea eax, [ebx + ebp]
jmp 0x59c64e
jge 0x59c603
cmc
push esi
jmp 0x59c632
lea esp, [esp + 4]
not ebp
lea eax, [ebp*4]
btc dx, ax
js 0x59ca0f
rdtsc
jmp 0x59c835
jmp 0x59c6d3
rdtsc
add ebp, dword [edi]
rcr bx, cl
js 0x59c74c
neg dx
jmp fcn.0059c69b
jmp 0x59c833
Function at 0x64e8e3
Capabilities:
Execute anti-debugging instructions

Disassembly:
rol ax, cl
mov bx, si
btr eax, ecx
setle bl
push dword [esp + 8]
jmp 0x64e8ff
push dword [esp + 5]
jmp 0x64e8cd
mov word [esp + 0xe], bx
mov dh, 0xa6
neg ebx
mov dx, word [esp + 0x12]
jmp 0x64e936
xchg word [esp + 0xe], dx
mov bh, 0xed
std
bswap eax
lea eax, [edi*4]
jmp 0x64e8e9

Function at 0x64edb1
Capabilities:
Execute anti-debugging instructions

Disassembly:
ror ax, 7
jmp 0x64edbb
xchg dword [esp + 1], eax
mov word [esp + 3], dx
not bl
xchg byte [esp + 6], ah
rdtsc
sub esp, 0xe
jmp 0x64ee08
xchg byte [esp + 6], bl
stc
rcr dx, cl
std
push word [esp + 1]
clc
jmp 0x64edf2
Function at 0x401497
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x433cb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40152c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x4014e9
cmp dword [ebp + 0x10], ebx
jne 0x401520
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00401497
test eax, eax
jne 0x4014fb
push edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405a2f
cmp eax, ebx
je 0x401533
push ebx
push dword [0x433cb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x433cb0], ebx
jne 0x401529
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401529
jmp 0x40152c

Function at 0x402d89
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x41f97c]
sub esi, dword [0x423988]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1f4
xor ebx, ebx
mov dword [0x433c20], eax
cmp esi, ebx
jle 0x402ee7
push dword [0x423984]
call fcn.00402d72
push ebx
push ebx
push dword [0x423988]
push dword [0x40a014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f978], esi
mov dword [0x40f8ec], ebx
mov ebp, 0x417978
mov eax, dword [0x423980]
sub eax, dword [0x423984]
mov edi, 0x4000
cmp eax, edi
jg 0x402dfe
mov edi, eax
push edi
mov esi, 0x41f980
push esi
call fcn.00402d40
test eax, eax
je 0x402ef9
add dword [0x423984], edi
mov dword [0x417908], esi
mov dword [0x41790c], edi
cmp dword [0x433bcc], ebx
je 0x402e55
cmp dword [0x433ca0], ebx
jne 0x402e55
mov eax, dword [0x41f978]
sub eax, dword [0x41f97c]
push ebx
sub eax, dword [esp + 0x1c]
add eax, dword [0x423988]
mov dword [0x40f8ec], eax
call fcn.00402ca1
pop ecx
mov ecx, 0x4178f0
mov dword [0x417910], ebp
mov dword [0x417914], 0x8000
call fcn.0040699f
test eax, eax
js 0x402efe
mov esi, dword [0x417910]
sub esi, ebp
je 0x402eb3
push ebx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push dword [0x40a014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402f03
cmp esi, dword [esp + 0x10]
jne 0x402f03
add dword [0x423988], esi
cmp dword [0x41790c], ebx
jne 0x402e24
jmp 0x402ebf
cmp dword [0x41790c], ebx
jne 0x402efe
cmp edi, ebx
je 0x402efe
mov eax, dword [0x41f97c]
mov ecx, eax
sub ecx, dword [0x423988]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x402de8
push ebx
push ebx
push eax
push dword [0x40a014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.00402ca1
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
or eax, 0xffffffff
jmp 0x402ef1
push 0xfffffffffffffffd
pop eax
jmp 0x402ef1
push 0xfffffffffffffffe
jmp 0x402f00
Function at 0x402f07
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f31
add eax, dword [0x433c18]
push edi
push edi
push eax
push dword [0x40a014]
mov dword [0x41f97c], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00402d89
cmp eax, edi
jl 0x40302a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x40a014]
call ebx
test eax, eax
je 0x403026
cmp dword [ebp - 4], esi
jne 0x403026
push dword [ebp + 8]
add dword [0x41f97c], esi
call fcn.00402d89
mov dword [ebp - 8], eax
cmp eax, edi
jl 0x403029
cmp dword [ebp + 0x10], edi
jne 0x402ff5
cmp dword [ebp + 8], edi
jle 0x403021
mov esi, 0x41f980
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x402fa5
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x40a014]
call ebx
test eax, eax
je 0x403026
cmp edi, dword [ebp - 4]
jne 0x403026
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402ff1
cmp dword [ebp + 0x14], edi
jne 0x402ff1
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x41f97c], eax
cmp dword [ebp + 8], 0
jg 0x402f98
jmp 0x403021
push 0xfffffffffffffffe
jmp 0x403028
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403000
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a014]
call ebx
test eax, eax
je 0x403026
mov eax, dword [ebp - 4]
add dword [0x41f97c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403029
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10

Function at 0x40576c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
test dword [ecx - 7], edx
invalid
push dword [esi + eax*8]
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
inc dword [ecx]
Function at 0x405954
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00404a30
mov edi, 0x8fffff0
mov al, byte [0x2ff845c6]
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
test dword [eax + 0x27fffffc], ebp
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00404a62

Function at 0x40596d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0x8fffff0
mov al, byte [0x2ff845c6]

Function at 0x405ea8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
invalid
call fcn.00404a52
jle 0x405e56
push edi
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
invalid
Function at 0x40699f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x7dc]
push eax
call fcn.00404a62
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004049c3
add esp, 0xc
jmp 0x4069ca
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00404a52
sub cl, cl
inc ebp
push esp
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x406a35
lea eax, [ebp - 0x714]
push eax
call fcn.00404a62
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404a17
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x406a35
jmp 0x4063f4
cmp dword [ebp - 0x37c], 0
je 0x406a43
jmp 0x406af8
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x406a9c
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x406aa1
jmp 0x4063f4
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x406ae8
lea eax, [ebp - 0x714]
push eax
call fcn.00404a62
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404a17
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x406af3
jmp 0x406af8
jmp 0x4063f4
cmp dword [ebp - 0x37c], 0
jne 0x406ba2
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404c2e
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x406b8e
lea eax, [ebp - 0x714]
push eax
call fcn.00404a62
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00404af7
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret