joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b59a9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, dword [ebx + 0xa9c]
call fcn.1006c183
pop ecx
push edi
test esi, esi
je 0x100b59e5
test eax, eax
je 0x100b59d2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x100b59d7
call fcn.10010313
test eax, eax
je 0x100b59fa
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x18]
jmp 0x100b59fa
test eax, eax
je 0x100b59f1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x100b59f6
call fcn.10010313
test eax, eax
jne 0x100b5a01
xor eax, eax
jmp 0x100b5a82
xor esi, esi
mov ecx, ebx
inc esi
push esi
push edi
call fcn.100b5a89
push 2
push edi
mov ecx, ebx
call fcn.100b5a89
cmp dword [ebx + 0x28], 0
je 0x100b5a31
push edi
call fcn.10073b06
mov ecx, eax
call fcn.10073a45
test eax, eax
je 0x100b5a31
mov dword [ebx + 0x24], esi
push esi
add ebx, 0x1c
push ebx
push edi
call fcn.1006c202
add esp, 0xc
test eax, eax
je 0x100b5a50
push edi
call fcn.101103e8
mov ecx, eax
call fcn.101103b3
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x100b5a64
push 2
pop eax
jmp 0x100b5a82
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [ebx], eax
mov dword [0x1024c32c], 0x58
call esi
mov dword [0x1024c330], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100be55a
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 7
pop ecx
push 2
xor eax, eax
lea edi, [ebp - 0x20]
push ebx
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100be5d8
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x100be5d3
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100be5d0
cmp dword [ebp - 0x20], 0x10
je 0x100be5c1
cmp dword [ebp - 0x20], 0x20
jne 0x100be5d0
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, eax
push esi
call edi
push dword [ebp - 0x24]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret 4
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x52bd00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
or ebp, 0xffffffff
jmp 0x52bd22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52bd29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52bd18
mov eax, 1
add ebx, ebx
jne 0x52bd3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52bd30
jne 0x52bd4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52bd30
xor ecx, ecx
sub eax, 3
jb 0x52bd60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52bdd2
mov ebp, eax
add ebx, ebx
jne 0x52bd6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x52bd78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x52bd9c
inc ecx
add ebx, ebx
jne 0x52bd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52bd7d
jne 0x52bd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52bd7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52bdbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52bdad
jmp 0x52bd1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52bdbc
add edi, ecx
jmp 0x52bd1e
pop esi
mov edi, esi
mov ecx, 0x37ef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52bdda
cmp byte [edi], 0x13
jne 0x52bdda
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 0x52bddf
lea edi, [esi + 0x128000]
mov eax, dword [edi]
or eax, eax
je 0x52be57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12fd70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12fe34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52be0c
mov ecx, edi
jns 0x52be3b
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 + 0x12fe3c]
or eax, eax
je 0x52be51
mov dword [ebx], eax
add ebx, 4
jmp 0x52be29
call dword [esi + 0x12fe38]
mov ebp, dword [esi + 0x12fe40]
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 0x52be8b
sub esp, 0xffffff80
jmp 0x46ef3e
Function at 0x401830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
std
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edi, [esi + ecx + 7]
push esi
push ecx
lea esi, [esi + ecx]
dec esi
rep movsb byte es:[edi], byte [esi]
pop ecx
pop esi
lea eax, [ecx + 8]
mov dword [ebp - 4], eax
mov edi, esi
xor eax, eax
test cl, 3
je 0x40185c
inc eax
shr ecx, 2
add ecx, eax
shl ecx, 2
call fcn.0040197a
cld
stosd dword es:[edi], eax
mov edx, eax
lea eax, [ecx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
stosd dword es:[edi], eax
shr ecx, 2
mov esi, edi
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
mov edx, eax
loop 0x40187c
popal
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x401942
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
cld
mov esi, dword [ebp + 8]
mov edi, esi
lodsd eax, dword [esi]
mov edx, eax
lodsd eax, dword [esi]
mov ecx, eax
xor eax, eax
test cl, 3
je 0x40195d
inc eax
sub ecx, 8
mov dword [ebp - 4], ecx
shr ecx, 2
add ecx, eax
lodsd eax, dword [esi]
mov ebx, eax
xor eax, edx
stosd dword es:[edi], eax
mov edx, ebx
loop 0x401968
popal
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x402183
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 1
jne 0x40219e
mov dword [ebp + 0x14], 3
push 0
push pe_nt_image_headers32
push 2
push 0
push dword [ebp + 0x14]
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
je 0x4021dc
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
popal
mov eax, dword [ebp - 8]
leave
ret 0x10
Function at 0x402246
Capabilities:
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x64
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
push pe_nt_image_headers32
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
je 0x402305
push 0
push ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [ebp + 0x14]
jecxz 0x4022a5
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
jecxz 0x4022ac
mov eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4022cb
cmp dword [ebp + 0x10], 0
je 0x402329
push dword [ebp + 0x10]
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
je 0x402329
mov esi, eax
mov edi, esi
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp + 0x10]
push esi
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
je 0x402300
test eax, eax
je 0x402300
add esi, eax
dec dword [ebp - 8]
jne 0x4022cf
cmp dword [ebp + 0xc], 0
je 0x402329
push edi
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [ebp - 0x10], edi
jmp 0x402329
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
jne 0x402295
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
popal
mov eax, dword [ebp - 0x10]
leave
ret 0x10

Function at 0x4023fc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
pushal
call 0x402435
push ebx
dec edi
inc esi
push esp
push edi
inc ecx
push edx
inc ebp
pop esp
dec ebp
imul esp, dword [ebx + 0x72], 0x666f736f
je 0x40247a
push edi
imul ebp, dword [esi + 0x64], 0x5c73776f
inc ebx
jne 0x40249b
jb 0x402490
outsb dx, byte [esi]
je 0x402484
jb 0x4024a4
imul ebp, dword [edi + 0x6e], 0x85c75e00
invalid
mov dword [ebp - 4], 0x186a0
add dword [eax], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ch, 0xf8
invalid
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
cmp eax, 0x103
add byte [eax], al
je 0x40250c
lea edx, [ebp - 0x104]
push edx
call fcn.00402391
cmp eax, 1
je 0x4024c1
inc dword [ebp - 0x108]
jmp 0x402475
cmp dword [ebp + 8], 0
je 0x402502
lea edx, [ebp - 0x104]
push edx
push esi
call fcn.004017d0
push dword [ebp + 8]
push eax
call fcn.004015f2
cmp dword [ebp + 0xc], 0
je 0x402502
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 8
push 0
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegGetValueA]
cmp eax, 0
jne 0x40250c
mov dword [ebp - 0x110], 1
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
popal
mov eax, dword [ebp - 0x110]
leave
ret 0xc
Function at 0x402435
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
pushal
call 0x402435
push ebx
dec edi
inc esi
push esp
push edi
inc ecx
push edx
inc ebp
pop esp
dec ebp
imul esp, dword [ebx + 0x72], 0x666f736f
je 0x40247a
push edi
imul ebp, dword [esi + 0x64], 0x5c73776f
inc ebx
jne 0x40249b
jb 0x402490
outsb dx, byte [esi]
je 0x402484
jb 0x4024a4
imul ebp, dword [edi + 0x6e], 0x85c75e00
invalid
mov dword [ebp - 4], 0x186a0
add dword [eax], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ch, 0xf8
invalid
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
cmp eax, 0x103
add byte [eax], al
je 0x40250c
lea edx, [ebp - 0x104]
push edx
call fcn.00402391
cmp eax, 1
je 0x4024c1
inc dword [ebp - 0x108]
jmp 0x402475
cmp dword [ebp + 8], 0
je 0x402502
lea edx, [ebp - 0x104]
push edx
push esi
call fcn.004017d0
push dword [ebp + 8]
push eax
call fcn.004015f2
cmp dword [ebp + 0xc], 0
je 0x402502
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 8
push 0
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegGetValueA]
cmp eax, 0
jne 0x40250c
mov dword [ebp - 0x110], 1
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
popal
mov eax, dword [ebp - 0x110]
leave
ret 0xc

Function at 0x402c58
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov edi, 0x414108
push 0
push 0xa
push edi
call fcn.004018dd
push edi
call fcn.00401760
add edi, eax
lea edx, [eax + 1]
inc edi
push edi
mov esi, 0x409e05
mov ecx, 0x14
rep movsb byte es:[edi], byte [esi]
mov esi, 0x409da1
mov ecx, 0x64
rep movsb byte es:[edi], byte [esi]
mov esi, 0x409e19
mov ecx, 0x3f88
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [edx + 0x4000]
push eax
push 0x414108
call fcn.00401830
mov edi, eax
push section..bss
call fcn.00402c08
push 0
push section..bss
push 0x40dfbb
call fcn.0040258d
push 1
push 0
push 0
push 0
call fcn.00402d26
push section..bss
push 0x40de49
call fcn.004017d0
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp eax, 0
jne 0x402d23
push edi
push 0x414108
push 3
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
popal
leave
ret
Function at 0x402fdb
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
pushal
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x7572
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
mov edx, dword [ebp - 0xb4]
cmp eax, 1
jne 0x403010
mov edx, dword [ebp - 0x60]
jmp 0x403018
cmp eax, 2
jne 0x403018
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x40311b
neg edx
mov eax, edx
xor edx, edx
mov ebx, 0x3c
div ebx
cmp eax, 3
jb 0x40311b
cmp eax, 0xc
ja 0x40311b
mov dword [ebp - 0x888], 0x1000
lea edx, [ebp - 0x888]
push edx
lea edx, [ebp - 0x884]
push edx
call dword [sym.imp.kernel32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x4030af
push 0
push 0
push 0x3e8
lea edx, [ebp - 0x49c]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x884]
push edx
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x4030af
lea edx, [ebp - 0x49c]
push edx
lea edx, [ebp - 0x884]
push edx
call fcn.0040173d
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x884]
push edx
call fcn.00401533
test eax, eax
jne 0x403114
mov dword [ebp - 0x888], 0x3e8
push 0
push 0x3e8
lea edx, [ebp - 0x884]
push edx
call fcn.00401713
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
lea edx, [ebp - 0x888]
push edx
lea edx, [ebp - 0x884]
push edx
push 0x5c
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
je 0x40311b
lea edx, [ebp - 0x884]
push edx
lea edx, [ebp - 0x49c]
push edx
call fcn.0040173d
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x49c]
push edx
call fcn.00401533
test eax, eax
je 0x40311b
mov dword [ebp - 8], 1
popal
mov eax, dword [ebp - 8]
leave
ret

Function at 0x403e35
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
xor ebx, ebx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004051e3
mov esi, eax
mov edi, dword [ebp + 0xc]
push 0
push 0x2c
lea edx, [ebp - 0x38]
push edx
call fcn.00401713
mov ecx, esi
lea edx, [ebp - 0x38]
call fcn.004025f9
test eax, eax
je 0x403eca
cmp byte [ebp - 0x25], 0xcc
jne 0x403e8b
inc dword [ebp - 0xc]
jmp 0x403eba
mov ecx, dword [ebp - 0xc]
jecxz 0x403eba
cmp ecx, dword [ebp + 0x14]
jb 0x403eb3
mov eax, edi
sub eax, ecx
push ecx
push eax
push dword [ebp + 0x18]
call fcn.00403dc2
cmp eax, 1
jne 0x403eca
add dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x28]
jae 0x403eca
mov dword [ebp - 0xc], 0
xor eax, eax
mov al, byte [ebp - 0x38]
add esi, eax
add edi, eax
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jb 0x403e72
popal
mov eax, dword [ebp - 8]
leave
ret 0x24
Function at 0x403ed2
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
mov dword [ebp - 7], 0
mov dword [ebp - 0xf], 0
mov dword [ebp - 0xb], 0
xor ebx, ebx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004051e3
mov esi, eax
mov edi, dword [ebp + 0xc]
push 0
push 0x39
lea edx, [ebp - 0x48]
push edx
call fcn.00401713
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.004019af
test eax, eax
je 0x403f67
cmp byte [ebp - 0x30], 0xcc
jne 0x403f28
inc dword [ebp - 0xf]
jmp 0x403f57
mov ecx, dword [ebp - 0xf]
jecxz 0x403f57
cmp ecx, dword [ebp + 0x14]
jb 0x403f50
mov eax, edi
sub eax, ecx
push ecx
push eax
push dword [ebp + 0x18]
call fcn.00403dc2
cmp eax, 1
jne 0x403f67
add dword [ebp - 0xb], ecx
mov eax, dword [ebp - 0xb]
cmp eax, dword [ebp + 0x28]
jae 0x403f67
mov dword [ebp - 0xf], 0
xor eax, eax
mov al, byte [ebp - 0x48]
add esi, eax
add edi, eax
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jb 0x403f0f
popal
mov eax, dword [ebp - 0xb]
leave
ret 0x24

Function at 0x403f6f
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
mov dword [ebp - 7], 0
mov dword [ebp - 0xf], 0
mov dword [ebp - 0xb], 0
xor ebx, ebx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004051e3
mov esi, eax
mov edi, dword [ebp + 0xc]
push 0
push 0x39
lea edx, [ebp - 0x48]
push edx
call fcn.00401713
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.004019af
test eax, eax
jne 0x403fdf
mov edx, dword [ebp + 0xc]
add edx, ebx
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x24]
push dword [ebp + 8]
call fcn.0040511f
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x404029
sub eax, edx
jmp 0x40401e
cmp byte [ebp - 0x30], 0xcc
jne 0x403fea
inc dword [ebp - 0xf]
jmp 0x404019
mov ecx, dword [ebp - 0xf]
jecxz 0x404019
cmp ecx, dword [ebp + 0x14]
jb 0x404012
mov eax, edi
sub eax, ecx
push ecx
push eax
push dword [ebp + 0x18]
call fcn.00403dc2
cmp eax, 1
jne 0x404029
add dword [ebp - 0xb], ecx
mov eax, dword [ebp - 0xb]
cmp eax, dword [ebp + 0x28]
jae 0x404029
mov dword [ebp - 0xf], 0
xor eax, eax
mov al, byte [ebp - 0x48]
add esi, eax
add edi, eax
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jb 0x403fac
popal
mov eax, dword [ebp - 0xb]
leave
ret 0x24
Function at 0x4042cf
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
pushal
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
push 0x41023a
push 0x41012c
push dword [ebp + 8]
call fcn.0040347a
cmp eax, 0
je 0x404527
push dword [ebp + 8]
call fcn.00404244
mov dword [ebp - 4], eax
push eax
call fcn.004042a8
push 0
push 0x41012c
push 0x40613e
call fcn.0040258d
push 0
push 0x41023a
push 0x406134
call fcn.0040258d
lea edx, [ebp - 0x88]
push edx
push 0
push 0
push dword [ebp + 8]
call fcn.00402246
test eax, eax
je 0x404527
mov dword [ebp - 0x8c], eax
push 0x10000
call fcn.00402098
test eax, eax
je 0x404527
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x60]
push edx
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x84]
push edx
lea edx, [ebp - 0x6c]
push edx
lea edx, [ebp - 0x78]
push edx
push dword [ebp - 0x8c]
call fcn.00403401
cmp dword [ebp - 0x84], 0
je 0x404527
push dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 0xa6
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
call fcn.00403b64
push dword [ebp - 0xc]
push 0x40dfc4
call fcn.00404031
push dword [ebp - 0x10]
push 0x40dfe2
call fcn.00404031
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
call fcn.00404055
push eax
push 0x40dff6
call fcn.00404031
cmp eax, dword [ebp - 0xc]
jae 0x40442c
jmp 0x404527
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
call fcn.00404103
test eax, eax
je 0x404527
mov byte [0x42dfd9], 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0xa6
push 0x40e49d
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x8c]
call fcn.0040393c
push eax
push 0x40e008
call fcn.00404031
cmp eax, 0
je 0x404527
push dword [ebp + 8]
push 0x40ddaf
call fcn.00402055
push 0x41012c
push 0x40ddbf
call fcn.00402055
push dword [ebp - 0x14]
call fcn.004020b5
push dword [ebp - 0x18]
call fcn.004020b5
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x41012c
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_MoveFileA]
push 0
push dword [ebp + 8]
push 0x41012c
call dword [sym.imp.kernel32.dll_CopyFileA]
push 0
push 0x42dfd9
push dword [ebp + 8]
push 0x41012c
call fcn.00402d26
push 0
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp + 8]
call fcn.00402183
test eax, eax
je 0x404527
push dword [ebp - 0x84]
push 0x41023a
call fcn.00404b7a
mov dword [ebp - 0xa0], 1
cmp dword [ebp - 0x14], 0
je 0x404535
push dword [ebp - 0x14]
call fcn.004020b5
cmp dword [ebp - 0x18], 0
je 0x404543
push dword [ebp - 0x18]
call fcn.004020b5
popal
mov eax, dword [ebp - 0xa0]
leave
ret 4