joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x71
mov dword [ebp - 8], 0
jmp 0x10007b62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x15
jge 0x10007ba1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x381aab17]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007b9c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007b59
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x85
mov dword [ebp - 8], 0
jmp 0x10007be2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jge 0x10007c21
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x265a051c]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007c1c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007bd9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x6a
mov dword [ebp - 8], 0
jmp 0x10007c62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jge 0x10007ca1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x33444c1d]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007c9c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007c59
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xca
mov dword [ebp - 8], 0
jmp 0x10007ce2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jge 0x10007d21
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x482fd57f]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007d1c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007cd9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10007d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xef
mov dword [ebp - 8], 0
jmp 0x10007d62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x19
jge 0x10007da1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x21846c20]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007d9c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007d59
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x68
mov dword [ebp - 8], 0
jmp 0x10007de2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x19
jge 0x10007e21
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x5412874]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007e1c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007dd9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
jmp 0x10007e62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1b
jge 0x10007ea1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x714ba8ce]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007e9c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007e59
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x7b
mov dword [ebp - 8], 0
jmp 0x10007ee2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x19
jge 0x10007f21
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x6ed743b8]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007f1c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007ed9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10007f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x33
mov dword [ebp - 8], 0
jmp 0x10007f62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jge 0x10007fa1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x3565ac27]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10007f9c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007f59
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10007fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x44
mov dword [ebp - 8], 0
jmp 0x10007fe2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1f
jge 0x10008021
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x5347181b]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000801c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10007fd9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10008040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x51
mov dword [ebp - 8], 0
jmp 0x10008062
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x19
jge 0x100080a1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x67843535]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000809c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10008059
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100080c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xd5
mov dword [ebp - 8], 0
jmp 0x100080e2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1d
jge 0x10008121
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x4e6c4019]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000811c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100080d9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x10008140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x46
mov dword [ebp - 8], 0
jmp 0x10008162
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1f
jge 0x100081a1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x7103400e]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000819c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10008159
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100081c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0xbd
mov dword [ebp - 8], 0
jmp 0x100081e2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1f
jge 0x10008221
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0xdffee7]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000821c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100081d9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x1f], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000c0be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10049780]
jne 0x1000c0c8
repz ret
jmp fcn.1000c52c
Function at 0x440d8f
Capabilities:
Encode data using xor

Disassembly:
sub al, al
pushal
push 0x12daacbd
cmp dh, bl
repne scasb al, byte es:[edi]
push edi
jmp 0x440274

Function at 0x5012cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x2c], 1
je 0x5012e5
movzx esi, word [esp + 0x30]
xor eax, eax
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x4c], 0x30
call fcn.005012c4
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x501134
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Jungo
mov dword [ebp - 0x20], eax
call fcn.005012b7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x5013b0
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.180000
push str.Jungo
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x503758], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x503758]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x5013b0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x501395
mov esp, ebp
pop ebp
ret
Function at 0x404262
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x40435b
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x404291
sub esp, 0x10
call fcn.00404568
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x40435d
cmp eax, 0xf
jne 0x4042a5
lea ecx, [esi + 0x20]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x404289
cmp eax, 0x14
jne 0x4042b5
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
jmp 0x404289
cmp eax, 0x201
jne 0x4042c9
push ecx
push dword [ebp + 0x14]
push ecx
push ecx
call fcn.004044b5
jmp 0x404284
cmp eax, 0x202
jne 0x4042db
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x404289
cmp eax, 0x18
jne 0x404333
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
cmp byte [0x443fac], 0
mov edi, eax
jne 0x404328
xor ecx, ecx
mov byte [0x443fac], 1
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ecx
push eax
push ecx
push esi
push 0x404684
push ecx
push ecx
call fcn.00416bec
add esp, 0x18
test eax, eax
je 0x404328
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor eax, eax
inc eax
pop edi
jmp 0x40435d
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push eax
call fcn.004049fe
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x404289
xor eax, eax
pop esi
pop ebp
ret 0x18

Function at 0x407bed
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
push eax
mov esi, ecx
push eax
push eax
push eax
mov dword [esi], 0x43ca7c
mov dword [esi + 4], eax
or dword [esi + 0xc], 0xffffffff
push str.FreeULoader
mov dword [esi + 8], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
je 0x407ca6
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 4]
push edi
push 4
push ecx
push 2
push eax
mov dword [ebp - 4], 0x88b8
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x407c48
call edi
push 4
lea eax, [ebp - 4]
push eax
push 5
push dword [esi + 4]
call ebx
test eax, eax
jne 0x407c5b
call edi
push 4
lea eax, [ebp - 4]
push eax
push 6
push dword [esi + 4]
call ebx
test eax, eax
jne 0x407c6e
call edi
push 4
pop eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 3
push dword [esi + 4]
call ebx
test eax, eax
jne 0x407c86
call edi
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push 8
push eax
push 0x32
push dword [esi + 4]
mov dword [ebp - 0x10], 1
call ebx
test eax, eax
jne 0x407ca4
call edi
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409083
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x442070]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push str.AMIGOLOADERV2
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete cl
test cl, cl
jne 0x4091e4
mov ecx, ebx
call fcn.004058a1
call fcn.00401313
mov eax, dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
mov byte [esp + 0x20], 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [esp + 0x40]
call fcn.00402962
push str.silent
lea ecx, [esp + 0x2c]
call fcn.0040192c
mov ecx, dword [0x443c70]
lea eax, [esp + 0x28]
push eax
call fcn.00406239
push esi
push 1
lea ecx, [esp + 0x30]
mov bl, al
call fcn.0040195d
test bl, bl
jne 0x409193
call dword [sym.imp.USER32.dll_GetActiveWindow]
push esi
push esi
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.00401fd6
test eax, eax
jne 0x40916a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x4091a8
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00401d92
push esi
push 0x404894
push ebx
push 0x82
push dword [0x442f30]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x4091a6
cmp byte [esp + 0x240], 0
jne 0x4091a8
lea ecx, [esp + 0x40]
call fcn.0040360d
mov esi, eax
cmp byte [esp + 0x23e], 0
je 0x4091bc
cmp byte [esp + 0x234], 0
je 0x4091cb
cmp byte [esp + 0x23f], 0
jne 0x4091cb
call fcn.00408fad
lea ecx, [esp + 0x40]
call fcn.00402bef
cmp byte [esp + 0x14], 0
je 0x4091e4
lea ecx, [esp + 0xc]
call fcn.00409208
test edi, edi
je 0x4091ef
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fb37
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409eba
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
cmp byte [edi + 0x24], 0
jne 0x409f5f
push esi
xor eax, eax
mov dword [ebp - 4], 0x1388
push eax
push eax
push eax
push eax
push str.FreeULoader
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x409f5e
push 4
lea eax, [ebp - 4]
push eax
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x409f57
push 4
lea eax, [ebp - 4]
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x409f57
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 3
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x409f57
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x409f36
mov eax, dword [eax]
xor ecx, ecx
push ecx
push 0x80000000
push ecx
push ecx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x409f57
push eax
mov byte [edi + 0x24], 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40bc89
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.0040bd26
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x40bd1c
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x40bd15
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
je 0x40bd0c
push 6
pop ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40bd0c
mov ecx, dword [ebp - 0x10]
mov al, 1
mov dword [esi + 0x10], ecx
jmp 0x40bd1e
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040bd26
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd64
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
jne 0x40bd75
xor al, al
jmp 0x40bdde
mov ecx, 0x5a4d
push esi
cmp word [eax], cx
jne 0x40bddb
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x40bddb
mov edx, dword [ecx + eax + 0x98]
xor ecx, ecx
lea esi, [edx + eax]
test edx, edx
jne 0x40bd9e
mov esi, ecx
test esi, esi
je 0x40bddb
lea eax, [esi + 8]
test eax, eax
je 0x40bddb
cmp byte [eax], 0x30
lea edx, [eax + 1]
jne 0x40bdcd
mov al, byte [edx]
cmp al, 0x82
jne 0x40bdcd
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, 0x13
add ecx, eax
and ecx, 0xffffff8
test ecx, ecx
je 0x40bddb
mov dword [edi + 0x14], ecx
mov al, 1
mov dword [edi + 0x18], esi
jmp 0x40bddd
xor al, al
pop esi
pop edi
pop ebp
ret 4
Function at 0x40c23f
Capabilities:
Encode data using xor

Disassembly:
push 0x844
mov eax, 0x42fa4e
call fcn.00410517
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x840], eax
mov edi, 0xff
mov ecx, esi
mov dword [ebp - 0x850], esi
lea eax, [ebp - 0x844]
mov dword [ebp - 0x84c], ecx
mov dword [ebp - 0x848], edi
mov dword [ebp - 0x844], 0x4fd7e7d
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x830], eax
push 0x20
pop ebx
or eax, 0xffffffff
shr eax, 1
dec ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], eax
cmp eax, 0x7ffffffd
ja 0x40c294
mov dword [ebp - 0x834], eax
add edi, 0x80000000
lea eax, [ecx - 0x80000000]
mov dword [ebp - 0x838], ebx
sub edi, eax
mov dword [ebp - 0x83c], eax
cmp edi, 0xffffffff
jne 0x40c2f9
mov edi, esi
mov dword [ebp - 0x818], esi
lea ecx, [ebp - 0x830]
call fcn.0040c5d9
lea ecx, [ebx - 1]
add esi, ebx
shl edi, cl
add edi, edi
or edi, eax
cmp esi, 0x20
jb 0x40c2d7
xor esi, esi
jmp 0x40c3a1
lea eax, [edi + 1]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], esi
mov eax, esi
mov dword [ebp - 0x820], eax
test edi, edi
je 0x40c364
mov esi, dword [ebp - 0x834]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x814]
mov dword [ebp - 0x81c], eax
lea ecx, [ebp - 0x830]
call fcn.0040c5d9
mov ecx, dword [ebp - 0x81c]
shl ebx, cl
add ebx, ebx
or ebx, eax
mov eax, dword [ebp - 0x820]
shl eax, cl
add eax, eax
or eax, esi
mov dword [ebp - 0x820], eax
cmp eax, edi
jb 0x40c329
mov dword [ebp - 0x814], ebx
xor esi, esi
mov ebx, dword [ebp - 0x838]
xor edx, edx
lea ecx, [edi + 1]
div ecx
mov ecx, eax
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x814]
xor edx, edx
div dword [ebp - 0x818]
cmp eax, ecx
jb 0x40c391
cmp dword [ebp - 0x81c], edi
jne 0x40c302
mov eax, dword [ebp - 0x814]
xor edx, edx
div dword [ebp - 0x818]
mov edi, edx
mov ecx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x83c]
add eax, edi
add eax, 0x80000000
mov byte [ebp + ecx - 0x810], al
inc ecx
mov dword [ebp - 0x824], ecx
cmp ecx, 0x800
jge 0x40c3db
mov edi, dword [ebp - 0x848]
mov ecx, dword [ebp - 0x84c]
jmp 0x40c28e
push 0x800
lea ecx, [ebp - 0x830]
call fcn.0040c48f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov edi, dword [ebp - 0x830]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmp eax, 0x800
jne 0x40c424
lea ebx, [ebp - 0x810]
sub ebx, edi
mov eax, dword [ecx]
lea edx, [edi + esi]
mov cl, byte [ebx + edx]
xor cl, byte [eax + esi]
inc esi
mov byte [edx], cl
mov ecx, dword [ebp + 0xc]
cmp esi, 0x800
jl 0x40c40b
mov ecx, dword [ebp - 0x840]
push edi
call fcn.0040a187
lea ecx, [ebp - 0x830]
call fcn.00408d5e
mov eax, dword [ebp - 0x840]
call fcn.004104c1
ret 8