joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d11c
Capabilities:
Parse pe header

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

Function at 0x420131
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00426710
mov eax, dword [0x4335e0]
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.00425176
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x420173
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4202cf
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426660
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 + 0x434928]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0042648b
mov ecx, dword [esi*4 + 0x434928]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4202c8
cmp eax, dword [ecx + edi + 0x24]
jne 0x4202c8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4202c8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042648b
add esp, 0x14
test edx, edx
jl 0x4202c8
jg 0x42023e
test eax, eax
jb 0x4202c8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4202c8
jl 0x420258
cmp dword [ebp - 0x1008], eax
ja 0x4202c8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x420276
test ebx, ebx
je 0x4202af
cmp ecx, edi
jae 0x4202af
mov al, byte [ecx]
cmp al, 0xd
jne 0x420290
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42029c
cmp byte [ecx + 1], 0xa
jne 0x42029c
inc ecx
jmp 0x42029c
movzx eax, al
movsx eax, byte [eax + 0x433d48]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x420276
cmp edx, ebx
jne 0x420276
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4202cd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041c883
leave
ret

Function at 0x420a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420dc2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d758
push 0x42d750
push str.FlsAlloc
push 0x1f
call fcn.004210a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420df6
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x420dfc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x420e40
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d768
push 0x42d760
push str.FlsGetValue
push 0x21
call fcn.004210a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420e77
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x420e7f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d770
push 0x42d768
push str.FlsSetValue
push 0x22
call fcn.004210a5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420eb9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4248ca
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 0x424967
push ebx
push esi
call fcn.0042496a
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.004247ce
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x424914
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424966
push edi
push eax
call fcn.0042325b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x424934
call fcn.0042230b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x424965
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004247ce
add esp, 0x20
test eax, eax
jne 0x424953
push edi
call fcn.0042230b
jmp 0x42495b
push ebx
call fcn.0042230b
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 0x425f8c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x434928]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425fcc
cmp byte [ebx], 0xa
jne 0x425fcc
or byte [edi + eax + 0x28], 4
jmp 0x425fd1
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4260d0
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4260b3
inc eax
cmp dl, 0xd
je 0x425ffd
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x426023
cmp eax, ecx
jae 0x426031
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x425fe5
jmp 0x4260d0
push 0
lea eax, [ebp - 0x10]
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 0x4260ae
cmp dword [ebp - 0x10], 0
je 0x4260ae
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x434928]
test byte [eax + edi + 0x28], 0x48
je 0x426088
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x426073
mov byte [esi], dl
jmp 0x426084
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434928]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4260d0
cmp byte [ebp - 1], 0xa
jne 0x426097
cmp esi, ebx
jne 0x426097
mov byte [esi], 0xa
jmp 0x4260cf
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042642d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4260d0
mov byte [esi], 0xd
jmp 0x4260cf
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x434928]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4260cd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4260d0
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4260d9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x434928]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42611f
cmp word [ebx], dx
jne 0x42611f
or byte [eax + edi + 0x28], 4
jmp 0x426124
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x426287
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x426267
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x426165
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42619b
cmp eax, edx
jae 0x4261a9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x426140
jmp 0x426287
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426262
cmp dword [ebp - 0x18], 0
je 0x426262
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x434928]
test byte [eax + edi + 0x28], 0x48
je 0x426238
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4261fc
mov word [esi], cx
jmp 0x426233
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x434928]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x434928]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x434928]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x426287
pop eax
cmp word [ebp - 4], ax
jne 0x426248
cmp esi, ebx
jne 0x426248
mov word [esi], ax
jmp 0x426284
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042642d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x426287
push 0xd
pop eax
jmp 0x426243
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x434928]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x426281
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x426287
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42a658
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0042a7ef
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42a7c7
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42a7c7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42a77c
jg 0x42a6b4
test eax, eax
je 0x42a772
push 1
push 0x1000
call fcn.004231fe
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42a6d7
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42a769
push 0x8000
push ebx
call fcn.0041f72b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42a700
jg 0x42a6fb
cmp ecx, 0x1000
jb 0x42a700
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00426f65
add esp, 0x10
cmp eax, 0xffffffff
je 0x42a745
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42a6fb
jl 0x42a72c
test ecx, ecx
jne 0x42a6ed
push dword [ebp - 0xc]
push ebx
call fcn.0041f72b
push esi
call fcn.0042230b
add esp, 0xc
xor ebx, ebx
jmp 0x42a7d5
cmp byte [edi + 0x24], 0
je 0x42a75c
cmp dword [edi + 0x20], 5
jne 0x42a75c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42a767
mov ebx, dword [edi + 0x18]
jmp 0x42a769
xor ebx, ebx
push esi
call fcn.0042230b
pop ecx
jmp 0x42a7d5
test ecx, ecx
jg 0x42a73e
jl 0x42a77c
test eax, eax
jae 0x42a73e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042642d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42a79c
cmp byte [edi + 0x1c], 0
je 0x42a73e
jmp 0x42a7cd
push ebx
call fcn.00424d2b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42a73e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42a7d5
cmp byte [edi + 0x1c], 0
je 0x42a7d2
mov ebx, dword [edi + 0x18]
jmp 0x42a7d5
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042642d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b300
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426e2c]
jne 0x40b30a
repz ret
jmp fcn.0041383c

Function at 0x41b264
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426e2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004105ba
and dword [ebp - 0x14], 0
cmp dword [0x47a4d4], 0
mov dword [ebp - 0x18], eax
jne 0x41b317
push 0x4038b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b3bf
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038a4
push ebx
call edi
test eax, eax
je 0x41b3bf
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403894
push ebx
mov dword [0x47a4d4], eax
call edi
push eax
call esi
push 0x403880
push ebx
mov dword [0x47a4d8], eax
call edi
push eax
call esi
push 0x403864
push ebx
mov dword [0x47a4dc], eax
call edi
push eax
call esi
mov dword [0x47a4e4], eax
test eax, eax
je 0x41b317
push 0x40384c
push ebx
call edi
push eax
call esi
mov dword [0x47a4e0], eax
mov eax, dword [0x47a4e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b370
cmp dword [0x47a4e4], ecx
je 0x41b370
push eax
call esi
push dword [0x47a4e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b370
test ebx, ebx
je 0x41b370
call edi
test eax, eax
je 0x41b367
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41b367
test byte [ebp - 8], 1
jne 0x41b370
or dword [ebp + 0x10], 0x200000
jmp 0x41b3a3
mov eax, dword [0x47a4d8]
cmp eax, dword [ebp - 0x18]
je 0x41b3a3
push eax
call esi
test eax, eax
je 0x41b3a3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b3a3
mov eax, dword [0x47a4dc]
cmp eax, dword [ebp - 0x18]
je 0x41b3a3
push eax
call esi
test eax, eax
je 0x41b3a3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47a4d4]
call esi
test eax, eax
je 0x41b3bf
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b3c1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b300
leave
ret
Function at 0x422ee0
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Manipulate console buffer

Disassembly:
mov eax, 0x1004
call fcn.004221b0
cmp dword [0x81b258], 0x37
jne 0x422f89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea edx, [esp + 0x808]
push edx
push 0x4044a8
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x81b25c]
mov edx, dword [0x8176c8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1004
ret
Function at 0x420a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
jmp 0x420a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x420aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x420a90
mov eax, 1
add ebx, ebx
jne 0x420ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420aa8
jne 0x420ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420aa8
xor ecx, ecx
sub eax, 3
jb 0x420ad8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x420b4a
mov ebp, eax
add ebx, ebx
jne 0x420ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x420af0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x420b14
inc ecx
add ebx, ebx
jne 0x420b00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x420af5
jne 0x420b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420af5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x420b34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x420b25
jmp 0x420a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x420b34
add edi, ecx
jmp 0x420a96
pop esi
mov edi, esi
mov ecx, 0x19
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x420b52
cmp byte [edi], 4
jne 0x420b52
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 0x420b57
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x420bcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20770]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x207ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x420b84
mov ecx, edi
jns 0x420bb3
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 + 0x207b4]
or eax, eax
je 0x420bc9
mov dword [ebx], eax
add ebx, 4
jmp 0x420ba1
call dword [esi + 0x207b0]
mov ebp, dword [esi + 0x207b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x420c03
sub esp, 0xffffff80
jmp 0x401180
Function at 0x62b659
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6363a0
cmp edx, dword [eax]
je 0x62b67b
add eax, 8
inc ecx
cmp eax, 0x636430
jl 0x62b66c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6363a0]
jne 0x62b7a9
mov eax, dword [0x63dd30]
cmp eax, 1
je 0x62b783
test eax, eax
jne 0x62b6ac
cmp dword [0x6362cc], 1
je 0x62b783
cmp edx, 0xfc
je 0x62b7a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62b6e3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062c040
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062c4d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62b726
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062c4d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630ef4
push edi
call fcn.0062e3a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062c040
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062c050
lea eax, [ebp - 0xa0]
push 0x630ed4
push eax
call fcn.0062c050
push dword [esi + 0x6363a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062c050
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062e314
add esp, 0x2c
pop edi
jmp 0x62b7a9
lea eax, [ebp + 8]
lea esi, [esi + 0x6363a4]
push 0
push eax
push dword [esi]
call fcn.0062c4d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403710
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x476040], 0
je 0x403771
cmp word [0x476214], 0xd7b2
jne 0x403739
cmp dword [0x47621c], 0
jbe 0x403739
mov eax, 0x476210
call dword [0x47622c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x474088
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403798
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x474020], 0
jne 0x40378d
push 0
push 0x474080
push 0x474088
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404810
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404876
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403ac0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402758
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404860
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40487d
lea eax, [ebp - 0x10]
call fcn.0040388c
ret

Function at 0x406af0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov edi, edx
mov esi, eax
test esi, esi
jne 0x406b1f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, edi
call fcn.0040397c
jmp 0x406b5c
call sub.kernel32.dll_GetCommandLineA_1
call fcn.00406ab4
mov ebx, eax
mov eax, ebx
call fcn.00406ac4
dec esi
test esi, esi
jge 0x406b24
mov edx, eax
sub edx, ebx
cmp edx, 2
jl 0x406b4f
cmp byte [ebx], 0x22
jne 0x406b4f
mov edx, eax
dec edx
cmp byte [edx], 0x22
jne 0x406b4f
inc ebx
dec eax
mov ecx, eax
sub ecx, ebx
mov eax, edi
mov edx, ebx
call fcn.0040397c
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403cec
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x406ca9
test al, 0x10
je 0x406cad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov esi, eax
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov edi, eax
mov eax, esi
call fcn.00403cec
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x406e03
test al, 0x10
jne 0x406e07
xor ebx, ebx
jmp 0x406e09
mov bl, 1
push edi
call sub.kernel32.dll_SetErrorMode
mov eax, ebx
pop edi
pop esi
pop ebx
ret