joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407333
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4073d0
push ebx
push esi
call fcn.004072fc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407290
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40737d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4073cf
push edi
push eax
call fcn.00407f50
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40739d
call fcn.00405df1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4073ce
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407290
add esp, 0x20
test eax, eax
jne 0x4073bc
push edi
call fcn.00405df1
jmp 0x4073c4
push ebx
call fcn.00405df1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4086cd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffe8
push 0x40ffe0
push str.FlsAlloc
push 0x1f
call fcn.0040858c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408701
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e11c]
call esi
jmp 0x408707
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40874b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40fff8
push 0x40fff0
push str.FlsGetValue
push 0x21
call fcn.0040858c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408782
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e11c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40878a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410000
push 0x40fff8
push str.FlsSetValue
push 0x22
call fcn.0040858c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4087c4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e11c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40dc20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40dc4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40dc4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4060f0
Capabilities:
Create thread

Disassembly:
push 0x674
mov eax, 0x488831
call fcn.0046e801
mov edi, ecx
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x680], edi
call fcn.0042d5cd
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0xf58], ebx
mov dword [edi + 0xf5c], ebx
mov dword [edi + 0xf60], ebx
mov dword [edi + 0xf64], ebx
mov dword [edi + 0xf68], ebx
mov dword [edi + 0xf6c], ebx
mov dword [edi + 0xf70], ebx
lea edx, [edi + 0xf74]
mov ecx, edx
call fcn.004111d6
lea ecx, [edx + 0x34]
call fcn.004111d6
lea ecx, [edx + 0x68]
call fcn.004111d6
mov dword [edi + 0x1010], ebx
mov dword [edi + 0x1014], ebx
mov dword [edi + 0x1018], ebx
mov dword [edi + 0x101c], ebx
xor edx, edx
push 7
pop ebx
xor eax, eax
mov dword [edi + 0x1034], ebx
mov dword [edi + 0x1030], edx
mov word [edi + 0x1020], ax
lea ecx, [edi + 0x1038]
call fcn.004111d6
xor eax, eax
mov dword [edi + 0x1080], ebx
mov dword [edi + 0x107c], edx
mov word [edi + 0x106c], ax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
mov word [edi + 0x1084], dx
mov byte [edi + 0x1086], dl
call fcn.0040bfc9
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
push eax
call fcn.0040beaf
mov ecx, dword [ebp + 0xc]
add edi, 0x1088
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x67c], edi
mov bl, byte [ecx + 0x6c]
mov ecx, edi
call fcn.00404e93
push esi
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 9
call fcn.00404e93
and dword [edi + 0x40], 0
xor eax, eax
push 7
pop ecx
mov dword [edi + 0x44], ecx
mov word [edi + 0x30], ax
and dword [edi + 0x58], eax
test bl, bl
mov dword [edi + 0x5c], ecx
mov word [edi + 0x48], ax
sete al
mov byte [edi + 0x60], al
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00405141
mov edi, dword [ebp - 0x678]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10f0], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xf70], eax
lea eax, [ebp - 0x674]
push eax
mov dword [edi + 0x10ec], ebx
mov dword [edi + 0x10f4], ebx
mov byte [edi + 0x10f8], bl
call fcn.004064e1
push edi
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x674]
push eax
lea ecx, [edi + 0xf0]
call fcn.0042d86d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x10f0]
cmp byte [eax + 0x6d], bl
je 0x4062f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.aaa
push 0x4c37a8
call esi
push str.sID_eID_bID_1
push 0x4c41b0
call esi
push ebx
push ebx
push ebx
push 0x40d4a2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2bf20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push str.Running
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x674]
call fcn.00406339
mov eax, edi
call fcn.0046e7b0
ret 8
Function at 0x407ea0
Capabilities:
Create process on windows

Disassembly:
push 0x410
mov eax, 0x488ed9
call fcn.0046e86d
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x40c]
push eax
mov dword [ebp - 0x410], edi
call fcn.0042d7c8
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov edx, 0x272d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00411075
mov edx, eax
lea ecx, [ebp - 0x2fc]
call fcn.004123f3
lea ecx, [ebp - 0xf0]
mov bl, al
call fcn.004114ce
test bl, bl
je 0x407f43
mov ecx, dword [edi + 0x101c]
test ecx, ecx
je 0x407f30
push dword [edi + 0x10f4]
push esi
push esi
call fcn.0043b0b4
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
mov byte [edi + 0x1085], 1
push eax
jmp 0x407f7a
push 1
push esi
push esi
lea ebx, [edi + 0x1020]
mov byte [ebp - 4], 2
push ebx
lea eax, [edi + 0x1050]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040bb44
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.00405141
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x407f82
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004050ae
cmp byte [edi + 0x1085], 0
je 0x407fa7
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 2
push 0x111
push dword [ebp - 0x418]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
jmp 0x4080ed
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405141
lea ecx, [ebp - 0x40c]
call fcn.0040420a
call fcn.0046e7bf
ret 4
Function at 0x40c17d
Capabilities:
Write file on windows

Disassembly:
push 0x8c
mov eax, 0x489a7f
call fcn.0046e801
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, 0x272a
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00411075
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00404e6d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.004114ce
mov edi, str._nURL_
push edi
call fcn.00402bda
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040e334
push ecx
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041127c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040e28e
lea ecx, [ebp - 0x94]
call fcn.004114ce
mov dword [ebp - 0x98], ebx
test esi, esi
je 0x40c247
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x98]
push ebx
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00405141
push ebx
push 1
lea ecx, [ebp + 0x20]
call fcn.00405141
call fcn.0046e7b0
ret
Function at 0x40c79a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489b93
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40c94c
lea eax, [esp + 0x10]
push eax
push 0x4a005c
push 1
push ebx
push 0x4a034c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c94c
cmp dword [esi + 0x14], 8
jb 0x40c81a
mov ecx, dword [esi]
jmp 0x40c81c
mov ecx, esi
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
push esi
mov ecx, edi
call fcn.0040c978
test al, al
je 0x40c84a
lea edx, [esi + 0x48]
cmp dword [edx + 0x14], 8
jb 0x40c83e
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4a039c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40c942
push str.DESKTOP
lea ecx, [esp + 0x1c]
call fcn.00404ebb
lea edx, [esp + 0x18]
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0x78]
call fcn.00432ed4
push 0x4a3524
mov edx, eax
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x4c]
call fcn.00405713
pop ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0xa0], 2
push ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.0040ed64
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x34]
mov edx, eax
mov dword [esp], 0x4a3e68
call fcn.0040ed8c
pop ecx
mov edx, eax
mov byte [esp + 0xa0], 4
cmp dword [edx + 0x14], 8
jb 0x40c8e4
mov edx, dword [edx]
mov eax, dword [esp + 0x14]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00405141
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.00405141
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00405141
push ebx
push 1
lea ecx, [esp + 0x80]
call fcn.00405141
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
push ebx
push 1
call fcn.00405141
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret 4
Function at 0x41020c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0040fff4
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x410231
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x38]
mov ebx, eax
call fcn.004114ce
cmp ebx, 0xffffffff
je 0x410251
test bl, 0x10
jne 0x410251
xor eax, eax
inc eax
jmp 0x410253
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0046a41b
mov esp, ebp
pop ebp
ret

Function at 0x410262
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.0040fff4
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x410287
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004114ce
test esi, esi
je 0x4102b1
cmp esi, 0xb7
je 0x4102b1
cmp esi, 0x50
je 0x4102b1
xor al, al
jmp 0x4102b3
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x410736
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a561
mov eax, dword fs:[0]
push eax
mov eax, 0x11b8
call fcn.0046f760
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044fb20
lea eax, [ebp - 0x11b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push ecx
mov esi, eax
lea ecx, [ebp - 0x7c]
xor eax, eax
mov ebx, 0x4a3a29
push ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 0x7e], al
call fcn.004112d3
and dword [ebp - 4], 0
push ecx
push ebx
lea ecx, [ebp - 0x48]
call fcn.004112d3
xor ebx, ebx
mov word [ebp - 0x14], bx
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x11b4]
mov ecx, esi
push eax
call fcn.00410969
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x80], bl
je 0x4107db
call fcn.00410d57
push str.aswhookx.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x41082d
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x11bc], eax
add eax, dword [ecx + eax + 0x28]
mov dword [ebp - 0x11b8], eax
mov eax, dword [ebp - 0x11bc]
push eax
mov eax, 3
push eax
xor eax, eax
push eax
mov eax, dword [ebp - 0x11b8]
call eax
mov eax, dword [ebp - 0x11bc]
push eax
mov eax, 0
push eax
xor eax, eax
push eax
mov eax, dword [ebp - 0x11b8]
call eax
cmp byte [ebp - 0x7f], 0
jne 0x410873
call fcn.00433819
test eax, eax
jne 0x410873
push dword [ebp - 0x11b4]
mov edx, esi
lea ecx, [ebp - 0x98]
call fcn.00410f03
pop ecx
lea edx, [ebp - 0x98]
call fcn.00410e63
push ebx
test eax, eax
je 0x410866
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 1
lea ecx, [ebp - 0x98]
call fcn.00405141
call fcn.00410f83
test al, al
je 0x410884
mov byte [ebp - 0x7e], 1
mov byte [ebp - 0x14], 1
push ebx
push ebx
push ebx
push 4
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x11c4]
mov dword [ebp - 0x11c4], 8
push eax
mov dword [ebp - 0x11c0], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.0044cb9b
push ebx
call fcn.0044e6b4
pop ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x11a0], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x119c], ebx
push eax
movdqu xmmword [ebp - 0x11b0], xmm0
call fcn.004519c1
lea ecx, [ebp - 0x1198]
push dword [eax + 8]
call fcn.004060f0
mov dword [ebp - 0x9c], 1
lea ecx, [ebp - 0x11b0]
mov byte [ebp - 4], 2
call fcn.0043680e
lea ecx, [ebp - 0x1198]
call fcn.00406445
lea ecx, [ebp - 0x48]
call fcn.004114ce
lea ecx, [ebp - 0x7c]
call fcn.004114ce
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x410d57
Capabilities:
Terminate process

Disassembly:
push 0x294
mov eax, 0x48a5fb
call fcn.0046e801
push 0x104
lea eax, [ebp - 0x218]
xor edi, edi
push eax
mov ebx, edi
push edi
mov dword [ebp - 0x29c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xc
call fcn.0043d3e6
mov esi, eax
pop ecx
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 4], edi
test esi, esi
je 0x410dc9
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041133e
inc ebx
lea eax, [ebp - 0x264]
mov byte [ebp - 4], bl
mov ecx, esi
push eax
mov dword [ebp - 0x29c], ebx
call fcn.0040ff22
mov esi, eax
jmp 0x410dcb
mov esi, edi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x410ddf
lea ecx, [ebp - 0x264]
call fcn.004114ce
lea eax, [ebp - 0x298]
mov ecx, esi
push eax
call fcn.004100be
push str._test
lea edx, [eax + 0x18]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.00405713
pop ecx
lea ecx, [ebp - 0x298]
call fcn.004114ce
test esi, esi
je 0x410e25
mov ecx, esi
call fcn.004037d4
push esi
call fcn.0043d41c
pop ecx
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x410e5a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffb
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410e63
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x410ef2
push 0x3c
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.0046cab0
and dword [ebp - 0x240], 0
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x23c], 0x4a4028
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 1
jb 0x410edd
mov esi, dword [esi]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x234], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x410ef4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x422682
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x48d4f0
call fcn.0046e7ce
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4a3528
mov dword [ebp - 0x14], ebx
call fcn.00404ebb
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
movzx ecx, si
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x422748
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043d413
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.00403def
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040532a
push esi
call fcn.0043d41c
pop ecx
jmp 0x42274b
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046e79c
ret
Function at 0x4227f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d55e
mov eax, dword fs:[0]
push eax
mov eax, 0x1078
call fcn.0046f760
mov eax, dword [0x4bc760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1084], esi
mov ebx, ecx
mov dword [ebp - 0x1080], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x1014]
push 0x800
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4228ac
push ecx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1048]
call fcn.0041133e
push esi
lea edx, [ebp - 0x1048]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x107c]
call fcn.00422753
add eax, 0x18
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42288a
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x107c]
call fcn.004114ce
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0
call fcn.004114ce
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x422942
push dword [esi]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x422939
push 0x800
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x422939
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x1048]
call fcn.0041133e
push dword [ebp - 0x1084]
lea edx, [ebp - 0x1048]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x107c]
call fcn.00422753
add eax, 0x18
pop ecx
cmp dword [eax + 0x14], 8
jb 0x422917
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x107c]
call fcn.004114ce
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0
call fcn.004114ce
mov ebx, dword [ebp - 0x1080]
add esi, 4
cmp esi, edi
jne 0x4228b7
lea ecx, [ebp + 8]
call fcn.00405044
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret
Function at 0x422eb0
Capabilities:
Connect to http server
Create http request

Disassembly:
push 0xbc
mov eax, 0x48d631
call fcn.0046e801
mov esi, ecx
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.004249bb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov edx, esi
call fcn.00424aea
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
je 0x423072
cmp dword [ebp - 0x34], 0
je 0x423072
and dword [ebp - 0x1c], 0
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov edx, 0x2715
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.00411075
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x422f2b
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.004114ce
test edi, edi
je 0x423007
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x50
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x422fea
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
xor edx, edx
push edx
push 0x400000
push edx
push edx
push edx
push ecx
push 0x4a49a8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x422fc8
lea ecx, [ebp - 0xb8]
call fcn.00423cf8
push dword [ebp - 0xb8]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call esi
jmp 0x422fe0
mov ebx, str.Request_cannot_be_completed_on_current_url.
push ebx
call fcn.00402bda
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
push dword [ebp - 0xc8]
call esi
jmp 0x423002
mov ebx, str.Cannot_connect_to_server.
push ebx
call fcn.00402bda
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
push edi
call esi
jmp 0x42301f
mov esi, str.Cannot_initialize_library.
push esi
call fcn.00402bda
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403846
mov bl, 1
test bl, bl
je 0x42303d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00422baa
push 0x4b8ab4
lea eax, [ebp - 0x80]
push eax
call fcn.0046edbe
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00403790
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405141
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00405141
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
call fcn.0046e7b0
ret
push str.Cannot_get_file_size__bad_URL.
lea ecx, [ebp - 0x74]
call fcn.004035dc
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4]
call fcn.00422baa
push 0x4b8ab4
lea eax, [ebp - 0xa4]
jmp 0x423037
Function at 0x423cf8
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 8
push edi
push edi
mov esi, ecx
xorps xmm0, xmm0
push edi
push edi
movlpd qword [ebp - 0xc], xmm0
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000005
push dword [esi]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret