joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
mov edx, dword [ecx + 0x3c]
push edi
mov dword [esp + 0x10], 0
mov eax, dword [edx + ecx + 0x78]
mov edx, dword [edx + ecx + 0x7c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + ecx + 0x1c]
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + ecx + 0x24]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x14]
add edx, ecx
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x49b845
mov edi, dword [esp + 0x2c]
mov ebx, edx
mov al, byte [edi]
mov byte [esp + 0x28], al
mov edx, dword [ebx]
mov al, byte [esp + 0x28]
mov esi, ecx
xor ebp, ebp
add esi, edx
mov dl, byte [esi]
cmp dl, al
jne 0x49b825
mov eax, edi
mov edi, esi
sub edi, dword [esp + 0x2c]
test dl, dl
je 0x49b821
cmp byte [eax], 0
je 0x49b821
mov dl, byte [edi + eax + 1]
inc ebp
inc eax
cmp dl, byte [eax]
je 0x49b80e
mov edi, dword [esp + 0x2c]
cmp byte [esi + ebp], 0
jne 0x49b831
cmp byte [edi + ebp], 0
je 0x49b851
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, edx
mov dword [esp + 0x10], eax
jb 0x49b7f4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
xor edx, edx
pop edi
mov dx, word [eax + esi*2]
mov eax, dword [esp + 0x18]
pop esi
pop ebp
mov eax, dword [eax + edx*4]
pop ebx
add eax, ecx
add esp, 0x14
ret 8

Function at 0x49b880
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, dword [sym.imp.GDI32.dll_CreateColorSpaceA]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
and esi, 0xffff0000
add esi, 0x1000
push 0
sub esi, 0x1000
call ebx
push 2
push esi
call ebp
test eax, eax
jne 0x49b8ed
cmp word [esi], 0x5a4d
jne 0x49b8ed
mov dword [0x4f8b2c], esi
mov edi, dword [esi + 0x3c]
push eax
add edi, esi
call ebx
push 0x100
push edi
call ebp
test eax, eax
jne 0x49b8ed
cmp word [edi], 0x4550
je 0x49b8f5
cmp esi, 0x400000
ja 0x49b8b2
push 0x4d8934
push esi
mov dword [0x4d8934], 0x636f7250
mov dword [0x4d8938], 0x33737365
mov dword [0x4d893c], 0x72694632
mov word [0x4d8940], 0x7473
call fcn.0049b7a0
push 0x4d8934
push esi
mov dword [0x4d861c], eax
mov dword [0x4d893c], 0x78654e32
mov byte [0x4d8940], 0x74
mov byte [0x4d8941], 0
call fcn.0049b7a0
push 0x4d8934
push esi
mov dword [0x4d8620], eax
mov dword [0x4d8934], 0x61657243
mov dword [0x4d8938], 0x6f546574
mov dword [0x4d893c], 0x65686c6f
mov dword [0x4d8940], 0x3233706c
mov dword [0x4d8944], 0x70616e53
mov dword [0x4d8948], 0x746f6873
call fcn.0049b7a0
pop edi
pop esi
pop ebp
mov dword [0x4d8618], eax
pop ebx
ret
Function at 0x4ce9d0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
cmp dword [0x4d887c], 0
jne 0x4ceb86
mov dword [ebp - 0x20], 0x5a4d
mov dword [ebp - 0x10], 0x4550
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0x400000
jmp 0x4cea1f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7c000
jae 0x4ceb86
mov ecx, dword [ebp - 0xc]
add ecx, 0x1000
mov dword [ebp - 0xc], ecx
mov byte [0x4d8768], 0xc3
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp - 0x18], 0x200
jae 0x4cea76
push 1
push 0
push 0xa
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x4d513c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4d887c], eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
call dword [sym.imp.GDI32.dll_CreateColorSpaceA]
push 2
mov ecx, dword [0x4d887c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4ceb81
mov edx, dword [0x4d887c]
xor eax, eax
mov ax, word [edx]
cmp eax, dword [ebp - 0x20]
je 0x4ceabe
jmp 0x4cea16
mov ecx, dword [0x4d887c]
mov edx, dword [0x4d887c]
add edx, dword [ecx + 0x3c]
mov dword [0x4d898c], edx
push 1
push 0
push 0xa
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
push 0x100
mov ecx, dword [0x4d898c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4ceb81
mov edx, dword [0x4d898c]
xor eax, eax
mov ax, word [edx]
cmp eax, dword [ebp - 0x10]
je 0x4ceb1e
jmp 0x4cea16
mov ecx, dword [0x4d8874]
add ecx, 1
mov dword [0x4d8874], ecx
mov edx, dword [0x4d898c]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [0x4d887c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x4d898c]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4ceb81
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
push 0
push 0xa
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4cea16
cmp dword [0x4d8874], 2
jae 0x4ceba0
mov eax, dword [0x4d8874]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
mov al, 0x41
mov byte [esp], al
mov byte [esp + 4], al
mov al, 0x53
mov byte [esp + 8], al
mov byte [esp + 0xb], al
lea eax, [esp]
mov dl, 0x52
mov cl, 0x54
push eax
push 0x4020f4
mov byte [esp + 9], 0x56
mov byte [esp + 0xa], 0x49
mov byte [esp + 0xb], dl
mov byte [esp + 0xd], 0x20
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], 0x45
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x2d
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x47
mov byte [esp + 0x16], 0x50
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x46
mov byte [esp + 0x19], 0x58
mov byte [esp + 0x1a], 0x3d
mov byte [esp + 0x1b], 0x42
mov byte [esp + 0x1c], 0x44
mov byte [esp + 0x1d], 0x43
call dword [sym.imp.MSVCR80.dll_printf]
mov ecx, dword [esp + 0x20]
add esp, 8
xor ecx, esp
xor eax, eax
call fcn.0040109e
add esp, 0x1c
ret

Function at 0x40109e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4010a8
repz ret
jmp fcn.00401356
Function at 0x10014fc0
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [eax + 0x906]
push esi
mov ecx, eax
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], edx
cmp eax, edx
ja 0x1001546c
mov ebx, dword [ebp + 0xc]
jmp 0x10014ff0
mov edx, dword [ebp - 0x14]
cmp ecx, 0xe66
ja 0x10015135
je 0x10015120
cmp ecx, 0x537
ja 0x1001509d
je 0x1001507e
lea eax, [ecx - 0x4b3]
cmp eax, 0x63
ja case.0x1001514d.3720
movzx eax, byte [eax + 0x100154a0]
jmp dword [eax*4 + 0x1001548c]
mov cl, byte [edx]
mov byte [0x10139ffb], cl
mov dl, byte [edx + 1]
mov byte [0x10139ffa], dl
jmp case.0x1001514d.3720
mov al, byte [edx + 2]
mov byte [0x10139ffe], al
mov cl, byte [edx + 3]
mov byte [0x10139ff8], cl
jmp case.0x1001514d.3720
mov al, byte [edx + 4]
mov byte [0x10139ffd], al
mov cl, byte [edx + 5]
mov byte [0x10139ff9], cl
jmp case.0x1001514d.3720
mov dword [ebp - 0x14], str.tc.ilhrls
jmp case.0x1001514d.3720
mov al, byte [edx + 6]
mov byte [0x10139ffc], al
mov cl, byte [edx + 7]
mov byte [0x1013a000], cl
mov dl, byte [edx + 8]
mov byte [0x10139fff], dl
jmp case.0x1001514d.3720
mov eax, ecx
sub eax, 0x558
je 0x100150e2
sub eax, 0x8cc
je 0x100150d6
sub eax, 0x21
jne case.0x1001514d.3720
mov eax, 0x61
mov ecx, 0x74
mov word [ebp - 0x3d], ax
mov edx, 0x65
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3b], dx
jmp case.0x1001514d.3720
mov dword [ebp - 0x40], 0x657243
jmp case.0x1001514d.3720
mov eax, 0x5f0d
cmp eax, eax
je 0x10015476
add eax, 0x1f
cmp eax, 0x5f0d
jbe 0x100150e9
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x5c]
xor ecx, ecx
push 0x36c3
push eax
mov word [ebp - 0x44], cx
call fcn.10030840
add esp, 0xc
mov dword [ebp - 0x30], eax
mov byte [ebp + 0xf], 0
jmp case.0x1001514d.3720
mov edx, 0x4165
mov dword [ebp - 0x3a], 0x6c6946
mov word [ebp - 0x37], dx
jmp case.0x1001514d.3720
lea eax, [ecx - 0xe87]
cmp eax, 0xe7
ja case.0x1001514d.3720
movzx eax, byte [eax + 0x10015528]
jmp dword [eax*4 + 0x10015504]
mov dword [ebp - 0x4e], 0x2e0032
mov dword [ebp - 0x4a], 0x6c0064
jmp case.0x1001514d.3720
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
je case.0x1001514d.3720
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100151a0
test dl, dl
je 0x1001519c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100151a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10015180
xor eax, eax
jmp 0x100151a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100152a5
mov esi, 0x4609
mov eax, esi
sub eax, 0x4609
je 0x10015277
sub eax, 7
jne 0x10015296
mov byte [ebp + 0xf], 1
cmp byte [ebp + 0xf], 0
mov dword [ebp - 0x10], 0xf6e
je case.0x1001514d.3720
mov eax, 0x30df
mov dword [ebp - 0x24], eax
sub eax, 0x30df
je 0x100153fb
sub eax, 0x5e
jne 0x1001541c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
invalid
stosd dword es:[edi], eax
stosb byte es:[edi], al
Function at 0x10028f60
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ecx, [eax + 0x2c]
push edi
mov edi, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ecx
cmp eax, ecx
ja 0x10028fe3
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp edi, 0x361d
ja 0x1002902c
je 0x10029020
cmp edi, 0x16b6
je 0x10028fc1
cmp edi, 0x3607
jne 0x100290e4
mov dword [esi + 0x4c], 0x100374c0
mov dword [esi + 0x54], 9
mov dword [esi + 0x50], 0x10037440
jmp 0x100290e4
stc
lcall 0x5f, 0xdeb946fe
add bl, ch
add ecx, dword [ebp - 0x3e74ffb7]
mov eax, ecx
sub eax, 0x5fde
je 0x10028fed
sub eax, 0x1d
jne 0x10029013
hlt
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub cl, ah
sub eax, 0xf6857413
je 0x1002900b
mov eax, dword [esi]
test eax, eax
je 0x1002900b
mov edx, dword [ebp + 8]
test edx, edx
je 0x1002900b
mov eax, dword [eax]
mov dword [edx], eax
xor eax, eax
jmp 0x10029010
mov eax, 0x16
mov dword [ebp + 0xc], eax
add ecx, 0x1d
cmp ecx, 0x5ffb
jbe 0x10028fd0
jmp 0x10029042
mov dword [esi + 0x58], 5
jmp 0x100290e4
mov eax, edi
sub eax, 0x6e0f
je 0x100290cc
sub eax, 0x16
jne 0x100290e4
imul esi, esp, 0x85d07bad
invalid
mov ebx, 0x67e3cfd5
mov edx, dword [esi]
push 0
lea eax, [esi + 4]
push eax
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, eax
add edi, 0x16
mov dword [ebp - 4], edi
cmp edi, dword [ebp - 0xc]
jbe 0x10028f81
mov eax, dword [ebp + 0xc]
pop edi
pop esi
Function at 0x1002fe70
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ecx, [eax + 0x10bc]
mov esi, eax
push edi
mov dword [ebp + 0xc], esi
mov dword [ebp - 0xc], ecx
cmp eax, ecx
ja 0x1002feb4
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, 0x5bd9
ja 0x1002fff4
je 0x1002feca
mov eax, esi
sub eax, 0x2d0f
je 0x1002febe
sub eax, 0x33
jne 0x1002fffc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
jmp 0x1002fffc
stc
lodsb al, byte [esi]
sub eax, 0x3d83dc02
call 0x10131273
je 0x1002fffc
mov edi, 0x77c9
mov eax, edi
sub eax, 0x77c9
je 0x1002ff79
sub eax, 0x50
je 0x1002ff5f
sub eax, 0x50
jne 0x1002ffe0
mov edi, 0x3bc748e9
cmp dword [0x10139db8], eax
je 0x1002ffe0
mov esi, 0x248d
mov eax, esi
sub eax, 0x248d
je 0x1002ff33
sub eax, 0xb
jne 0x1002ff4c
xor eax, 0x25427e4
mov eax, dword [0x10139db8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1002ff4c
push ds
add byte [ecx + ecx*2], bl
xor cl, byte [ebx + 0x139db80d]
adc byte [eax - 0x24], ch
jge 0x1002ff45
adc byte [ecx - 1], dl
rol dword [ebp - 0xfd8b40], cl
rol byte [ebx - 0x17ef43a], 1
cwde
and al, 0
add byte [esi - 0x45], dh
add esi, 0xb
cmp esi, 0x2498
jbe 0x1002ff12
mov esi, dword [ebp + 0xc]
jmp 0x1002ffe0
fidivr dword [ecx + 0x50]
les edx, [edx + ebp*2 + 0x59346800]
add byte [eax], al
push 0
push 0
call fcn.1002fa30
add esp, 0x10
jmp 0x1002ffe0
test bl, al
invalid
add edi, 0x50
cmp edi, 0x7869
jbe 0x1002fee1
mov ecx, dword [ebp - 0xc]
jmp 0x1002fffc
cmp esi, 0x5c0c
je 0x10030014
add esi, 0x33
mov dword [ebp + 0xc], esi
cmp esi, ecx
jbe 0x1002fe94
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub al, 0x63
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [esp + 0x10], 5
push 6
push 0x752a00
push 1
push 0
call edi
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x401020
mov eax, dword [0x752c08]
cmp eax, 0xbb40e64e
je 0x40106c
test eax, 0xffff0000
je 0x40106c
not eax
push 0x752bf4
push 0x752cb0
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x752c08]
jmp 0x4010b2
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, edi
xor eax, ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x752ca8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, dword [esp + 0x10]
xor eax, edi
xor eax, ebx
cmp eax, 0xbb40e64e
je 0x4010a8
test dword [0x752c08], 0xffff0000
jne 0x4010ad
mov eax, 0xbb40e64f
mov dword [0x752c08], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x752b60
not eax
mov dword [0x752c0c], eax
call edi
test eax, eax
je 0x401139
mov ecx, dword [0x753118]
mov edx, dword fs:[0x2c]
mov ebx, dword [edx + ecx*4]
mov dword [0x752c10], 0x78d4fdf4
mov dword [0x752c14], 0x401126e9
call fcn.00677d50
call fcn.00677d30
mov dword [0x7529b8], eax
call fcn.00401160
mov eax, dword [0x7529cc]
mov dword [eax], fcn.0060ec30
call fcn.006e1080
mov ecx, dword [0x7529cc]
push esi
mov edx, dword [ecx]
mov dword [ebx + 8], edx
call fcn.005a5b20
add esp, 4
call fcn.00401160
push 0x752b60
call edi
test eax, eax
jne 0x4010da
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
mov dword [0x7529a8], eax
call dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a190
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x752ca8]
push ebx
push esi
push edi
mov edi, dword [ebp - 8]
push eax
push 0x752a00
call fcn.0074a210
add esp, 8
push 0
push 0
push str.gyj87
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x46a25c
seto cl
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x752cb0
push 0x752bf4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x752c98], eax
call fcn.00677d30
mov ebx, eax
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec edi
cmp edi, eax
jne 0x46a247
mov eax, dword [ebp - 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x46a247
mov ecx, dword [0x7529d0]
push 0
push 0
push ebx
mov edx, dword [ecx + 8]
mov dword [0x752c90], edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
seto cl
call fcn.00677d30
mov dword [ebp - 4], eax
call fcn.0046a290
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call fcn.00677d30
mov esi, eax
jmp 0x46a25f
mov ebx, dword [ebp - 8]
mov ecx, dword [0x752ad8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6e0e30
Capabilities:
Accept command line arguments
Delete file
Query environment variable

Disassembly:
sub esp, 0x838
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x752a00
call esi
test eax, eax
je 0x6e0e50
mov byte [esp + 0x83a], 0x6c
mov byte [esp + 0x82b], 0x73
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x752b54], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x752ca8], eax
mov byte [esp + 0x838], 0x64
mov byte [esp + 0x830], 0x72
call section..text
push 0x752a00
push 0x752a00
mov byte [esp + 0x83f], 0x2e
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov dword [0x7529b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x7530d0
mov dword [0x752ab8], eax
mov byte [esp + 0x837], 0x74
mov byte [esp + 0x836], 0x4e
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x752a00
call esi
test eax, eax
jne 0x6e0ee7
mov byte [esp + 0x833], 0x74
lea esi, [esp + 8]
mov byte [esp + 0x832], 0x4e
jmp 0x6e0eeb
mov esi, dword [esp + 4]
push 0x752b60
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x6e0f21
mov dword [1], fcn.0060ec30
call fcn.0060ed20
call fcn.0046a290
mov eax, dword [0x752ca8]
push 1
push eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
jmp 0x6e0fbc
push 0x2c
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x6e0f61
mov ecx, dword [0x7529b4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.0060ed20
mov edx, dword [0x752aec]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x752c98]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0046a190
mov cl, byte [esp + 0x82f]
mov dl, byte [esp + 0x833]
mov al, byte [esp + 0x83a]
mov byte [esp + 0x82c], cl
mov cl, byte [esp + 0x830]
mov byte [esp + 0x82f], dl
mov dl, byte [esp + 0x82b]
mov byte [esp + 0x836], al
mov byte [esp + 0x835], al
mov al, byte [esp + 0x838]
mov byte [esp + 0x834], al
mov byte [esp + 0x82d], cl
mov byte [esp + 0x82e], dl
push str.ntdll.dll
mov dword [esi + 0xc], fcn.004d3b00
mov dword [esi + 0x10], 0x53cb10
mov dword [esi + 0x14], 0x5a5c20
mov dword [esi + 0x18], fcn.0060ed20
mov dword [esi + 0x1c], 0x6e11b0
mov dword [esi + 0x20], 0x677e20
mov dword [esi + 0x24], 0x46aaf0
mov dword [esi + 0x28], 0x46a170
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x752abc]
mov dword [0x752c90], eax
xor eax, eax
cmp ecx, eax
jne 0x6e101a
lea ecx, [esp + 0x3c]
mov dword [0x752abc], ecx
mov edx, dword [esp + 0x840]
mov dword [esi + 8], fcn.00401160
mov dword [esi], edx
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x2c], 0x750030
mov ecx, dword [0x752abc]
mov dword [0x7529c4], eax
mov dword [0x7529c8], eax
mov dword [0x7530c0], ecx
mov ecx, dword [esi + 0x28]
mov dword [esi + 4], edx
mov edx, dword [0x752abc]
add ecx, 0x10
push ecx
push edx
push eax
call fcn.0060ec30
push esi
call dword [0x752abc]
add esp, 0x10
call fcn.00677d30
pop esi
add esp, 0x838
ret
Function at 0x6e1080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.fsfsdfU823
push 0x7f
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov byte [ebp - 1], 0
test ebx, ebx
je 0x6e1187
mov eax, dword [ebp - 8]
test eax, eax
je 0x6e1187
mov eax, dword [0x752c98]
push 0x10
push str.QEsqac7gtwOO
push 0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x6e1187
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x6e1145
cmp esi, 0xffffffff
je 0x6e1145
mov eax, dword [ebp - 8]
test eax, eax
je 0x6e1187
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push edi
push ecx
push esi
call fcn.0060ec30
mov eax, dword [ebp - 8]
add esp, 0xc
cmp eax, 0xffffffff
je 0x6e1187
mov edx, dword [ebp - 8]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov dword [ebp - 8], esi
je 0x6e1135
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
push edi
push eax
push esi
call fcn.0060ec30
add esp, 0xc
jmp 0x6e1187
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x6e1151
call fcn.00401160
push 0
push edi
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffff0
lock xadd dword [eax], ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [ecx + 4]
mov edx, dword [esi]
push 0xfffffffffffffff0
call dword [edx + 4]
mov eax, dword [esi]
push 0xfffffffffffffff0
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movsx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x74a290
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f168
push 0x74b4e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x753150], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x75314c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x753148], ecx
shr eax, 0x10
mov dword [0x753144], eax
xor esi, esi
push esi
call fcn.0074b392
pop ecx
test eax, eax
jne 0x74a2fc
push 0x1c
call fcn.0074a3ab
pop ecx
mov dword [ebp - 4], esi
call fcn.0074b072
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x753674], eax
call fcn.0074af40
mov dword [0x75311c], eax
call fcn.0074acf3
call fcn.0074ac3a
call fcn.0074a95c
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0074abe2
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x74a349
movzx eax, word [ebp - 0x2c]
jmp 0x74a34c
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0074a989
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.0074aa5e
pop ecx
pop ecx
ret

Function at 0x74a9ab
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x753180], edi
jne 0x74a9c8
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x75317c], edi
mov byte [0x753178], bl
jne 0x74aa1c
mov eax, dword [0x753670]
test eax, eax
je 0x74aa0b
mov ecx, dword [0x75366c]
push esi
lea esi, [ecx - 4]
cmp esi, eax
jb 0x74aa0a
mov eax, dword [esi]
test eax, eax
je 0x74a9ff
call eax
sub esi, 4
cmp esi, dword [0x753670]
jae 0x74a9f7
pop esi
push 0x750020
push 0x75001c
call fcn.0074aa44
pop ecx
pop ecx
push 0x750028
push 0x750024
call fcn.0074aa44
pop ecx
pop ecx
test ebx, ebx
pop ebx
jne 0x74aa42
push dword [esp + 8]
mov dword [0x753180], edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
ret