joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a0e8
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x4bbd44]
mov eax, dword [0x48b310]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x41a2ae
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x4bbd60]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x41a2ae
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x41a152
xor eax, eax
jmp 0x41a2c2
test al, 0x20
je 0x41a163
push 2
push edi
push edi
push ecx
call fcn.0041bf97
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x41a238
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x41a27f
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x41a1c5
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x41a1b6
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x41a198
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a205
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x41a211
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x41a18c
jmp 0x41a213
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x41a2a9
cmp dword [ebp + 0x3a4], edi
je 0x41a27f
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x41a271
mov dword [0x492cf8], eax
jmp 0x41a2b5
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a263
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x41a213
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x41a213
push dword [ebp + 0x3a4]
call fcn.0041ab80
pop ecx
jmp 0x41a2bf
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x41a297
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x41a14b
mov dword [0x492cf4], 0x1c
mov dword [0x492cf8], edi
jmp 0x41a2bf
sub eax, dword [ebp - 0x7c]
jmp 0x41a2c2
and dword [0x492cf8], 0
mov dword [0x492cf4], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.00415724
add ebp, 0x39c
leave
ret
Function at 0x41b114
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x492e80], ebx
push esi
push edi
jne 0x41b194
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41b1cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x485cc8
push edi
call esi
test eax, eax
mov dword [0x492e80], eax
je 0x41b1cf
push 0x485cb8
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x492e84], eax
call esi
cmp dword [0x492d00], 2
mov dword [0x492e88], eax
jne 0x41b194
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x492e90], eax
je 0x41b194
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x492e8c], eax
mov eax, dword [0x492e8c]
test eax, eax
je 0x41b1d9
call eax
test eax, eax
je 0x41b1c0
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x492e90]
test eax, eax
je 0x41b1c0
test byte [ebp - 8], 1
jne 0x41b1d9
cmp dword [0x492d0c], 4
jb 0x41b1d3
or byte [ebp + 0x12], 0x20
jmp 0x41b1f8
xor eax, eax
jmp 0x41b208
or byte [ebp + 0x12], 4
jmp 0x41b1f8
mov eax, dword [0x492e84]
test eax, eax
je 0x41b1f8
call eax
mov ebx, eax
test ebx, ebx
je 0x41b1f8
mov eax, dword [0x492e88]
test eax, eax
je 0x41b1f8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x492e80]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b20d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x41b23b
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x41b242
cmp ebx, dword [eax + 4]
jae 0x41b242
xor eax, eax
jmp 0x41b432
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x41b253
xor eax, eax
inc eax
jmp 0x41b431
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x41b269
cmp ecx, edx
jae 0x41b3ae
cmp dword [eax + 4], 0
je 0x41b272
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x41b25a
cmp dword [ebp + 8], 0
je 0x41b294
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41b3ae
cmp eax, esi
jae 0x41b3ae
mov eax, dword [0x492e98]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x41b2b9
cmp dword [esi*4 + 0x492ea0], edi
je 0x41b3b2
inc esi
cmp esi, eax
jl 0x41b2a7
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41b42e
cmp dword [ebp - 8], 0x1000000
jne 0x41b42e
test byte [ebp - 0xc], 0xcc
je 0x41b337
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41b42e
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41b42e
cmp word [eax + 0x18], 0x10b
jne 0x41b42e
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41b42e
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x41b337
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x41b337
test byte [ecx + 0x27], 0x80
jne 0x41b3ae
push 1
push 0x492ee0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x41b24b
mov ecx, dword [0x492e98]
test ecx, ecx
mov edx, ecx
jle 0x41b36b
lea eax, [ecx*4 + 0x492e9c]
cmp dword [eax], edi
je 0x41b36b
dec edx
sub eax, 4
test edx, edx
jg 0x41b35f
test edx, edx
jne 0x41b39c
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41b378
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41b390
lea eax, [edx*4 + 0x492ea0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41b37e
cmp ecx, 0x10
jge 0x41b39c
inc ecx
mov dword [0x492e98], ecx
push 0
push 0x492ee0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41b24b
xor eax, eax
jmp 0x41b431
test esi, esi
jle 0x41b24b
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x492ee0
call ebx
test eax, eax
jne 0x41b24b
cmp dword [esi*4 + 0x492ea0], edi
je 0x41b408
mov eax, dword [0x492e98]
lea esi, [eax - 1]
test esi, esi
jl 0x41b3f6
cmp dword [esi*4 + 0x492ea0], edi
je 0x41b3f2
dec esi
jns 0x41b3e6
test esi, esi
jge 0x41b406
cmp eax, 0x10
jge 0x41b401
inc eax
mov dword [0x492e98], eax
lea esi, [eax - 1]
jmp 0x41b408
je 0x41b420
xor ecx, ecx
test esi, esi
jl 0x41b420
lea eax, [ecx*4 + 0x492ea0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41b40e
push 0
push 0x492ee0
call ebx
jmp 0x41b24b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41beb4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00416230
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41bf4f
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x492d00]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x41bf4f
cmp eax, 1
je 0x41bf70
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41bf4f
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x41bf1c
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x41bf4b
xor eax, eax
inc eax
jmp 0x41bf8f
cmp edi, eax
jae 0x41bf53
xor eax, eax
jmp 0x41bf8f
cmp eax, esi
jae 0x41bf5a
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x492d00]
jmp 0x41bf73
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41cb13
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00416230
mov eax, dword [0x48b310]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4bbd44]
mov dword [ebp - 4], eax
jae 0x41cc56
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4bbd60]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x41cc56
push 1
push esi
push ebx
call fcn.00416ad1
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x41cc60
push 2
push esi
push ebx
call fcn.00416ad1
add esp, 0xc
cmp eax, 0xffffffff
je 0x41cc60
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41cc00
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00415330
push 0x8000
push ebx
call fcn.0041db04
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x41cbbf
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0041a0e8
add esp, 0xc
cmp eax, 0xffffffff
je 0x41cbdd
sub edi, eax
test edi, edi
jg 0x41cbb4
jmp 0x41cbf3
cmp dword [0x492cf8], 5
jne 0x41cbf0
mov dword [0x492cf4], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0041db04
pop ecx
pop ecx
jmp 0x41cc40
jge 0x41cc40
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00416ad1
push ebx
call fcn.0041ad6d
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x41cc40
mov dword [0x492cf4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x492cf8], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00416ad1
add esp, 0xc
mov eax, esi
pop edi
jmp 0x41cc63
mov dword [0x492cf4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00415724
leave
ret
Function at 0x45b730
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0xca
jne 0x45b772
mov ecx, dword [ebp + 8]
push ecx
call fcn.00462940
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x45b768
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xcf
mov al, 1
jmp 0x45b888
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0xcb
jne 0x45b848
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18c]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x45b837
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x45b7af
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18c]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45b7d1
xor al, al
jmp 0x45b888
cmp dword [ebp - 4], 2
jne 0x45b7d9
jmp 0x45b837
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x45b832
cmp dword [ebp - 4], 3
je 0x45b7ee
cmp dword [ebp - 4], 1
jne 0x45b832
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x45b832
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x118]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x45b797
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x45b87c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0xcc
je 0x45b87c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x12
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.0045b890
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x45b890
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0xcc
je 0x45b8c6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x17c]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x17c]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x45b98b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x45b957
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x45b91f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x45b955
xor al, al
jmp 0x45b9a6
jmp 0x45b8db
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x17c]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x17c]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x45b8c6
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x480a4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041ab80
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x480a6e
test byte [esp + 8], 2
je 0x480a6e
mov dword [0x492cf4], 0xd
mov dword [0x492cf8], 5
jmp 0x480a49
xor eax, eax
ret
Function at 0x482c79
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x482c92
or eax, 0xffffffff
jmp 0x482cf3
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x482cef
push 0x3d
push esi
call fcn.004835ea
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x482cef
cmp esi, eax
je 0x482cef
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x492d20]
sete cl
cmp eax, dword [0x492d24]
mov dword [ebp - 8], ecx
jne 0x482cd5
mov edi, eax
call fcn.00482c18
mov dword [0x492d20], eax
cmp eax, ebx
jne 0x482d2e
cmp dword [ebp + 0xc], ebx
je 0x482cf7
cmp dword [0x492d28], ebx
je 0x482cf7
call fcn.00481476
test eax, eax
je 0x482d2e
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x482d00
xor eax, eax
jmp 0x482cf2
push 4
call fcn.00415d5a
cmp eax, ebx
pop ecx
mov dword [0x492d20], eax
je 0x482cef
mov dword [eax], ebx
cmp dword [0x492d28], ebx
jne 0x482d2e
push 4
call fcn.00415d5a
cmp eax, ebx
pop ecx
mov dword [0x492d28], eax
je 0x482cef
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x492d20]
call fcn.00482bcb
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x482d8f
cmp dword [esi], ebx
je 0x482d8f
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00415cb0
cmp dword [ebp - 8], ebx
pop ecx
jne 0x482d72
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x482dd0
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x482d69
mov eax, edi
shl eax, 2
push eax
push dword [0x492d20]
call fcn.0041c979
cmp eax, ebx
pop ecx
pop ecx
je 0x482dd0
jmp 0x482dcb
cmp dword [ebp - 8], ebx
jne 0x482e3b
cmp edi, ebx
jge 0x482d9e
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x492d20]
call fcn.0041c979
cmp eax, ebx
pop ecx
pop ecx
je 0x482cef
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x492d20], eax
cmp dword [ebp + 0xc], ebx
je 0x482e25
push dword [ebp - 4]
call fcn.00415ad0
inc eax
inc eax
push eax
call fcn.00415d5a
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x482e25
push dword [ebp - 4]
push esi
call fcn.00415e00
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x482e1e
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00415cb0
pop ecx
cmp dword [ebp - 8], ebx
je 0x482e33
push dword [ebp - 4]
call fcn.00415cb0
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x482cf2
push dword [ebp - 4]
call fcn.00415cb0
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x482cfc
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x41004992
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x49765545
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40895f
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
push 0x29d327e
pop ebx
call fcn.00408993
mov eax, 0xad2bb4f5
or eax, ebx
xor dword [edi], esi
or ebx, ebx
inc edi
sub eax, ebx
cmp edi, ecx
jne fcn.0040895f
or eax, ebx
sub ebx, 0x79318461
ret
Function at 0x5c68d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x172000]
push edi
jmp 0x5c68ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c68f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c68e0
mov eax, 1
add ebx, ebx
jne 0x5c6903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c6914
jne 0x5c6933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c6933
dec eax
add ebx, ebx
jne 0x5c6920
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c68f8
add ebx, ebx
jne 0x5c692f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c6985
xor ecx, ecx
sub eax, 3
jb 0x5c694b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c69ba
sar eax, 1
mov ebp, eax
jmp 0x5c6956
add ebx, ebx
jne 0x5c6956
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c6924
inc ecx
add ebx, ebx
jne 0x5c6964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c6924
add ebx, ebx
jne 0x5c6971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c6966
jne 0x5c6982
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c6966
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c69a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c6996
jmp 0x5c68e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c69a4
add edi, ecx
jmp 0x5c68e6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c69c2
cmp byte [edi], 0x11
jne 0x5c69c2
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 0x5c69c7
lea edi, [esi + 0x1bf000]
mov eax, dword [edi]
or eax, eax
je 0x5c6a3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b700c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b7188]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c69f4
mov ecx, edi
jns 0x5c6a23
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 + 0x2b718c]
or eax, eax
je 0x5c6a39
mov dword [ebx], eax
add ebx, 4
jmp 0x5c6a11
call dword [esi + 0x2b719c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5c6a70
cmp al, 0xef
ja 0x5c6a63
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5c6a45
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5c6a52
mov ebp, dword [esi + 0x2b7190]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5c6aa4
sub esp, 0xffffff80
jmp 0x425f74