joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480d99
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 0x480dc7
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 0x480dce
cmp ebx, dword [eax + 4]
jae 0x480dce
xor eax, eax
jmp 0x480fbe
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x480ddf
xor eax, eax
inc eax
jmp 0x480fbd
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x480df5
cmp ecx, edx
jae 0x480f3a
cmp dword [eax + 4], 0
je 0x480dfe
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x480de6
cmp dword [ebp + 8], 0
je 0x480e20
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x480f3a
cmp eax, esi
jae 0x480f3a
mov eax, dword [0x4a6d78]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x480e45
cmp dword [esi*4 + 0x4a6d80], edi
je 0x480f3e
inc esi
cmp esi, eax
jl 0x480e33
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x480fba
cmp dword [ebp - 8], 0x1000000
jne 0x480fba
test byte [ebp - 0xc], 0xcc
je 0x480ec3
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x480fba
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x480fba
cmp word [eax + 0x18], 0x10b
jne 0x480fba
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x480fba
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x480ec3
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x480ec3
test byte [ecx + 0x27], 0x80
jne 0x480f3a
push 1
push 0x4a6dc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x480dd7
mov ecx, dword [0x4a6d78]
test ecx, ecx
mov edx, ecx
jle 0x480ef7
lea eax, [ecx*4 + 0x4a6d7c]
cmp dword [eax], edi
je 0x480ef7
dec edx
sub eax, 4
test edx, edx
jg 0x480eeb
test edx, edx
jne 0x480f28
push 0xf
pop ebx
cmp ecx, ebx
jg 0x480f04
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x480f1c
lea eax, [edx*4 + 0x4a6d80]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x480f0a
cmp ecx, 0x10
jge 0x480f28
inc ecx
mov dword [0x4a6d78], ecx
push 0
push 0x4a6dc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x480dd7
xor eax, eax
jmp 0x480fbd
test esi, esi
jle 0x480dd7
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4a6dc0
call ebx
test eax, eax
jne 0x480dd7
cmp dword [esi*4 + 0x4a6d80], edi
je 0x480f94
mov eax, dword [0x4a6d78]
lea esi, [eax - 1]
test esi, esi
jl 0x480f82
cmp dword [esi*4 + 0x4a6d80], edi
je 0x480f7e
dec esi
jns 0x480f72
test esi, esi
jge 0x480f92
cmp eax, 0x10
jge 0x480f8d
inc eax
mov dword [0x4a6d78], eax
lea esi, [eax - 1]
jmp 0x480f94
je 0x480fac
xor ecx, ecx
test esi, esi
jl 0x480fac
lea eax, [ecx*4 + 0x4a6d80]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x480f9a
push 0
push 0x4a6dc0
call ebx
jmp 0x480dd7
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481023
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.0047a810
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4810be
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 [0x4a6bb8]
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 0x4810be
cmp eax, 1
je 0x4810df
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 0x4810be
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x48108b
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4810ba
xor eax, eax
inc eax
jmp 0x4810fe
cmp edi, eax
jae 0x4810c2
xor eax, eax
jmp 0x4810fe
cmp eax, esi
jae 0x4810c9
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 [0x4a6bb8]
jmp 0x4810e2
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 0x486c58
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4a530c]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4a5320]
je 0x486c8d
inc eax
cmp eax, 0x13
jb 0x486c7e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4a5320]
jne 0x486db3
mov eax, dword [0x4a6bb0]
cmp eax, 1
je 0x486d8b
cmp eax, edx
jne 0x486cbd
cmp dword [0x4a4b5c], 1
je 0x486d8b
cmp ecx, 0xfc
je 0x486db3
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x486cf3
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00479f00
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.0047f250
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x486d27
mov eax, edi
push eax
call fcn.0047f250
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x49eca8
push edi
call fcn.00489250
add esp, 0x10
push edi
call fcn.0047f250
push dword [esi + 0x4a5324]
mov ebx, eax
call fcn.0047f250
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0047a810
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00479f00
push edi
push ebx
call fcn.00479f10
push 0x49ec88
push ebx
call fcn.00479f10
push dword [esi + 0x4a5324]
push ebx
call fcn.00479f10
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0048aa68
add esp, 0x2c
jmp 0x486db3
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4a5324]
push dword [esi]
call fcn.0047f250
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.0048788b
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x48727b
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x4a70bc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x4872c4
call ebp
mov esi, eax
cmp esi, ebx
je 0x4872aa
mov dword [0x4a70bc], 1
jmp 0x4872c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4872bf
push 2
pop eax
mov dword [0x4a70bc], eax
jmp 0x4872c4
mov eax, dword [0x4a70bc]
cmp eax, 1
jne 0x487321
cmp esi, ebx
jne 0x4872dc
call ebp
mov esi, eax
cmp esi, ebx
jne 0x4872dc
xor eax, eax
jmp 0x4873c8
cmp word [esi], bx
mov eax, esi
je 0x4872f1
inc eax
inc eax
cmp word [eax], bx
jne 0x4872e3
inc eax
inc eax
cmp word [eax], bx
jne 0x4872e3
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call fcn.0047b5b5
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x487314
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x4873c8
push ebp
push esi
push edi
call fcn.0047a010
add esp, 0xc
jmp 0x487306
cmp eax, 2
je 0x48732a
cmp eax, ebx
jne 0x4872d5
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x4872d5
cmp byte [ebp], bl
mov esi, ebp
je 0x487360
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x4872d5
push esi
add edi, eax
call fcn.0047f250
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x48733d
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call fcn.0047b5b5
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x4873d9
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x4873ba
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4873cf
push edi
call fcn.0047f250
push esi
lea edi, [edi + eax + 1]
call fcn.0047b47d
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x487380
push ebp
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call fcn.0047b493
pop ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x4872d5
Function at 0x4873e5
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x4a70c0]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x487425
call esi
test eax, eax
je 0x48740a
mov dword [0x4a70c0], 1
jmp 0x48742a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x487421
mov dword [0x4a70c0], 2
jmp 0x487433
xor eax, eax
jmp 0x487481
cmp eax, 1
jne 0x48742e
call esi
jmp 0x487481
cmp eax, 2
jne 0x487421
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
push ebp
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 1
push ebp
call edi
mov esi, eax
cmp esi, ebp
je 0x487479
lea eax, [esi + esi]
push eax
call fcn.0047b5b5
mov ebp, eax
test ebp, ebp
pop ecx
je 0x487479
push esi
push ebp
push 0xffffffffffffffff
push ebx
push 1
push 0
call edi
test eax, eax
jne 0x48747d
push ebp
call fcn.0047b493
pop ecx
xor eax, eax
jmp 0x48747f
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x48aa68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4a714c], ebx
push esi
push edi
jne 0x48aae8
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x48ab23
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a0754
push edi
call esi
test eax, eax
mov dword [0x4a714c], eax
je 0x48ab23
push 0x4a0744
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4a7150], eax
call esi
cmp dword [0x4a6bb8], 2
mov dword [0x4a7154], eax
jne 0x48aae8
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4a715c], eax
je 0x48aae8
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4a7158], eax
mov eax, dword [0x4a7158]
test eax, eax
je 0x48ab2d
call eax
test eax, eax
je 0x48ab14
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4a715c]
test eax, eax
je 0x48ab14
test byte [ebp - 8], 1
jne 0x48ab2d
cmp dword [0x4a6bc4], 4
jb 0x48ab27
or byte [ebp + 0x12], 0x20
jmp 0x48ab4c
xor eax, eax
jmp 0x48ab5c
or byte [ebp + 0x12], 4
jmp 0x48ab4c
mov eax, dword [0x4a7150]
test eax, eax
je 0x48ab4c
call eax
mov ebx, eax
test ebx, ebx
je 0x48ab4c
mov eax, dword [0x4a7154]
test eax, eax
je 0x48ab4c
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4a714c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48bfec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x48c1c0
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4a7460]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x48c1c0
test cl, 0x48
je 0x48c057
cmp byte [eax + 5], 0xa
je 0x48c057
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48c0a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x48c091
call fcn.0047ef45
mov dword [eax], 9
call fcn.0047ef4e
mov dword [eax], esi
jmp 0x48c0a1
cmp eax, 0x6d
je 0x48c1c0
push eax
call fcn.0047ef57
pop ecx
or eax, 0xffffffff
jmp 0x48c1c2
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x48c1bb
test eax, eax
je 0x48c0d0
cmp byte [ebx], 0xa
jne 0x48c0d0
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x48c0d9
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x48c1b5
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x48c1a5
cmp al, 0xd
je 0x48c10b
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x48c197
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x48c125
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x48c120
add dword [ebp + 0x10], 2
jmp 0x48c179
mov dword [ebp + 0x10], eax
jmp 0x48c193
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48c14d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48c193
cmp dword [ebp - 0xc], 0
je 0x48c193
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x48c16e
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x48c179
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x48c196
cmp ebx, dword [ebp + 0xc]
jne 0x48c17e
cmp byte [ebp - 1], 0xa
jne 0x48c17e
mov byte [ebx], 0xa
jmp 0x48c196
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0048750c
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x48c197
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x48c0ef
jmp 0x48c1b5
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x48c1b5
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x48c1c2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48c9df
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 0x48c9f8
or eax, 0xffffffff
jmp 0x48ca59
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x48ca55
push 0x3d
push esi
call fcn.0048cbdf
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x48ca55
cmp esi, eax
je 0x48ca55
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4a6bd8]
sete cl
cmp eax, dword [0x4a6bdc]
mov dword [ebp - 8], ecx
jne 0x48ca3b
mov edi, eax
call fcn.0048c97e
mov dword [0x4a6bd8], eax
cmp eax, ebx
jne 0x48ca94
cmp dword [ebp + 0xc], ebx
je 0x48ca5d
cmp dword [0x4a6be0], ebx
je 0x48ca5d
call fcn.0048bf5c
test eax, eax
je 0x48ca94
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x48ca66
xor eax, eax
jmp 0x48ca58
push 4
call fcn.0047b5b5
cmp eax, ebx
pop ecx
mov dword [0x4a6bd8], eax
je 0x48ca55
mov dword [eax], ebx
cmp dword [0x4a6be0], ebx
jne 0x48ca94
push 4
call fcn.0047b5b5
cmp eax, ebx
pop ecx
mov dword [0x4a6be0], eax
je 0x48ca55
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4a6bd8]
call fcn.0048c931
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x48caf5
cmp dword [esi], ebx
je 0x48caf5
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0047b493
cmp dword [ebp - 8], ebx
pop ecx
jne 0x48cad8
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x48cb36
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x48cacf
mov eax, edi
shl eax, 2
push eax
push dword [0x4a6bd8]
call fcn.0047d08e
cmp eax, ebx
pop ecx
pop ecx
je 0x48cb36
jmp 0x48cb31
cmp dword [ebp - 8], ebx
jne 0x48cba1
cmp edi, ebx
jge 0x48cb04
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4a6bd8]
call fcn.0047d08e
cmp eax, ebx
pop ecx
pop ecx
je 0x48ca55
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 [0x4a6bd8], eax
cmp dword [ebp + 0xc], ebx
je 0x48cb8b
push dword [ebp - 4]
call fcn.0047f250
inc eax
inc eax
push eax
call fcn.0047b5b5
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x48cb8b
push dword [ebp - 4]
push esi
call fcn.00479f00
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 0x48cb84
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0047b493
pop ecx
cmp dword [ebp - 8], ebx
je 0x48cb99
push dword [ebp - 4]
call fcn.0047b493
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x48ca58
push dword [ebp - 4]
call fcn.0047b493
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x48ca62
Function at 0x590473
Capabilities:
Encode data using xor

Disassembly:
or al, 0xbd
or ah, bh
invalid
insd dword es:[edi], dx
test al, 9
sub eax, dword [edi]
push esi
pop eax
aam 0xfe
pop ds
xor byte [ebp + 0x1c], dl
mov byte [edi + 1], bh
mov ah, 0xff
dec ebp
push ebx
pushal
inc esp
xchg dword [edx - 0x6481bfb6], ebx
fldcw word [ebp + 0x77]
pop ebx
pop ebp
pop esi
loopne 0x59045f
invalid
Function at 0x622583
Capabilities:
Encode data using xor

Disassembly:
adc edi, dword [ecx]
cmp eax, 0x3d300f88
imul ecx, dword [edx], 0x53225495
sal dword [eax - 0x31], 1
rcl byte [edi], 0x82
cmp esp, dword [ebx + 0x6a]
push edi
sbb bh, dl
push esi
clc
invalid
repe cmpsd dword [esi], dword es:[edi]
popfd
mov cl, 0xff
adc ecx, dword [ebp - 0x600dd7e5]
mov ecx, 0x607e481e
std
mov edi, dword [eax]
jecxz 0x622537
add al, 0xdc
cdq
dec ecx
pop es
sbb esi, dword [ecx]
sub esp, ecx
adc eax, 0xffffffcf
hlt

Function at 0x62d303
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x7a
dec esi
das
mov eax, 0x90a2563f
push 0xffffffffffffffbf
mul dword [eax - 0x29b3b0db]
salc
push esi
mov byte [0xf7bf6a90], al
mov al, byte [0xd64c4f25]
salc
mov edi, dword [edi - 0xe6988af]
sbb byte [ebp + 0x3e8fb628], al
push ecx
xor byte [edx - 0x6fff629e], cl
loopne 0x62d309
xor al, 0xa1
mov bh, byte [ecx - 0x51ef4151]
nop
mov edi, 0x905fb412
invalid

Function at 0x657ecd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662388
cmp edx, dword [eax]
je 0x657eef
add eax, 8
inc ecx
cmp eax, 0x662418
jl 0x657ee0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662388]
jne 0x65801d
mov eax, dword [0xa67cf0]
cmp eax, 1
je 0x657ff7
test eax, eax
jne 0x657f20
cmp dword [0x6622b4], 1
je 0x657ff7
cmp edx, 0xfc
je 0x65801d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657f57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006588b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657f9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dcbc
push edi
call fcn.0065ac10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006588b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006588c0
lea eax, [ebp - 0xa0]
push 0x65dc9c
push eax
call fcn.006588c0
push dword [esi + 0x66238c]
lea eax, [ebp - 0xa0]
push eax
call fcn.006588c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065ab84
add esp, 0x2c
pop edi
jmp 0x65801d
lea eax, [ebp + 8]
lea esi, [esi + 0x66238c]
push 0
push eax
push dword [esi]
call fcn.00658d40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x408fa0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
push eax
call sub.WSOCK32.dll_ntohl
mov ecx, dword [edi + 4]
mov esi, eax
push ecx
call sub.WSOCK32.dll_ntohl
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x10]
mov edi, eax
lea ebx, [esp + 0x10]
sub ebp, edx
mov dword [esp + 0x24], 4
mov eax, dword [ebx + ebp]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
add ebx, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x408fd6
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x24], 0x10
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, edi
sub eax, 0x61c88647
shr edx, 5
add edx, ebx
mov ebx, edi
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
add esi, edx
mov edx, esi
mov ebx, esi
shr edx, 5
shl ebx, 4
add edx, ecx
add ebx, ebp
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add edi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x408ffd
push esi
call sub.WSOCK32.dll_htonl
mov esi, dword [esp + 0x2c]
push edi
mov dword [esi], eax
call sub.WSOCK32.dll_htonl
mov dword [esi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x409070
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov eax, dword [esi]
push eax
call sub.WSOCK32.dll_ntohl
mov ecx, dword [esi + 4]
mov edi, eax
push ecx
call sub.WSOCK32.dll_ntohl
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x10]
mov esi, eax
lea ebx, [esp + 0x10]
sub ebp, edx
mov dword [esp + 0x24], 4
mov eax, dword [ebx + ebp]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
add ebx, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x4090a6
mov ecx, dword [esp + 0x14]
mov eax, 0xe3779b90
mov dword [esp + 0x24], 0x10
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, edi
shr edx, 5
add edx, ebx
mov ebx, edi
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x10]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
mov ebx, esi
shr edx, 5
shl ebx, 4
add edx, ecx
add ebx, ebp
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add eax, 0x61c88647
sub edi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x4090d0
push edi
call sub.WSOCK32.dll_htonl
mov edi, dword [esp + 0x2c]
push esi
mov dword [edi], eax
call sub.WSOCK32.dll_htonl
mov dword [edi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x52e639
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052e4b8

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219