joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406dd8
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x40a8d8
mov ebx, 0x45c2e0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov esi, 0x400
cmp edi, ebp
je 0x406e26
push 1
push ebp
push edi
call fcn.0040618d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x406f9d
cmp eax, esi
jg 0x406f9d
push esi
mov edi, 0x461938
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebp
je 0x406f9d
cmp eax, esi
jg 0x406f9d
push ebp
push ebp
push esi
push 0x45cae0
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
push ebp
call ebx
test eax, eax
je 0x406f9d
push ebp
push ebp
push esi
mov esi, 0x45d130
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call ebx
test eax, eax
je 0x406f9d
push esi
push 0x45cae0
push str._s_s_r_n
push 0x45d530
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x473ddc]
push dword [eax + 0x128]
push edi
call fcn.00406b47
push 4
push 0xc0000000
push edi
call fcn.0040618d
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x406f9d
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
je 0x406f93
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406f93
cmp edi, dword [esp + 0x10]
jne 0x406f93
push str._Rename__r_n
push esi
call fcn.004060f3
cmp eax, ebp
jne 0x406f2a
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406f5b
push 0x40a8cc
add eax, 0xa
push eax
call fcn.004060f3
mov ebp, eax
test ebp, ebp
je 0x406f59
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406f4c
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406f46
sub ebp, esi
inc ebp
mov eax, ebp
xor ebp, ebp
jmp 0x406f5d
xor ebp, ebp
mov eax, edi
push ebx
push 0x45d530
add eax, esi
push eax
call fcn.00406149
push ebp
push ebp
push ebp
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x14]
push eax
add edi, ebx
push edi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4075d2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46213c], 0
jne 0x407610
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4075e6
mov dword [ecx*4 + 0x462138], eax
inc ecx
cmp ecx, 0x100
jl 0x4075e1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40763d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x462138]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40761e
not eax
pop ebp
ret 0xc
Function at 0x847a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37e000]
push edi
or ebp, 0xffffffff
jmp 0x847a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x847a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847a88
mov eax, 1
add ebx, ebx
jne 0x847aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x847abc
jne 0x847adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847adb
dec eax
add ebx, ebx
jne 0x847ac8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x847aa0
add ebx, ebx
jne 0x847ad7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x847b2d
xor ecx, ecx
sub eax, 3
jb 0x847af3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x847b62
sar eax, 1
mov ebp, eax
jmp 0x847afe
add ebx, ebx
jne 0x847afe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847acc
inc ecx
add ebx, ebx
jne 0x847b0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x847acc
add ebx, ebx
jne 0x847b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x847b0e
jne 0x847b2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x847b0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x847b4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x847b3e
jmp 0x847a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x847b4c
add edi, ecx
jmp 0x847a8e
pop esi
mov edi, esi
mov ecx, 0x14a58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x847b6a
cmp byte [edi], 0x56
jne 0x847b6a
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 0x847b6f
lea edi, [esi + 0x429000]
mov eax, dword [edi]
or eax, eax
je 0x847bde
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5410b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5411b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x847b9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5411bc]
or eax, eax
je 0x847bd8
mov dword [ebx], eax
add ebx, 4
jmp 0x847bb9
call dword [esi + 0x5411c4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x847c0f
cmp al, 0xef
ja 0x847c02
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x847be4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x847bf1
mov ebp, dword [esi + 0x5411c0]
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 0x847c43
sub esp, 0xffffff80
jmp 0x6ddcd8
Function at 0x1019e18
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1019e22
pushal
call 0x1019e28
pop ebp
sub ebp, 0x10
sub ebp, 0xc19e18
jmp 0x1019e3e
mov eax, 0xc19e18
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b8
mov edx, 0xe563c14
xor byte [eax], dl
inc eax
dec ecx
jne 0x1019e55
jmp 0x1019e68
lahf
fstp dword [edi + 0x1414289d]
adc al, 0x95
aad 0xec
adc al, 0x14
adc al, 0x17
fldcw word [edx + edx - 0x51ebebec]
adc al, 0x14
adc al, 0xae
cmp al, 0x14
adc al, 0x14
jecxz 0x1019e7a
pop ss
fcomp qword [edi + 0x14141895]
adc al, 0x17
rol dword [esp + eax*2 + 0x7c], 1
in al, 0x73
sbb dl, byte [esp + edi*2]
cmp al, 0x22
cmpsd dword [esi], dword es:[edi]
adc al, 0x15
cmp byte [eax], dh
jl 0x1019eac
add byte [ebx - 0x39], ah
cld
adc dword [esp + edx], edx
adc al, 0xfd
cmp al, 0x14
adc al, 0x14
inc ecx
inc eax
dec ecx
lahf
xchg ecx, eax
sbb al, 0x14
adc al, 0x14
lahf
sbb dword [eax], 0x9f141414
cdq
add al, 0x14
adc al, 0x14
aad 0xfd
push ss
and eax, 0x10d69716
pop ebp
sbb edx, dword [ecx - 0x14141420]
dec ecx
salc
sbb byte [edi + ebx*4], dl
cwde
xor byte [eax], dl
adc al, 0x14
adc al, 0x7c
in al, 0x73
sbb dl, byte [esp + edi*2]
cmp al, 0x22
cmpsd dword [esi], dword es:[edi]
adc al, 0x15
cmp byte [eax], dh
inc ebp
cld
adc dword [esp + edx], edx
adc al, 0xfd
daa
push ss
adc al, 0x14
inc ecx
inc eax
dec ecx
jmp 0x1019f59
invalid
Function at 0x2580dce6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x2580dcf5
pop dword [ebp - 0x20]
mov eax, 0x93e5ea7f
sub eax, 0x6e650d8a
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x7048e978
add dword [ebp - 0x30], 0xde095bd3
mov dword [ebp - 0x2c], 0xd7e81dd0
add dword [ebp - 0x2c], 0x5a4b2e75
mov dword [ebp - 0x28], 0x72f5c71e
add dword [ebp - 0x28], 0xd9567d10
mov dword [ebp - 0x24], 0x51374201
add dword [ebp - 0x24], 0xaec8bdff
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x933e3c63
sub dword [ebp - 0x30], 0x1ecbd30d
mov dword [ebp - 0x2c], 0xb23df6f6
add dword [ebp - 0x2c], 0x8f2e6a7f
mov dword [ebp - 0x28], 0x7acaefa7
add dword [ebp - 0x28], 0xe8a47cc5
mov dword [ebp - 0x24], 0xb0efe5b5
add dword [ebp - 0x24], 0x4f101a4b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xc42e3b67
add eax, 0x61530509
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39ee8
push 0
call eax
mov ecx, 0xf6ffb989
add ecx, 0x9008a53
xor esi, esi
add esi, eax
mov edi, 0x2581dc00
add edi, dword [ebp - 0x20]
mov edx, 0x97e47ba6
sub edx, 0x9b09b52f
xor dword [ebp - 0x10], ebx
mov ebx, dword [edi]
sub dword [ebp - 4], 0xe89a5454
add ebx, edx
xor dword [ebp - 8], eax
mov dword [esi], ebx
mov dword [ebp - 0x10], 0x1f079842
add esi, 4
add edi, 0x2ce2b85c
add edi, 0xd31d47a8
loop 0x2580de0e
add eax, 0x10243
mov ebx, eax
add eax, 0xde16453e
add eax, 0x21e9bac7
mov ecx, 0xac90d712
sub ecx, 0x8710d712
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x411bea
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x41f950
push 0x250
mov eax, 0x426a07
call fcn.00411e47
mov ecx, 0x43061d
call fcn.00411fcd
push dword [0x42d620]
push 0x18
call fcn.00411695
mov edi, eax
cmp edi, 0xffffffff
je 0x41fa10
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x224
push eax
push edi
call fcn.0041192e
jmp 0x41fa0c
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.004113e3
mov esi, eax
lea ecx, [ebp - 0x25c]
lea eax, [ebp - 0x214]
push eax
call fcn.00411339
and dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
push esi
push eax
mov ecx, 0x42d624
call fcn.004118de
mov ecx, eax
call fcn.00412063
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00411983
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00411dca
test eax, eax
jne 0x41f99a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00412257
ret
Function at 0x402710
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a4
call fcn.00414d60
mov eax, dword [0x4202f8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10a4], ecx
mov dword [ebp - 0x109c], 1
mov dword [ebp - 0x1098], 0
push 0x3c
push 0
lea eax, [ebp - 0x1094]
push eax
call fcn.00407220
add esp, 0xc
mov dword [ebp - 0x1094], 0x3c
mov dword [ebp - 0x1080], pe_nt_image_headers32
push 0x101
mov ecx, dword [ebp - 0x10a4]
add ecx, 8
call fcn.004017e0
mov dword [ebp - 0x1084], eax
mov dword [ebp - 0x1064], 0x800
push 0x801
mov ecx, dword [ebp - 0x10a4]
add ecx, 0xc
call fcn.004017e0
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1074], 0x80
push 0x81
mov ecx, dword [ebp - 0x10a4]
add ecx, 0x10
call fcn.004017e0
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x106c], 0x80
push 0x81
mov ecx, dword [ebp - 0x10a4]
add ecx, 0x14
call fcn.004017e0
mov dword [ebp - 0x1070], eax
mov dword [ebp - 4], 0x824
mov ecx, dword [ebp - 0x1098]
and ecx, 0x2e000000
mov dword [ebp - 0x10a0], ecx
mov edx, dword [ebp - 0x10a0]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1058]
push ecx
mov ecx, dword [ebp - 0x10a4]
add ecx, 4
call fcn.00401580
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x40283a
mov dword [ebp - 0x109c], 0
jmp 0x402878
lea edx, [ebp - 0x1058]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x1094]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x402868
mov dword [ebp - 0x109c], 0
jmp 0x402878
mov edx, dword [ebp - 0x10a4]
mov ax, word [ebp - 0x107c]
mov word [edx], ax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10a4]
add ecx, 8
call fcn.00402a80
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10a4]
add ecx, 0xc
call fcn.00402a80
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10a4]
add ecx, 0x10
call fcn.00402a80
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10a4]
add ecx, 0x14
call fcn.00402a80
mov eax, dword [ebp - 0x109c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00406ffd
mov esp, ebp
pop ebp
ret

Function at 0x4064b0
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push section..data
push eax
call fcn.004090c0
add esp, 8
test eax, eax
je 0x4064f7
push edi
lea edi, [eax + 3]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esi + 4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x406f3f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4202f8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00406e7e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00407220
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x406f8e
cmp dword [ebp - 0x1c], 5
jb 0x406fa6
jmp 0x406fa2
cmp dword [ebp - 0x10], 1
jne 0x406fa6
cmp dword [ebp - 0x1c], 4
ja 0x406fa2
jne 0x406fa6
cmp dword [ebp - 0x18], 0
jbe 0x406fa6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41a358
call fcn.00406d14
test eax, eax
jge 0x406fc7
mov byte [0x421ec4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00406ffd
add ebp, 0x78
leave
ret

Function at 0x406ffd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4202f8]
jne 0x407007
repz ret
jmp fcn.00409b46
Function at 0x413984
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040a29f
xor ebx, ebx
cmp dword [0x421df4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x413a59
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4139c4
xor eax, eax
jmp 0x413b1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4139bd
push eax
call fcn.0040a23c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421df4], eax
call esi
push eax
call fcn.0040a23c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421df8], eax
call esi
push eax
call fcn.0040a23c
mov dword [0x421dfc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040c84d
test eax, eax
pop ecx
pop ecx
je 0x413a27
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004073f7
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x413a59
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040a23c
cmp eax, ebx
pop ecx
mov dword [0x421e04], eax
je 0x413a59
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a23c
pop ecx
mov dword [0x421e00], eax
mov eax, dword [0x421e00]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x413ad2
cmp dword [0x421e04], esi
je 0x413ad2
push eax
call fcn.0040a2a8
pop ecx
call eax
cmp eax, ebx
je 0x413a9f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x421e04]
call fcn.0040a2a8
pop ecx
call eax
test eax, eax
je 0x413a9f
test byte [ebp - 0x18], 1
jne 0x413ad2
lea eax, [ebp - 0xc]
push eax
call fcn.0040c884
test eax, eax
pop ecx
je 0x413aba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004073f7
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x413ac9
or dword [ebp + 0x10], 0x200000
jmp 0x413b03
or dword [ebp + 0x10], 0x40000
jmp 0x413b03
mov eax, dword [0x421df8]
cmp eax, esi
je 0x413b03
push eax
call fcn.0040a2a8
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x413b03
mov eax, dword [0x421dfc]
cmp eax, esi
je 0x413b03
push dword [ebp - 4]
push eax
call fcn.0040a2a8
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x421df4]
call fcn.0040a2a8
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4172c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004070b0
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov esp, ebp
pop ebp
ret 8
Function at 0x4172f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417310
xor eax, eax
jmp 0x417320
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov esp, ebp
pop ebp
ret 4
Function at 0x74c850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push 0x80000000
call edi
test eax, eax
jne 0x74c8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x777720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x74c8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0075d1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push 0x80000000
call edi
test eax, eax
jne 0x74c8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x777720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x74c92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0075e082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x74c957
mov word [eax], si
add eax, 2
push eax
call fcn.0075e030
add esp, 4
jmp 0x74c959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x74c8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x74c8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x74cff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7508f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x750921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x750946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x75096e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x750993
push ecx
push esi
call fcn.007504c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x757f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push 0x80000003
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x757ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x758035
lea edx, [esp + 0x10]
push esi
push edx
push 0x80000003
call fcn.00757e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push 0x80000003
call ebx
test eax, eax
je 0x757fc5
mov edi, 0x7728b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x758035
mov edx, dword [edi]
push esi
push edx
push 0x80000002
call fcn.00757e00
add edi, 4
add esp, 0xc
cmp edi, 0x7728c0
jb 0x758000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x758070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.0075e082
mov esi, eax
add esp, 8
test esi, esi
je 0x758107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x758102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.0075d946
add esp, 8
test eax, eax
je 0x7580e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x7580e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0075d946
add esp, 8
test eax, eax
jne 0x7580c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x758102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret