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

Disassembly:
add dword [0x4602d0], 0x867197fc
and dword [0x45f068], 0x71431040
cmp dword [0x460d20], 0
jne 0x422b90
imul eax, dword [0x460390], 0x9317e2e6
mov dword [0x460390], eax
call fcn.004165e0
mov dword [0x460d20], eax
or dword [0x45f4d8], 0x6bfa364d
xor dword [0x45b890], 0x90ccf4cb
push esi
push edi
push 3
push 0x2ea2
call fcn.00401b80
movsx ecx, word [0x45aa5e]
add esp, 8
mov edi, eax
cmp ecx, 0xfff97fa7
jne 0x422bd0
movzx ecx, word [0x45a9a8]
or ecx, 0x709da6cd
mov word [0x45a9a8], cx
push edi
push dword [esp + 0x10]
call fcn.0042bf91
mov edx, dword [0x460048]
mov esi, eax
mov ecx, dword [0x45fe54]
add ecx, 0xb87377
add ecx, edx
push edi
mov dword [0x460048], ecx
push 3
call fcn.004232b0
imul ecx, dword [0x45c084], 0xea2c08ee
add esp, 0x10
mov dword [0x45c084], ecx
test esi, esi
jne 0x422ce8
mov eax, dword [0x45f168]
movsx ecx, word [0x45ae0c]
not eax
add eax, 0xf20da8eb
shl ecx, 8
and ecx, eax
mov eax, dword [0x460a88]
inc dword [0x460a88]
and eax, 0xf02390e
cmp ecx, eax
jle 0x422c4f
mov dword [0x45fec4], 0xbf7d93ab
push 0x3e8
call dword [0x458934]
mov eax, dword [0x45ced8]
sar eax, 6
add eax, 0xc991daa7
add dword [0x45f6f8], eax
push 3
push 0x2ea2
call fcn.00401b80
mov ecx, dword [0x4600b8]
add esp, 8
or ecx, 0xc3c18654
mov edi, eax
add ecx, ecx
cmp ecx, 0x77ab3711
jne 0x422c9e
xor dword [0x45e36c], 0x372afd79
push edi
push dword [esp + 0x10]
call fcn.0042bf91
mov esi, eax
imul eax, dword [0x45cdec], 0x5683a6c
push edi
push 3
mov dword [0x45cdec], eax
call fcn.004232b0
inc dword [0x460570]
mov ecx, 0xf02384c5
mov eax, dword [0x460570]
add esp, 0x10
sub ecx, eax
xor ecx, dword [0x45eeb8]
xor ecx, 0xd98c2ebd
mov dword [0x45eeb8], ecx
and dword [0x45e64c], 0xd7beb7fe
test esi, esi
je 0x422d34
add dword [0x45fa88], 0x8c50be41
push esi
push 1
push 4
push 0x460d20
call fcn.0042c144
movzx eax, word [0x458c18]
and eax, 0x41cda4ec
mov word [0x458c18], ax
push esi
call fcn.0042bc66
add esp, 0x14
and dword [0x460400], 0xf3fffb2c
movzx eax, word [0x458f6e]
imul eax, eax, 0x5b977106
pop edi
pop esi
mov word [0x458f6e], ax
ret
Function at 0x4264f0
Capabilities:
Hash data with md5

Disassembly:
imul eax, dword [0x45edcc], 0x728cf754
push esi
mov esi, ecx
cmp eax, 0xd09cfe11
jne 0x42652c
dec word [0x45b448]
movzx eax, word [0x45b448]
movsx edx, word [0x45b15a]
cwde
xor edx, eax
movzx eax, word [0x458dfe]
imul eax, edx
mov word [0x458dfe], ax
mov dword [esi], 0
movsx ecx, word [0x4590a8]
mov eax, dword [0x45ca58]
sub ecx, 0x5b862abd
xor ecx, 0x9cff9c74
and eax, 0x4892a2
cmp ecx, eax
jl 0x42656d
movsx eax, word [0x458cbc]
mov ecx, 0xcc5639cf
sub ecx, eax
and ecx, 0x52cb580a
add dword [0x4600ec], ecx
mov dword [esi + 4], 0
movsx ecx, word [0x4591e4]
mov eax, dword [0x45ed94]
dec dword [0x45ed94]
or eax, 0xeafdac86
sar ecx, 2
xor ecx, 0xac232d89
cmp eax, ecx
jne 0x4265ad
mov eax, dword [0x4600b8]
xor eax, dword [0x45f938]
xor eax, 0xa2b67aa2
mov dword [0x45f938], eax
mov dword [esi + 8], 0x67452301
movzx eax, word [0x459e86]
imul eax, eax, 0xfbe69dcb
mov word [0x459e86], ax
mov dword [esi + 0xc], 0xefcdab89
movsx eax, word [0x459830]
cmp eax, 0xffe07d5c
jne 0x4265f2
mov ax, word [0x45aab4]
cwde
xor dword [0x45cad0], eax
dec word [0x45aab4]
jmp 0x4265fc
add dword [0x45baf0], 0x1ebfa039
mov dword [esi + 0x10], 0x98badcfe
add dword [0x460394], 0x41302107
mov dword [esi + 0x14], 0x10325476
movsx eax, word [0x45b50a]
imul eax, eax, 0x56e87f6f
pop esi
or dword [0x45e3d4], eax
ret
Function at 0x428f60
Capabilities:
Encode data using xor

Disassembly:
imul eax, dword [0x45d960], 0x5d7c6500
mov ecx, 0x7a579245
sub ecx, eax
cmp ecx, 0xfc09cf54
jl 0x428f9d
movsx eax, word [0x459e96]
sar eax, 3
imul ecx, eax, 0x39df076a
movzx eax, word [0x458c54]
add eax, 0x1b82f364
add eax, ecx
mov word [0x458c54], ax
push esi
push edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.00410850
mov ecx, edi
mov esi, eax
call fcn.00406b40
cmp esi, eax
je 0x428feb
jmp 0x428fc0
xor dword [0x4601b0], 0x53868319
mov ecx, edi
mov byte [esi], 0
inc esi
movzx eax, word [0x4592ca]
add eax, 0x22b6deb2
mov word [0x4592ca], ax
call fcn.00406b40
cmp esi, eax
jne 0x428fc0
and dword [0x45c224], 0x3eedf5ff
pop edi
pop esi
ret
Function at 0x43379a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x457700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042d71c
mov dword [ebp - 0x14], eax
cmp dword [0x461764], esi
jne 0x43388d
push 0x800
push esi
push 0x44d268
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43381a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43396d
push esi
push esi
push 0x44d268
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43396d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43396d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x461764], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x461768], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x46176c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x461774], eax
test eax, eax
je 0x43388a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x461770], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4338b2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4338a5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4338c7
push 4
pop eax
jmp 0x43396f
cmp dword [ebp - 0x14], esi
je 0x4338c7
push dword [0x461764]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4338ac
mov eax, dword [0x461770]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x433925
cmp dword [0x461774], edi
je 0x433925
push eax
call ebx
push dword [0x461774]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x433925
test eax, eax
je 0x433925
call ecx
test eax, eax
je 0x43391a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43391a
test byte [ebp - 8], 1
jne 0x433925
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x433955
mov eax, dword [0x461768]
cmp eax, edi
je 0x433952
push eax
call ebx
test eax, eax
je 0x433952
call eax
mov esi, eax
test esi, esi
je 0x433952
mov eax, dword [0x46176c]
cmp eax, edi
je 0x433952
push eax
call ebx
test eax, eax
je 0x433952
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x461764]
call ebx
test eax, eax
je 0x43396d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43396f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043355f
mov esp, ebp
pop ebp
ret
Function at 0x4010a4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
push edi
sub eax, 0x10
call fcn.00401773
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add ebx, 0x10
sub eax, 0x10
mov dword [ebp - 4], ebx
call fcn.00401773
mov edi, eax
mov eax, dword [esi]
add edi, 0x10
xor esi, esi
cmp dword [eax - 0xc], esi
mov dword [ebp + 0x10], edi
jne 0x401206
push 0x3c
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00422720
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push esi
push esi
push eax
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x48], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40112e
mov esi, dword [ebp + 8]
call fcn.00401d06
lea eax, [edi - 0x10]
call fcn.0040175b
lea eax, [ebx - 0x10]
jmp 0x401232
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004013fc
cmp dword [ebp - 0x3c], 5
mov byte [ebp - 0xc], 0x2f
jne 0x40114b
mov byte [ebp - 0xc], 0x5c
push dword [ebp - 0xc]
lea esi, [ebp - 8]
call fcn.0040143c
mov ebx, eax
test ebx, ebx
jl 0x401184
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
sub eax, ebx
lea ecx, [ebp - 0xc]
dec eax
push ecx
call fcn.00401456
lea edi, [ebp - 4]
call fcn.0040158b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 0x3c], 3
jne 0x40118e
push 0x3f
jmp 0x401196
cmp dword [ebp - 0x3c], 1
jne 0x4011a2
push 0x3b
lea esi, [ebp - 4]
xor ecx, ecx
call fcn.00401417
mov ebx, eax
test ebx, ebx
jl 0x4011c9
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
lea esi, [ebp - 4]
call fcn.004014a5
mov edi, esi
call fcn.0040158b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.0040cc80
lea esi, [ebp - 0xc]
mov dword [esp], 0x42467c
call fcn.004013cc
mov eax, esi
push eax
lea eax, [ebp - 4]
call fcn.0040c800
mov eax, dword [ebp - 0xc]
pop ecx
add eax, 0xfffffff0
call fcn.0040175b
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040175b
mov ebx, dword [ebp - 4]
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00401417
test eax, eax
jle 0x40123b
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00401773
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
call fcn.0040175b
mov eax, ebx
call fcn.0040175b
mov eax, esi
jmp 0x401289
cmp dword [edi - 0xc], 0
je 0x401258
lea eax, [ebp + 0x10]
call fcn.0040c50c
push dword [ebx - 0xc]
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.00401cb8
jmp 0x401263
lea eax, [ebp - 4]
lea edi, [ebp + 0x10]
call fcn.0040158b
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
mov eax, esi
call fcn.00401773
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.0040175b
lea eax, [ebx - 0x10]
call fcn.0040175b
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40128e
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0x3c
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00422720
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x3c], esi
mov eax, dword [eax - 0xc]
push ecx
call fcn.004013fc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4012f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4013be
push edi
push dword [ebp - 0x2c]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x28]
call fcn.004013fc
mov edi, dword [ebp + 0x14]
call fcn.0040158b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040175b
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004013fc
mov edi, dword [ebp + 0x18]
call fcn.0040158b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040175b
cmp dword [ebp - 0x20], ebx
je 0x40135d
push dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004013fc
mov edi, dword [ebp + 0x1c]
call fcn.0040158b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040175b
cmp dword [ebp - 0x18], ebx
je 0x401384
push dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004013fc
mov edi, dword [ebp + 0x20]
call fcn.0040158b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040175b
cmp dword [ebp - 8], ebx
je 0x4013ab
push dword [ebp - 8]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004013fc
mov edi, dword [ebp + 0x24]
call fcn.0040158b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040175b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ax, word [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
pop edi
lea eax, [esi - 0x10]
call fcn.0040175b
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x401ba1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401bb8
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x401bca
xor eax, eax
jmp 0x401bfb
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401bed
cmp edi, eax
jae 0x401bc6
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401bdf
cmp edi, eax
jae 0x401bc6
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x401dfc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401e45
push 0xea60
push eax
mov byte [esi + 0x74], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x401e3c
cmp dword [ebp - 4], 0x103
jne 0x401e3c
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x64]
sub eax, 0x10
call fcn.0040175b
mov eax, dword [esi + 0x3c]
sub eax, 0x10
call fcn.0040175b
mov eax, dword [esi + 0x24]
sub eax, 0x10
call fcn.0040175b
mov eax, dword [esi + 0x20]
sub eax, 0x10
call fcn.0040175b
mov eax, dword [esi + 0x1c]
sub eax, 0x10
call fcn.0040175b
leave
ret

Function at 0x401e7e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea edi, [esi + 0x24]
call fcn.0040158b
mov eax, dword [ebp + 8]
lea edi, [esi + 0x20]
call fcn.0040158b
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
je 0x401eb1
push eax
call edi
mov al, byte [ebp + 0x10]
mov byte [esi + 0x40], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x41], al
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x44], eax
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x58], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x40202c
push ebx
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x401ef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401f21
cmp byte [ebp + 0x14], bl
je 0x401f1f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x14]
push eax
push dword [esi + 0xc]
mov dword [ebp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 0xc]
call edi
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ebx
jmp 0x401f21
xor eax, eax
pop edi
pop ebx
leave
ret 0x18
Function at 0x402a65
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp + 0x14]
mov byte [esi + 0x42], 0
push dword [ebp + 0x10]
mov dword [esi + 0x34], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x402af5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0x3e5
cmp eax, ebx
jne 0x402af7
jmp 0x402ad1
call edi
cmp eax, ebx
jne 0x402ad7
push 1
call fcn.0040349f
mov eax, esi
call fcn.00403483
test al, al
jne 0x402ae2
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], 0
je 0x402aae
cmp dword [esi + 0x30], 0
jne 0x402ae9
mov eax, dword [esi + 0x2c]
jmp 0x402af7
mov eax, 0xe0000008
jmp 0x402af7
mov esi, dword [esi + 0x2c]
test esi, esi
jle 0x402af5
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x402afe
Capabilities:
Query remote server for available data

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
xor ebx, ebx
mov byte [esi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [esp + 0x20]
mov byte [esi + 0x42], bl
push dword [esp + 0x20]
mov dword [esi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x402b89
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebp, 0x3e5
cmp eax, ebp
jne 0x402b8b
jmp 0x402b66
call edi
cmp eax, ebp
jne 0x402b6b
push 1
call fcn.0040349f
mov eax, esi
call fcn.00403483
test al, al
jne 0x402b75
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], bl
je 0x402b43
cmp dword [esi + 0x30], ebx
jne 0x402b7c
mov eax, dword [esi + 0x2c]
jmp 0x402b8b
mov eax, 0xe0000008
jmp 0x402b8b
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jle 0x402b89
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x40367f
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00422720
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4036bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4036df
mov eax, dword [ebp - 0x30]
cmp eax, 3
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x4036dd
cmp eax, 4
je 0x4036dd
cmp eax, 1
je 0x4036dd
cmp eax, 2
je 0x4036dd
push 2
pop eax
jmp 0x4036df
xor eax, eax
leave
ret 8

Function at 0x403cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, esi
neg eax
push edi
lea ecx, [esi + 4]
sbb eax, eax
and eax, ecx
push 0x80
push dword [eax]
call fcn.004218ee
pop ecx
pop ecx
lea edi, [esi + 4]
push edi
xor eax, eax
call fcn.00403de9
mov eax, dword [esi + 0x28]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [edi]
call ebx
mov eax, dword [0x429570]
mov ecx, 0x429570
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push 0xdc
lea eax, [ebp - 4]
push eax
call fcn.00401b0b
push 0x40a
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [ebp - 4]
push edi
push eax
call ebx
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
lea ecx, [esi + 0x30]
push ecx
push 0x403d48
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
lea eax, [edi - 0x10]
call fcn.0040175b
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x403f91
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x403fa7
xor al, al
jmp 0x40401c
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
lea eax, [esi + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [edi], eax
jne 0x403fcc
xor al, al
jmp 0x40401b
push ebx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 4], ebx
jne 0x403fec
lea esi, [ebp - 8]
call fcn.00403f76
xor al, al
jmp 0x40401a
mov eax, dword [ebp + 8]
push esi
push dword [eax]
push ebx
call fcn.00422780
mov byte [ebx + esi], 0
add esp, 0xc
lea esi, [ebp - 8]
call fcn.00403f76
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop ebx
pop esi
leave
ret 4
Function at 0x4045e1
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x404661
push esi
lea eax, [ebp - 4]
push eax
call fcn.004038ae
test al, al
jne 0x404618
push 8
pop esi
jmp 0x40466d
push dword [ebp - 4]
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404661
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x42496c
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40466a
cmp dword [ebp - 0x14], 0
je 0x40466a
test edi, edi
mov eax, dword [ebp - 0xc]
je 0x404656
mov ecx, dword [eax + 8]
mov dword [edi], ecx
test ebx, ebx
je 0x40466a
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
jmp 0x40466a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push dword [ebp - 4]
call fcn.004222bd
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x404687
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [edi]
push ebx
xor ebx, ebx
push esi
sub eax, 0x10
mov dword [ebp - 4], ebx
call fcn.00401773
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0xc]
call fcn.00403840
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x40479e
push esi
lea eax, [ebp - 4]
push eax
call fcn.004038ae
test al, al
je 0x404787
push dword [ebp - 4]
push esi
push dword [ebp - 0x10]
lea esi, [ebp - 0xc]
call fcn.00403840
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404787
mov eax, dword [0x429570]
mov ecx, 0x429570
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404731
cmp dword [ebp - 0x14], ebx
je 0x404731
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 2]
push dword [ebp + 8]
movzx eax, word [eax]
push ecx
push eax
jmp 0x40473e
push dword [ebp + 8]
push 0x4e2
push 0x409
lea eax, [ebp - 8]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0040382d
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 8]
call fcn.00403840
push eax
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40477c
cmp dword [ebp - 0x1c], ebx
je 0x40477c
push dword [ebp - 0x20]
push edi
call fcn.00401d4a
mov bl, 1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040175b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
push dword [ebp - 4]
call fcn.004222bd
mov al, bl
jmp 0x4047b1
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040175b
push ebx
call fcn.004222bd
xor al, al
pop ecx
pop esi
pop ebx
leave
ret