joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4acee4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4acfcc
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4d71c4], 1
jae 0x4acfbe
xor eax, eax
mov dword [0x4d6dd0], eax
xor eax, eax
mov dword [0x4d6dd8], eax
xor eax, eax
mov dword [0x4d6ddc], eax
mov byte [0x4d6de2], 2
mov byte [0x4d6de3], 2
mov byte [0x4d6de4], 3
mov word [0x4d718c], 0
mov word [0x4d719c], 1
mov word [0x4d71ac], 0xa
mov dword [0x4d71b4], 0x80020004
mov dword [0x4d7180], 0x4abccc
mov dword [0x4d7184], 0x4abcc4
mov dword [0x4d7188], 0x4abccc
call fcn.004aa15c
test al, al
je 0x4acf7d
call fcn.004aa18c
call fcn.004aa250
mov eax, 0x4d6de8
mov edx, 0x4acfd8
call fcn.004a7922
mov eax, 0x4d6fb4
mov edx, 0x4acfd8
call fcn.004a7922
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4d6dc8], eax
call fcn.004a88b0
mov dword [0x4d6dc4], eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x4d6dbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acfd3
ret
Function at 0x4b292c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.004add84
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004ade14
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004ade14
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA
push 0x4d4419
lea ecx, [ebp - 0x200]
push ecx
call fcn.004add84
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004ade14
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.004b3ac8
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4b2a3d
push esi
call fcn.004ade14
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004ade14
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004ad820
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4b2a14
xor eax, eax
jmp 0x4b2ac4
push esi
call fcn.004ade14
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004ade14
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004adce0
add esp, 0xc
jmp 0x4b2a7d
mov edi, dword [ebx + 0x24]
push edi
call fcn.004ade14
pop ecx
push eax
push esi
call fcn.004ade14
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004ade14
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004ad840
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4b2a7d
xor eax, eax
jmp 0x4b2ac4
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004add84
add esp, 8
push 0x4d441b
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004add84
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.004add84
add esp, 8
push 0x4d441d
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004add84
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
test eax, eax
je 0x4b5ab2
call fcn.004b5a00
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004ade14
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004ade14
pop ecx
push eax
push edi
push ebx
call sub.kernel32.dll_WriteFile
push ebx
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b5b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4d4a28], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4b5c0a
cmp dword [0x4d4a24], 0
jne 0x4b5c0a
cmp dword [0x4d4c28], 0
je 0x4b5bc4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004b5900
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4b5baa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004b5900
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4b5baa
lea ebx, [ebp - 0x84]
jmp 0x4b5bab
inc ebx
call fcn.004b5aec
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.user32.dll_MessageBoxA
jmp 0x4b5c45
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4d4a2c
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004ade14
pop ecx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4d4a2f
push ebx
call sub.kernel32.dll_WriteFile
jmp 0x4b5c45
cmp dword [0x4d4a24], 0
je 0x4b5c24
cmp dword [0x4d4a24], 0xffffffff
je 0x4b5c45
push esi
call dword [0x4d4a24]
pop ecx
mov eax, dword [0x4d4a28]
test eax, eax
je 0x4b5c45
cmp dword [0x4d4a28], 0xffffffff
je 0x4b5c45
cmp byte [eax], 0
je 0x4b5c45
push esi
push eax
call fcn.004b5a50
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x65df70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x408f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x407f38
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 1
push eax
push ecx
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
cmp ax, di
je 0x65dffe
sub ax, 1
jo 0x65e03e
movsx edx, ax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x65e028
jmp 0x65e017
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call esi
push 0x65e028
jmp 0x65e017
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x954a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x37b010]
push edi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0xee02b2
nop
push eax
nop
call 0x77c9e026
mov ebx, eax
push 0x3849f0
mov dword [ebp - 4], ebx
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
mov byte [ebx + edi], 0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x954b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
call 0x759243d3
nop
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x3849f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x954b06
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
push 0x3849f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0xee02b7
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x956ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x956f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x75919910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x956fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x956fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x956f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x75919910
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x956fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x956fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x956fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [0x5890f4]
push eax
call dword [0x589088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x956f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00957590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x974040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x37cff4], al
je 0x97405d
inc eax
cmp byte [eax + 0x37cff4], 0
jne 0x974053
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00952930
mov dword [esi], eax
test eax, eax
je 0x97407b
push 0x37cff4
push eax
call dword [0x589134]
mov esi, dword [0x588aa4]
xor eax, eax
cmp byte [esi], al
je 0x97408e
inc eax
cmp byte [esi + eax], 0
jne 0x974087
inc eax
call fcn.00952930
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x9740a5
push esi
push ebx
call dword [0x589134]
lea eax, [ebp - 0x24]
push eax
call dword [0x589044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x588ec0], si
cmp dword [ebp + 0xc], edi
jle 0x974119
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x588ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x9740d0
mov word [0x588ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x974191
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x974161
cmp dword [ecx], 0
je 0x974161
cmp dword [0x5891c4], ecx
jne 0x97414b
mov dword [0x5891c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x974161
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x974191
cmp dword [ecx], 0
je 0x974191
cmp dword [0x5891c4], eax
jne 0x97417b
mov dword [0x5891c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x974191
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x976500
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x5890e0]
test esi, esi
jne 0x976518
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x976511
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x976511
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x97657a
jmp 0x976560
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x588bf0]
add eax, esi
call fcn.00973fe0
test eax, eax
je 0x976583
inc edi
cmp edi, dword [ebp - 4]
jb 0x976560
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xd2406d
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xd2407c
push eax
jge 0xd2408e
jmp 0xd2408e
mov eax, dword [esp + 4]
jnp 0xd2409c
push esi
push ecx
pop ecx
pop esi
mov eax, dword [eax]
jns 0xd240b2
push eax
push edx
push ebx
pop ebx
rdtsc
push eax
push edx
rdtsc
pop edx
pop eax
pop edx
pop eax
mov dword [esp + 4], eax
jmp 0xd240c3
pop eax
push 0
push edx
call 0xd240cf
and byte [edx - 0x3d], bl
pop edx
mov dword [esp + 4], edx
add dword [esp + 4], 0x19
inc edx
push edx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x1002224
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1005028]
and word [ebp - 0x20c], 0
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x104
cmp dword [ebp + 0xc], eax
push edi
mov edi, 0x80004005
jl 0x1002285
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1002285
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push eax
push 0x10011f8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1002285
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.01003269
leave
ret 8

Function at 0x1002483
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x14b0
call fcn.01003550
mov eax, dword [0x1005028]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push esi
mov edi, 0x80004005
mov word [ebp - 0x20c], si
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1002599
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10012e0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1002599
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x14ac]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x146c], esi
lea edi, [ebp - 0x1468]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x14b0], 0x44
mov word [ebp - 0x145c], si
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x10012d4
lea eax, [ebp - 0x145c]
push 0x928
push eax
call fcn.01002455
mov edi, eax
add esp, 0x14
cmp edi, esi
jl 0x1002599
lea eax, [ebp - 0x146c]
push eax
lea eax, [ebp - 0x14b0]
push eax
push esi
push esi
push 0x4000020
push 1
push esi
push esi
lea eax, [ebp - 0x145c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1002583
mov edi, 0x80004005
jmp 0x1002599
push dword [ebp - 0x146c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1468]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01003269
leave
ret 4
Function at 0x10025d5
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ecx + 0x28], ebx
mov ecx, dword [ecx + 0x1c]
cmp ecx, 5
push esi
push edi
jne 0x1002666
mov dword [ebp - 8], 0x28a0
mov dword [ebp - 4], 0x28ab
call fcn.01001ebc
push eax
push 0x28ac
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 2
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
call edi
test eax, eax
je 0x100263c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x60000024
call dword [sym.imp.SHDOCVW.dll_Ordinal_159]
test eax, eax
je 0x10026e0
push 0
push 0x2844
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10026e0
dec ecx
mov dword [ebp - 8], 0x28a1
je 0x100269b
dec ecx
je 0x1002692
dec ecx
je 0x1002684
mov dword [ebp - 4], 0x28a6
mov esi, 0x28a4
jmp 0x10026a7
mov esi, 0x28a3
mov dword [ebp - 4], 0x28a9
jmp 0x10026a7
mov dword [ebp - 4], 0x28b0
jmp 0x10026a2
mov dword [ebp - 4], 0x28a5
mov esi, 0x28a2
call fcn.01001ebc
push eax
push esi
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 1
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2844
push ebx
call edi
test eax, eax
je 0x10026e0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.01001ebc
push eax
push dword [ebp - 8]
lea ecx, [ebp - 0x30c]
call fcn.01003722
push eax
mov ebx, 0x2842
push ebx
push dword [ebp + 8]
call esi
call fcn.01001ebc
push eax
push dword [ebp - 4]
lea ecx, [ebp - 0x30c]
call fcn.01003722
push eax
push 0x2840
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x2841
push dword [ebp + 8]
call esi
mov esi, dword [ebp - 0xc]
push 0x28a8
mov ecx, esi
call fcn.0100216f
push ebx
push dword [ebp + 8]
call edi
test eax, eax
je 0x1002757
push eax
call fcn.01003752
mov dword [esi + 0x44], eax
mov ecx, esi
call fcn.01001edd
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1003040
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100306d
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1006873
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, ebx
xchg al, ah
mov esi, ebx
mov eax, ebx
mov edi, edx
add eax, dword [ebx + 0x3c]
jmp 0x10068fe
ret
pop esi
add esi, dword [edi + eax*4]
mov dh, 0x17
ret 4
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
jmp 0x100b63e
lea edi, [edi + 1]
cmp byte [edi], 1
pop eax
ja 0x100b452
nop
xor eax, 0x6178b2a3
jmp 0x100b593
add edi, dword [edx + 0x1c]
lea esi, [esi + ecx*2]
push ebx
xchg dl, dl
mov edx, eax
and edx, edi
movzx eax, word [esi]
jmp 0x10068ec
nop
je 0x10068d9
clc
nop
push 0
mov ebx, ebx
pop eax
add ebp, ebx
sub ebp, ebx
imul eax, eax, 0xf
jmp 0x100b4fa
push eax
movzx eax, byte [edi]
sub dword [esp], eax
jmp 0x100691a
sbb eax, dword [esp + 4]
jne 0x100b642
lea esi, [ebx]
lea edi, [ebx]
add esi, dword [edx + 0x24]
jmp 0x100b3ec
xchg edi, ecx
cld
pop ecx
lodsd eax, dword [esi]
inc ecx
cld
mov ecx, ecx
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
jmp 0x100b440
Function at 0x4020f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x402139
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
movzx eax, byte [ebx]
dec edi
movzx esi, dl
xor esi, eax
inc ebx
push 8
shr edx, 8
pop ebp
mov ecx, esi
mov eax, esi
shr ecx, 1
mov esi, ecx
xor esi, 0xedb88320
test al, 1
cmove esi, ecx
sub ebp, 1
jne 0x402118
xor edx, esi
test edi, edi
jne 0x402108
pop esi
pop ebp
pop ebx
mov eax, edx
pop edi
ret 0xc

Function at 0x402e37
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
lea eax, [ebp - 0x50]
push esi
push eax
push 0x50
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x50]
push eax
call fcn.0040103c
push 0x50
push str.DEBUG.TXT
lea eax, [ebp - 0x50]
push eax
call fcn.00408734
push 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402e89
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov esi, eax
cmp esi, 0xffffffff
je 0x402ea8
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
pop esi
leave
ret 8