joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40915c
nop
mov ecx, 0x1fe31fbe
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x76d9782b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xee0002
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0xef3277
sub esp, 0x24
mov eax, dword [0xf53038]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0xef32e5
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.00ee066a
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.00ee22df
pop ecx
pop ecx
test al, al
jne 0xef32fc
lea ecx, [esp + 0x18]
add edi, 4
call fcn.00ee2276
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0xef32b0
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00ee186c
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.00ee2276
jmp 0xef32e7

Function at 0xee243d
Capabilities:
Encode data using xor

Disassembly:
jmp 0xef399d
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0xef3a91
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0xf55728
mov bl, byte [esi + edi]
push 0xf3a3d8
push ebp
call fcn.00ee1588
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0xe9d1a9
push 0xf3a3e4
mov bh, byte [edx + section..REMO]
push 0xf55810
xor bh, bl
call fcn.00ee1588
pop ecx
pop ecx
mov ecx, eax
call fcn.00ee3f27
mov bl, byte [esi + edi]
push 0xe9d1a9
push 0xf3a3f4
push ebp
call fcn.00ee1588
pop ecx
pop ecx
mov ecx, eax
call fcn.00ee3f27
add byte [esi + edi], bh
push 0xe9d1a9
push 0xf3a408
push ebp
call fcn.00ee1588
pop ecx
pop ecx
mov ecx, eax
call fcn.00ee3f27
dec byte [esi + edi]
push 0xf3a428
push ebp
call fcn.00ee1588
add byte [esi + edi], 0xfe
push 0xf3a434
push ebp
call fcn.00ee1588
sub byte [esi + edi], bl
push 0xf3a448
push ebp
call fcn.00ee1588
inc byte [esi + edi]
push 0xf3a458
push ebp
call fcn.00ee1588
inc byte [esi + edi]
push 0xf3a464
push ebp
call fcn.00ee1588
inc byte [esi + edi]
push 0xf3a470
push ebp
call fcn.00ee1588
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0xef39b6
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0xee4012
Capabilities:
Parse pe header

Disassembly:
jmp 0xf182f1
push 0
call dword [0xf580e0]
test eax, eax
je 0xf18330
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xf18330
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xf18330
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xf18330
cmp dword [ecx + 0x74], 0xe
jbe 0xf18330
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0xee42b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0xef3342
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0xf91f88], eax
pop edi
pop esi
ret
Function at 0x424345
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041df0c
and dword [ebp - 4], 0
cmp dword [0x44b378], 0
mov ebx, eax
jne 0x4243f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4244a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4244a7
push eax
call fcn.0041de9a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b378], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b37c], eax
call esi
push eax
call fcn.0041de9a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b380], eax
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b388], eax
test eax, eax
je 0x4243f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041de9a
pop ecx
mov dword [0x44b384], eax
mov eax, dword [0x44b384]
cmp eax, ebx
je 0x42444e
cmp dword [0x44b388], ebx
je 0x42444e
push eax
call fcn.0041df15
push dword [0x44b388]
mov esi, eax
call fcn.0041df15
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42444e
test edi, edi
je 0x42444e
call esi
test eax, eax
je 0x424445
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424445
test byte [ebp - 0xc], 1
jne 0x42444e
or dword [ebp + 0x10], 0x200000
jmp 0x424487
mov eax, dword [0x44b37c]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424487
mov eax, dword [0x44b380]
cmp eax, ebx
je 0x424487
push eax
call fcn.0041df15
pop ecx
test eax, eax
je 0x424487
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b378]
call fcn.0041df15
pop ecx
test eax, eax
je 0x4244a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4244a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x30ef742c
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x53482107
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4278f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.LYzrrUgK
lea edi, [esi - 0x10000]
mov dword [edi + 0x1c708], 0x10d12fd2
push edi
or ebp, 0xffffffff
jmp 0x42791a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427910
mov eax, 1
add ebx, ebx
jne 0x427933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427928
jne 0x427944
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427928
xor ecx, ecx
sub eax, 3
jb 0x427958
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4279ca
mov ebp, eax
add ebx, ebx
jne 0x427963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427994
inc ecx
add ebx, ebx
jne 0x427980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427975
jne 0x427991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427975
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4279b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4279a5
jmp 0x427916
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4279b4
add edi, ecx
jmp 0x427916
pop esi
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427a13
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4279d1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2728c]
or eax, eax
je 0x427a0d
mov dword [ebx], eax
add ebx, 4
jmp 0x4279ee
call dword [esi + 0x27288]
mov ebp, dword [esi + 0x27290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x427a47
sub esp, 0xffffff80
jmp section.WRgfGBxY

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x402089
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x4020ce
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x4020d4
add eax, 4
pop esi
dec esi
push esi
jne 0x4020b6
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x40634d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004064fd
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40644b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4063ee
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x406431
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x406405
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x406420
test al, 0x40
je 0x406417
mov ecx, dword [edi + 0x20]
jmp 0x40641e
test al, 0x80
je 0x406431
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x406431
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4063bd
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40fd40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x40fd5e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x40fd53
pop esi
ret
Function at 0x410720
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x41072d
xor eax, eax
pop esi
ret
push esi
call dword [0x8c54dc]
add esp, 4
test eax, eax
jne 0x41073d
pop esi
ret
cmp eax, 1
jne 0x41074b
cmp byte [esi], 0x5c
jne 0x41074b
xor eax, eax
pop esi
ret
push esi
call fcn.004104d0
add esp, 4
test eax, eax
je 0x41075f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret

Function at 0x410810
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x410879
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.0040f7c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x410f90
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.0040f770
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x410fe7
push ebx
push edi
call fcn.0040f880
push esi
mov ebx, esi
call fcn.0040f770
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x410fbe
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x411010
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4110a2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x411094
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x41108c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x411055
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x4115a0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0xc
test ecx, ecx
mov eax, 0xfffffff5
je 0x4115bc
cmp dword [esp + 0x14], 2
jne 0x4115bc
mov eax, 0xfffffff4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
test ebp, ebp
je 0x411687
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x411687
push ebx
push esi
push edi
lea edi, [esp + 0x30]
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], 0
cmp eax, 0x80000004
jne 0x411601
mov ebx, dword [edi]
jmp 0x411618
push edi
call fcn.00413480
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41166e
mov dword [esp + 0x10], 1
push ebx
call dword [0x8c54dc]
mov esi, eax
add esp, 4
test esi, esi
jbe 0x41165d
mov edi, ebx
mov eax, 0x400
mov dword [esp + 0x20], 0
cmp esi, eax
jae 0x41163d
mov eax, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
sub esi, eax
add edi, eax
test esi, esi
ja 0x41162a
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41166e
push ebx
call fcn.00417732
add esp, 4
mov eax, dword [esp + 0x18]
add edi, 0xc
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x4115eb
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x412a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x412a51
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x412aab
inc edi
cmp edi, esi
jl 0x412a45
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x412ae0
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x412a9a
cmp byte [eax], bl
je 0x412ab5
cmp byte [eax + 1], bl
je 0x412abe
cmp byte [eax + 2], bl
je 0x412ac8
cmp byte [eax + 3], bl
je 0x412ad4
add eax, 4
cmp eax, edi
jb 0x412a71
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x413d80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x413de6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x413de6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x413dc7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x414170
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4141a8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push 0x8c550c
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x414e40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x414e89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x415300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00414eb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00414f30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00414f30
lea ecx, [esi + 0xc]
call fcn.004238de
lea ecx, [esi + 0x10]
call fcn.004238de
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004164d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004164d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004164d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00423953
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00423953
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428a43
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x428a71
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x428a8f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004289a9
jmp 0x428a8f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x428a8f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004289a9
test edi, edi
mov eax, edi
jne 0x428a79
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4195ec
Capabilities:
Terminate process

Disassembly:
call fcn.004195f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x203b6310
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x6b837ca8
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219