joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403160
Capabilities:
Enumerate pe sections
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
je 0x40319d
mov edi, dword [ebp + 0xc]
jmp loc.004117a8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4031b0
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
jmp loc.00412c70

Function at 0x4034dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
test ebx, ebx
jne 0x4034fe
test edx, edx
jne 0x403502
cmp dword [ebp + 0xc], edx
jne 0x403509
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
test edx, edx
je 0x403509
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x40351c
jmp 0x411a34
test ebx, ebx
jne 0x403527
xor eax, eax
mov word [edx], ax
jmp 0x4034f7
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x403535
xor eax, eax
mov word [edx], ax
jmp 0x403509
mov eax, edx
cmp ebx, 0xffffffff
jne 0x403554
mov esi, edx
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
add ecx, 2
test ax, ax
je 0x403576
dec edi
jne 0x403540
jmp 0x403576
mov esi, ecx
sub esi, edx
movzx ecx, word [esi + eax]
mov word [eax], cx
jmp 0x413b24
test edi, edi
jmp 0x41085a

Function at 0x4036fc
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00403675
movzx eax, byte [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp + 0x14]
test byte [ecx + eax + 0x1d], dl
jne 0x40373d
cmp dword [ebp + 0x10], 0
je 0x403737
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc8]
movzx eax, word [ecx + eax*2]
and eax, dword [ebp + 0x10]
jmp 0x403739
xor eax, eax
test eax, eax
je 0x403740
xor eax, eax
inc eax
cmp byte [ebp - 4], 0
je 0x40374d
jmp 0x4101d3
leave
ret

Function at 0x403e4b
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x403e83
push dword [ebp + 8]
push 0
push dword [0x40b2c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x403e83
push esi
jmp loc.00413961
pop ebp
ret

Function at 0x404283
Capabilities:
Packed with generic packer

Disassembly:
push 0xc
push 0x408b30
call fcn.004026f0
call fcn.00402406
mov esi, eax
mov eax, dword [0x40aaa0]
test dword [esi + 0x70], eax
je 0x4042c2
cmp dword [esi + 0x6c], 0
je 0x4042c2
jmp loc.00413e65
test esi, esi
jne 0x4042ba
push 0x20
call fcn.00401826
pop ecx
mov eax, esi
call fcn.00402735
ret
push 0xc
call fcn.00402b3e
pop ecx
and dword [ebp - 4], 0
push dword [0x40aa80]
add esi, 0x6c
push esi
call fcn.00404236
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.004042f0
jmp 0x4042ae

Function at 0x404409
Capabilities:
Packed with generic packer

Disassembly:
mov ebp, edx
mov esi, ecx
mov eax, ecx
push 1
jmp loc.00412cee
Function at 0x40489a
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4048ba
jmp loc.004119c4
push dword [ebp + 8]
push 0
push dword [0x40b2c0]
call dword [sym.imp.KERNEL32.dll_HeapSize]
pop ebp
ret

Function at 0x405760
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, edx
shr esi, 1
push edi
mov edi, ecx
je 0x405798
push ebx
lea ebx, [esi + edi]
sub edx, esi
mov ecx, ebx
call fcn.00405760
mov edx, esi
mov ecx, edi
call fcn.00405760
xor eax, eax
test esi, esi
je 0x405797
jmp loc.00411771
pop ebx
pop edi
pop esi
ret

Function at 0x4057a0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
call fcn.00405f60
push 0x4088f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov ecx, dword [esi + 0x3c]
jmp loc.004122bc

Function at 0x405cf0
Capabilities:
Packed with generic packer

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x40b7d0], eax
jmp loc.00412388

Function at 0x405d10
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
jmp loc.004135d5

Function at 0x405d80
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x88]
test edx, edx
je 0x405e02
push esi
mov esi, dword [eax + 0x8c]
test esi, esi
je 0x405e01
mov ecx, edi
sub ecx, dword [eax + 0x1c]
push ebx
mov dword [ebp - 4], ecx
lea ecx, [edx + edi]
mov ebx, ecx
sub ebx, edx
sub ebx, edi
cmp ebx, esi
jae 0x405e00
Function at 0x406ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x406f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x406fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x406f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x406fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x406fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [0x6390f4]
push eax
call dword [0x639088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x422190
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_strlen]
push esi
push edi
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
movzx edi, dx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov dword [ebp - 4], edi
xor esi, esi
call ebx
add esp, 8
test eax, eax
je 0x422297
mov edi, dword [ebp + 8]
nop
mov al, byte [esi + str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30]
mov cl, byte [esi + 0x434ff9]
add esi, 3
cmp al, 0x3f
je 0x42226f
cmp cl, 0x3f
je 0x42226f
lea edx, [eax - 0x30]
mov dword [ebp - 0xc], 0
cmp dl, 9
ja 0x422207
cbw
sub ax, 0x30
jmp 0x422225
lea edx, [eax - 0x61]
cmp dl, 0x19
ja 0x422217
cbw
sub ax, 0x57
jmp 0x422225
lea edx, [eax - 0x41]
cmp dl, 0x19
ja 0x422229
cbw
sub ax, 0x37
mov word [ebp - 0xc], ax
lea edx, [ecx - 0x30]
cmp dl, 9
ja 0x42223b
movsx ax, cl
sub ax, 0x30
jmp 0x42225d
lea edx, [ecx - 0x61]
cmp dl, 0x19
ja 0x42224d
movsx ax, cl
sub ax, 0x57
jmp 0x42225d
lea edx, [ecx - 0x41]
cmp dl, 0x19
ja 0x422261
movsx ax, cl
sub ax, 0x37
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0xa]
mov word [edi], ax
jmp 0x422277
mov ecx, 0x100
mov word [edi], cx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
add edi, 2
call ebx
add esp, 4
cmp esi, eax
jb 0x4221d0
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x42cff4], al
je 0x42404d
inc eax
cmp byte [eax + 0x42cff4], 0
jne 0x424043
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.00402930
mov dword [esi], eax
test eax, eax
je 0x42406b
push 0x42cff4
push eax
call dword [0x639134]
mov esi, dword [0x638aa4]
xor eax, eax
cmp byte [esi], al
je 0x42407e
inc eax
cmp byte [esi + eax], 0
jne 0x424077
inc eax
call fcn.00402930
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x424095
push esi
push ebx
call dword [0x639134]
lea eax, [ebp - 0x24]
push eax
call dword [0x639044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x638ec0], si
cmp dword [ebp + 0xc], edi
jle 0x424109
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x638ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x4240c0
mov word [0x638ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x424181
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x424151
cmp dword [ecx], 0
je 0x424151
cmp dword [0x6391c4], ecx
jne 0x42413b
mov dword [0x6391c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x424151
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x424181
cmp dword [ecx], 0
je 0x424181
cmp dword [0x6391c4], eax
jne 0x42416b
mov dword [0x6391c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x424181
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4264f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x6390e0]
test esi, esi
jne 0x426508
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x426501
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x426501
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x42656a
jmp 0x426550
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x638bf0]
add eax, esi
call fcn.00423fd0
test eax, eax
je 0x426573
inc edi
cmp edi, dword [ebp - 4]
jb 0x426550
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427d9a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437140]
jne 0x427da4
repz ret
jmp fcn.00428547

Function at 0x428acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00428895
and dword [ebp - 0x14], 0
cmp dword [0x438740], 0
mov dword [ebp - 0x18], eax
jne 0x428b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x438740], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438744], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438748], eax
call edi
push eax
call esi
mov dword [0x438750], eax
test eax, eax
je 0x428b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43874c], eax
mov eax, dword [0x43874c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428bd8
cmp dword [0x438750], ecx
je 0x428bd8
push eax
call esi
push dword [0x438750]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428bd8
test ebx, ebx
je 0x428bd8
call edi
test eax, eax
je 0x428bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x428bcf
test byte [ebp - 8], 1
jne 0x428bd8
or dword [ebp + 0x10], 0x200000
jmp 0x428c0b
mov eax, dword [0x438744]
cmp eax, dword [ebp - 0x18]
je 0x428c0b
push eax
call esi
test eax, eax
je 0x428c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428c0b
mov eax, dword [0x438748]
cmp eax, dword [ebp - 0x18]
je 0x428c0b
push eax
call esi
test eax, eax
je 0x428c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438740]
call esi
test eax, eax
je 0x428c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427d9a
leave
ret
Function at 0x9c6b35
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9c6b5c
call fcn.00969068
mov dword [eax], esi
call fcn.00969055
push 0x16
pop esi
mov dword [eax], esi
call fcn.00969caa
mov eax, esi
jmp 0x9c6bb1
test dword [ebp + 0xc], 0xfffffff9
jne 0x9c6b42
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9c6b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0096907b
pop ecx
call fcn.00969055
mov eax, dword [eax]
jmp 0x9c6bb1
test al, 0x10
jne 0x9c6baf
test al, 1
je 0x9c6baf
test byte [ebp + 0xc], 2
je 0x9c6baf
call fcn.00969068
mov dword [eax], 5
call fcn.00969055
mov dword [eax], 0xd
jmp 0x9c6b80
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40b8e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40b902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40b909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40b8f8
mov eax, 1
add ebx, ebx
jne 0x40b91b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40b910
jne 0x40b92c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b910
xor ecx, ecx
sub eax, 3
jb 0x40b940
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40b9b2
mov ebp, eax
add ebx, ebx
jne 0x40b94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40b958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40b97c
inc ecx
add ebx, ebx
jne 0x40b968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40b95d
jne 0x40b979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40b95d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40b99c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40b98d
jmp 0x40b8fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40b99c
add edi, ecx
jmp 0x40b8fe
pop esi
mov edi, esi
mov ecx, 0x36d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40b9ba
cmp byte [edi], 3
jne 0x40b9ba
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 eax, ebx
loop 0x40b9bf
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40ba2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40b9ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb054]
or eax, eax
je 0x40ba28
mov dword [ebx], eax
add ebx, 4
jmp 0x40ba09
call dword [esi + 0xb058]
popal
jmp 0x40762c
Function at 0x5e0f23
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0xcc681559
aam 0x8f
jno 0x5e0f93
inc ebp
xor al, 0x11
pop ds
das
pop edx
call 0x2424d706
sbb al, byte [edx + 0x69]
mov al, byte [0xe0f0b4df]
iretd
xor dword [ebx + 0x71], ebx
call 0xcc962906
in al, dx
pop ds
xor ah, ah
cmp edi, ecx
jno 0x5e0f93
cmp dword [eax], ebp
mul esp
loope 0x5e0f78
das
in al, 0xa7
adc byte [0xab2fcfe0], dh
and ah, bl
das
in al, 0xe0
iretd
Function at 0x4035ab
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x403600
push dword [esp + 0x10]
push 0x40352a
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x552770]
test esi, esi
je 0x403659
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4035f8
cmp byte [esi + 0x10], 0
je 0x4035f8
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4035d4
jmp 0x403659
mov esi, dword [0x552770]
test esi, esi
je 0x403659
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x403652
cmp byte [esi + 0x11], 0
je 0x40362e
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x403645
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push ebp
push 0x552770
call fcn.0040ef7f
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x40360d
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x403cf0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x55277c], 0
jne 0x403cfe
call fcn.00403c90
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x552780]
call esi
test eax, eax
jne 0x403d21
call fcn.00403c90
push dword [0x552780]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x403d30
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x403d90
mov ebx, 0x10
test edi, edi
jns 0x403d99
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x403d62
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x403db0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x55277c], 0
jne 0x403dbe
call fcn.00403c90
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x552780]
call esi
mov edx, eax
test edx, edx
jne 0x403de5
call fcn.00403c90
push dword [0x552780]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x403e18
mov ebx, 0x10
test esi, esi
jns 0x403e21
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x403e30
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x404468
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4044f2
cmp dword [ebp + 0xc], edi
je 0x4044f2
push esi
push 0x28
push 8
push dword [0x5526c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
or dword [esi + 4], 0xffffffff
mov dword [esi], edi
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0xc]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
pop ecx
pop ecx
test al, 1
je 0x4044e1
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x4045f6
push 0x2000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4044d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x4044f1
push esi
call fcn.00404647
jmp 0x4044f0
push esi
call fcn.0040450b
push esi
mov edi, eax
call fcn.00404647
pop ecx
pop ecx
pop esi
mov eax, edi
pop edi
pop ebp
ret 0xc
Function at 0x40450b
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
call fcn.004273d0
mov edi, eax
test edi, edi
je 0x4045db
push dword [esp + 0x18]
call fcn.0044c5b0
push ebx
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0xc0000000
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4045cb
test byte [esi + 0x1c], 2
mov dword [esi + 0x10], ebp
jne 0x404574
push 1
push 0x34
push edi
call fcn.00427460
add esp, 0xc
push dword [esp + 0x18]
push 0x2712
push edi
call fcn.00427460
push 0x404605
push 0x4e2b
push edi
call fcn.00427460
push esi
push 0x2711
push edi
call fcn.00427460
push edi
call fcn.00427450
add esp, 0x28
test eax, eax
jne 0x4045b6
xor ebx, ebx
mov dword [esi + 4], 0xfffffffe
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x4045cb
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esp + 0x18]
call fcn.0044c5a0
push edi
call fcn.004273b0
pop ecx
cmp dword [esi + 4], 0xfffffffe
je 0x4045ee
cmp dword [esi + 4], 0xfffffffc
je 0x4045ee
mov dword [esi + 4], 0xfffffffd
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x40472c
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push edi
xor edi, edi
inc edi
cmp dword [0x5527a8], 0
jne 0x404758
push 0x40467b
push 0x10
push 0x2c
mov dword [0x5527a8], edi
call fcn.0040e94a
mov dword [0x5527a4], eax
cmp word [0x55279c], 0
jne 0x4047f4
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x404783
mov word [0x55279c], di
jmp 0x40478b
xor eax, eax
mov word [0x55279c], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5527b8], eax
test eax, eax
je 0x4047f4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x454038
push eax
call esi
push 0x454044
push dword [0x5527b8]
mov dword [0x5527ac], eax
call esi
push str.getnameinfo
push dword [0x5527b8]
mov dword [0x5527b0], eax
call esi
cmp dword [0x5527ac], 0
mov dword [0x5527b4], eax
pop esi
je 0x4047f4
cmp dword [0x5527b0], 0
je 0x4047f4
test eax, eax
je 0x4047f4
mov dword [0x5527a0], edi
movsx eax, word [0x55279c]
pop edi
add esp, 0x190
ret