joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x41c1fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c06d

Function at 0x41c5f6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a570
mov eax, dword [0x467000]
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.0041a1b9
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c638
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c794
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425090
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 + 0x469720]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d395
mov ecx, dword [esi*4 + 0x469720]
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 0x41c78d
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c78d
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 0x41c78d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d395
add esp, 0x14
test edx, edx
jl 0x41c78d
jg 0x41c703
test eax, eax
jb 0x41c78d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c78d
jl 0x41c71d
cmp dword [ebp - 0x1008], eax
ja 0x41c78d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c73b
test ebx, ebx
je 0x41c774
cmp ecx, edi
jae 0x41c774
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c755
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c761
cmp byte [ecx + 1], 0xa
jne 0x41c761
inc ecx
jmp 0x41c761
movzx eax, al
movsx eax, byte [eax + 0x4672c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c73b
cmp edx, ebx
jne 0x41c73b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c792
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret
Function at 0x41c833
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 + 0x469720]
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 0x41c873
cmp byte [ebx], 0xa
jne 0x41c873
or byte [eax + edi + 0x28], 4
jmp 0x41c878
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c976
mov al, byte [edx]
cmp al, 0x1a
je 0x41c958
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c8a7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c8cc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c8d6
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 0x41c889
jmp 0x41c976
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 0x41c953
cmp dword [ebp - 0xc], 0
je 0x41c953
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x469720]
test byte [eax + edi + 0x28], 0x48
je 0x41c92d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c918
mov byte [esi], dl
jmp 0x41c929
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x469720]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c976
cmp byte [ebp - 1], 0xa
jne 0x41c93c
cmp esi, ebx
jne 0x41c93c
mov byte [esi], 0xa
jmp 0x41c975
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c976
mov byte [esi], 0xd
jmp 0x41c975
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x469720]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c972
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c976
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c97f
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 + 0x469720]
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 0x41c9c2
cmp word [esi], dx
jne 0x41c9c2
or byte [edi + eax + 0x28], 4
jmp 0x41c9c7
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 0x41cb1a
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 0x41cafa
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ca09
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ca3f
cmp eax, edx
jae 0x41ca4b
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 0x41c9e1
jmp 0x41cb1a
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 0x41caf6
cmp dword [ebp - 0x14], 0
je 0x41caf6
mov eax, dword [ebx*4 + 0x469720]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41cace
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ca97
mov word [esi], cx
jmp 0x41caca
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x469720]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x469720]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x469720]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41cb1a
pop ebx
cmp word [ebp - 4], bx
jne 0x41cadf
cmp esi, dword [ebp + 0xc]
jne 0x41cadf
mov word [esi], bx
jmp 0x41cb17
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d3b3
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41cb1a
push 0xd
jmp 0x41cb13
mov ecx, dword [ebx*4 + 0x469720]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cb11
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cb1a
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 0x41da4c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x467000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41da97
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dbeb
test al, al
jne 0x41da91
sub edx, 2
cmp edx, edi
jne 0x41da77
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41dab9
lea eax, [edi + 2]
cmp edx, eax
je 0x41dab9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d998
add esp, 0x10
jmp 0x41dbb3
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dbeb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dafc
push dword [ebp - 0x25c]
jmp 0x41daa9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41db39
cmp word [ebp - 0x226], 0
je 0x41db5a
cmp word [ebp - 0x226], ax
jne 0x41db39
cmp word [ebp - 0x224], 0
je 0x41db5a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d998
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41db13
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41db8e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41dbb3
push 0x41d7c8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004233c0
add esp, 0x10
jmp 0x41db83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret

Function at 0x424e90
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42665d
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42665c
push ebx
mov ebx, 0x468c88
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x427558
mov byte [edi + esi], al
call fcn.0040eeee
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4265ff
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405157
pop edi
pop ebp
ret 0x14
Function at 0x401df0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2cec
call fcn.00573790
mov eax, dword [0x629a40]

Function at 0x402820
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x124], esi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
call fcn.00437b90
test al, al
je 0x402872
dec ebx
push esi
push edi
cld
idiv byte [eax - 0x27]
add byte [ecx - 0x1b7a171a], cl
adc al, byte [ebx - 0x32ed263a]
mov ebp, dword [eax - 0x5354e099]
int 0x8b
test al, 0x67
pop ds
stosd dword es:[edi], eax
lodsb al, byte [esi]
mov esi, dword [ebp - 0x124]
call fcn.004383e0
test al, al
je 0x402894
xchg ebp, eax
pop ebp
ror ecx, 1
xchg ebp, eax
jbe 0x402865
iretd
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00578b50
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x4028d3
mov ecx, esi
call fcn.00401df0
jmp 0x4028f3
mov edi, dword [ebp - 0x124]
xor esi, esi
xor eax, eax
nop dword [eax]
test eax, eax
jne 0x4028f1
mov ecx, edi
call fcn.00402230
inc esi
cmp esi, 0xa
jl 0x4028e0
mov esi, edi
mov ecx, dword [esi + 0x214]
mov eax, 0x4bda12f7
sub ecx, dword [esi + 0x210]
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 7
xor ecx, ebp
pop edi
mov eax, edx
shr eax, 0x1f
pop esi
add eax, edx
pop ebx
call fcn.00572ac9
mov esp, ebp
pop ebp
ret
Function at 0x402930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
lea ecx, [eax + 0x210]
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 0x14], ecx
cmp esi, dword [eax + 0x214]
je 0x402a2f
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add ecx, 0xa8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edi
push ecx
call ebx
push 0x61b470
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x61b470
call ebx
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x28]
push eax
call ebx
push 0x61b470
call ebx
push dword [ebp - 8]
call ebx
push 0x61b470
call ebx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x4029c7
test cl, cl
je 0x4029c3
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x4029c7
add eax, 2
add edi, 2
test cl, cl
jne 0x4029a7
xor eax, eax
jmp 0x4029cc
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 8]
test eax, eax
jne 0x402a09
mov edx, dword [ebp + 8]
mov ecx, edi
lea eax, [edx + 0x28]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402a00
test dl, dl
je 0x4029fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402a00
add eax, 2
add ecx, 2
test dl, dl
jne 0x4029e0
xor eax, eax
jmp 0x402a05
sbb eax, eax
or eax, 1
test eax, eax
je 0x402a2b
mov eax, dword [ebp - 0x10]
add esi, 0x1b0
add edi, 0x1b0
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x402a2f
mov ecx, dword [ebp - 0xc]
jmp 0x402971
mov byte [ebp - 1], 1
call fcn.00437ce0
test al, al
je 0x402a51
or byte [ebx], 0xa4
sahf
fidiv word [ebx - 0x25bb9914]
movsb byte es:[edi], byte [esi]
imul esi, dword [esi], 0x4d4e866
sbb al, 0x3e
jmp 0xacd2737e
call fcn.00438450
test al, al
je 0x402a71
retf
call fcn.00437ce0
test al, al
je 0x402a91
mov ebx, dword [eax]
inc ebx
call 0xbdecbfc1
jg 0x402aa7
dec edx
into
lds ebp, [ecx + 0x2b]
cld
add dword [esi + esi*2], esi
leave
xor byte [ecx], 0xef
cmp byte [ebp - 1], 0
jne 0x402ac2
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0xa8]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x402aa3
sal byte [ebp - 7], 0x2b
salc
sub edx, esi
je 0x402ac2
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00402b50
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405780
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
cld
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.00437e30
test al, al
je 0x4057bc
fldlg2
in eax, 0x67
lcall 0xc0e1, 0x1eaeb7e7
push eax
int 0xea
fstpnce st(1), st(0)
push esp
ja 0x4057ff
push esp
xlatb
add bl, byte [ebp - 0x65]
jae 0x4057bd
call fcn.00438140
jg 0x4057e8
add eax, dword [eax]
test al, al
je 0x4057db
or eax, 0x73eaec49
invalid
call fcn.00438060
test al, al
je 0x4057fc
outsd dx, dword [esi]
ror byte [esp + eax*2], 0xfa
cli
adc esi, dword [eax + edi*8 - 0x73]
jle 0x405790
imul eax, edi, 0x49
pop esp
push 0x87bde277
sub byte [0x8fe8851f], cl
and eax, dword [ebx]
add byte [eax + eax*8 + 0x14121a74], al
out 0x68, al
dec eax
pop ecx
xchg esp, eax
call fcn.00437b90
add eax, dword [eax]
test al, al
je 0x40581f
adc dl, byte [esi]
push 0x94594865
cmpsb byte [esi], byte es:[edi]
dec ebp
dec eax
das
mov esi, 0xc195db53
and dword [ebp + ecx*4 - 0x2e], ebx
salc
sub dh, byte [ebp + 0x5f]
xchg edx, eax
mov esi, dword [ebp - 4]
mov eax, dword [esi]
test eax, eax
jne 0x405831
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x61b508
push eax
call ebx
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
add byte [eax + 8], ch
mov ch, 0x61
add byte [eax - 1], dl
shr dword [eax + 0x1c], cl
mov ch, 0x61
add bh, bh
mov dword ss:[esi + 8], eax
call ebx
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call ebx
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call ebx
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call ebx
push str.advapi32.dll
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call fcn.00437e30
test al, al
je 0x4058a6
push edx
cwde
pushfd
xor ebx, edx
adc ecx, dword [eax + 0xf]
xor dl, cl
int1
jl 0x405836
in al, 0xb1
imul ecx, dword [edi + 0x2d25256d], 0x4ec73812
aas
mov esi, dword [ebp - 4]
call fcn.00438370
test al, al
je 0x4058c0
add dl, byte [edi]
mov dword [eax], esp
out 0x20, eax
sal byte [ecx], 9
pop ds
in eax, 0x4a
mov ah, byte [ebx - 0x171b08b0]
mov ebp, dword [ebx]
add eax, dword [eax]
call fcn.00438450
test al, al
je 0x4058e0
cmpsd dword [esi], dword es:[edi]
and eax, 0xb773f5eb
pop ecx
mov ah, 0xbf
into
dec esi
mov dword [0x3a2eec3d], eax
aaa
test al, 0x3d
lahf
lodsb al, byte [esi]
lahf
test byte [ebx - 0x3f7afbba], 0xf
test byte [0x68ffffff], bh
dec esp
mov ch, 0x61
add byte [eax - 1], dl
adc eax, sym.imp.KERNEL32.dll_GetProcAddress
mov eax, dword [esi + 4]
test eax, eax
je 0x405828
push str.Wow64RevertWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
mov dword [esi + 0x1c], eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4081e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], eax
push 0x20
push str.a070e428367f40dccea1d005382b99a4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004075c0
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x40825c
cmp eax, 0x10
jb 0x40823d
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00407ab0
pop ecx
pop ecx
and eax, 0x10de52e3
pushal
dec edi
add edi, 0x34
leave
mov ebx, 0x6af0edb2
rcr dword [esi + 0x3b451e7f], 1
ljmp 0x12eb
cmp eax, 0x10
jb 0x40826e
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00407ab0
push 0x20
push str.5fc2e47710f6c9273fa949911fcce363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004075c0
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x4082c0
cmp eax, 0x10
jb 0x4082ad
inc eax
lea ecx, [ebp - 0x1c]
push eax
in al, 0x50
push dword [ebp - 0x1c]
call fcn.00407ab0
js 0x4082b2
xor dword [eax - 0x76501161], eax
loopne 0x408325
out dx, al
scasd eax, dword es:[edi]
mov eax, esp
outsb dx, byte [esi]
dec byte [edx]
xlatb
aas
pop esp
je 0x4082e5
jmp 0x4082d2
cmp eax, 0x10
jb 0x4082d2
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00407ab0
push 0x20
push str.03fa5e92dfc68bd5b6698663d907b71e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004075c0
cmp dword [ebp - 0xc], 0x100
mov eax, dword [ebp - 8]
jbe 0x40832a
hlt
cmp eax, 0x10
jb 0x408311
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00407ab0
sub dword [edx - 0x5e], ebp
push esi
mov dh, byte [edi]
dec esi
je 0x4082a3
lahf
fisttp qword [edi - 0x15f7a735]
wait
daa
salc
mov ch, 0x23
jge 0x4082b2
and edi, dword [ebp - 0x76]
jmp 0x40833c
cmp eax, 0x10
jb 0x40833c
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00407ab0
push dword [ebp - 0x24]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
pop edi
sete cl
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 4