joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4110a5
Capabilities:
Terminate process

Disassembly:
jmp 0x420ec0
cmp ecx, dword [0x42ee60]
jne 0x420ec9
ret
jmp fcn.00420ee0

Function at 0x414420
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a3e0
push 0x41120d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, 0x94
call fcn.004141e0
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0x94
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov dword [0x42f87c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov dword [0x42f888], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
mov dword [0x42f88c], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
and ecx, 0x7fff
mov dword [0x42f880], ecx
cmp dword [0x42f87c], 2
je 0x4144bf
mov edx, dword [0x42f880]
or edx, 0x8000
mov dword [0x42f880], edx
mov eax, dword [0x42f888]
shl eax, 8
add eax, dword [0x42f88c]
mov dword [0x42f884], eax
call fcn.00414710
mov dword [ebp - 0x20], eax
push 0
call fcn.00411096
add esp, 4
test eax, eax
jne 0x4144f2
push 0x1c
call fcn.004146d0
add esp, 4
call fcn.00411569
mov dword [ebp - 4], 0
call fcn.00411523
test eax, eax
jge 0x414511
push 0x1b
call fcn.00411631
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x431324], eax
call fcn.0041100f
mov dword [0x42f7e8], eax
call fcn.0041103c
test eax, eax
jge 0x414539
push 8
call fcn.00411631
add esp, 4
call fcn.00411703
test eax, eax
jge 0x41454c
push 9
call fcn.00411631
add esp, 4
push 1
call fcn.004116f4
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41456b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00411631
add esp, 4
mov edx, dword [0x42f89c]
mov dword [0x42f8a0], edx
mov eax, dword [0x42f89c]
push eax
mov ecx, dword [0x42f894]
push ecx
mov edx, dword [0x42f890]
push edx
call fcn.00411555
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0
jne 0x4145a5
mov eax, dword [ebp - 0x28]
push eax
call fcn.004116f9
call fcn.004111bd
mov dword [ebp - 4], 0xffffffff
jmp 0x4145f2
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x414736
xor eax, eax
jmp 0x4147bd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x414751
xor eax, eax
jmp 0x4147bd
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x414777
cmp dword [ebp - 0x14], 0x20b
je 0x414797
jmp 0x4147bb
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x414784
xor eax, eax
jmp 0x4147bd
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x4147bd
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x4147aa
xor eax, eax
jmp 0x4147bd
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x4147bd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41c840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42f8bc], 1
jne 0x41c85d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x42f8b8], 1
mov cl, byte [ebp + 0x10]
mov byte [0x42f8b4], cl
cmp dword [ebp + 0xc], 0
jne 0x41c8c2
cmp dword [0x42ffb4], 0
je 0x41c8b0
mov edx, dword [0x42ffb0]
sub edx, 4
mov dword [0x42ffb0], edx
mov eax, dword [0x42ffb0]
cmp eax, dword [0x42ffb4]
jb 0x41c8b0
mov ecx, dword [0x42ffb0]
cmp dword [ecx], 0
je 0x41c8ae
mov edx, dword [0x42ffb0]
call dword [edx]
jmp 0x41c87f
push 0x42e930
push 0x42e728
call fcn.0041c9c0
add esp, 8
push 0x42ec3c
push 0x42ea34
call fcn.0041c9c0
add esp, 8
cmp dword [0x42f8c0], 0
jne 0x41c8fb
push 0xffffffffffffffff
call fcn.004111a4
add esp, 4
and eax, 0x20
je 0x41c8fb
mov dword [0x42f8c0], 1
call fcn.004114ec
cmp dword [ebp + 0x10], 0
je 0x41c903
jmp 0x41c919
mov dword [0x42f8bc], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0041129e
add esp, 4
pop ebp
ret
Function at 0x426290
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.004141e0
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4262c4
xor eax, eax
jmp 0x4263d2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42f87c]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x426317
xor eax, eax
jmp 0x4263d2
cmp dword [0x42f87c], 1
je 0x42639d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x426341
xor eax, eax
jmp 0x4263d2
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x426326
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x42636c
mov eax, 1
jmp 0x4263d2
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x426378
xor eax, eax
jmp 0x4263d2
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x426386
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x4263a3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x42f87c]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x4013bb
Capabilities:
Encode data using xor

Disassembly:
jmp 0x40c0a0
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40c2cf
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
nop dword [eax]
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf2
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf1
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xd4
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xf2
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xf7
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc7
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x35
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0xf1
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xac
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x76
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x69
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0xc
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
xor byte [edi + ebx], 0x6f
push str.dHJdvghcgyhushgjdshgj
push 0x4d7888
call fcn.00402d5b
add esp, 8
push eax
call fcn.00406113
add esp, 4
push 0
push 0
call ebp
add byte [edi + ebx], 0x50
inc ebx
cmp esi, ebx
jne 0x40c0c0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ab1ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d8d40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4ab1ee
cmp word [esi], dx
jne 0x4ab1ee
or byte [edi + eax + 0x28], 4
jmp 0x4ab1f3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4ab346
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4ab326
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4ab235
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4ab26b
cmp eax, edx
jae 0x4ab277
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4ab20d
jmp 0x4ab346
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ab322
cmp dword [ebp - 0x14], 0
je 0x4ab322
mov eax, dword [ebx*4 + 0x4d8d40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4ab2fa
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4ab2c3
mov word [esi], cx
jmp 0x4ab2f6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d8d40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d8d40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d8d40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4ab346
pop ebx
cmp word [ebp - 4], bx
jne 0x4ab30b
cmp esi, dword [ebp + 0xc]
jne 0x4ab30b
mov word [esi], bx
jmp 0x4ab343
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4ab346
push 0xd
jmp 0x4ab33f
mov ecx, dword [ebx*4 + 0x4d8d40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4ab33d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4ab346
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401090
Capabilities:
Register http server url
Start http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 2
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
jge 0x4010de
push dword [eax]
push 0x403150
call fcn.00401010
add esp, 8
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004017e5
mov esp, ebp
pop ebp
ret
push esi
push 0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov esi, eax
test esi, esi
je 0x401112
push esi
push str.HttpInitialize_failed_with__lu__n
call fcn.00401010
add esp, 8
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004017e5
mov esp, ebp
pop ebp
ret
push ebx
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.HTTPAPI.dll_HttpCreateHttpHandle]
mov ebx, eax
test ebx, ebx
je 0x401135
push ebx
push str.HttpCreateHttpHandle_failed_with__lu__n
call fcn.00401010
add esp, 8
jmp 0x4011b4
mov esi, 1
nop word [eax + eax]
mov ebx, dword [ebp - 0x10]
push dword [ebx + esi*4]
push str.listening_for_requests_on_the_following_url:__s_n
call fcn.00401010
add esp, 8
push 0
push dword [ebx + esi*4]
push dword [ebp - 8]
call dword [sym.imp.HTTPAPI.dll_HttpAddUrl]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x40117e
inc esi
inc edi
cmp esi, dword [ebp + 8]
jl 0x401140
mov ecx, dword [ebp - 8]
call fcn.004011e0
mov dword [ebp - 0xc], ebx
jmp 0x40118c
push ebx
push str.HttpAddUrl_failed_with__lu__n
call fcn.00401010
add esp, 8
mov esi, 1
cmp edi, esi
jl 0x4011b4
mov ebx, dword [ebp - 0x10]
nop dword [eax + eax]
push dword [ebx + esi*4]
push dword [ebp - 8]
call dword [sym.imp.HTTPAPI.dll_HttpRemoveUrl]
inc esi
cmp esi, edi
jle 0x4011a0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4011c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.004017e5
mov esp, ebp
pop ebp
ret
Function at 0x401fea
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402029
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402029
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402029
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402029
cmp dword [ecx + 0x74], 0xe
jbe 0x402029
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x90b800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9619b2
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x9780c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x228], edi
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
mov dword [ebp - 0x224], 1
call dword [0x963164]
test eax, eax
je 0x90ba25
mov edx, dword [edi + 0x14]
cmp eax, edx
ja 0x90b8d4
mov dword [ebp - 0x220], edi
mov ecx, edi
cmp edx, 7
jbe 0x90b8af
mov ecx, dword [edi]
mov dword [ebp - 0x220], ecx
lea esi, [eax + eax]
mov dword [edi + 0x10], eax
push esi
lea eax, [ebp - 0x21c]
push eax
push ecx
call fcn.0093c080
mov eax, dword [ebp - 0x220]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x90b8e9
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x228]
mov ecx, edi
push eax
call 0x90c070
push 0x973604
lea ecx, [ebp - 0x258]
call 0x906650
push 4
sub esp, 0xc
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.0090bed0
push eax
mov edx, edi
lea ecx, [ebp - 0x240]
call 0x90c350
mov esi, eax
add esp, 4
cmp edi, esi
je 0x90b98c
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x90b95c
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x90b952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x90ba42
mov eax, edx
push ecx
push eax
call fcn.0093a836
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x22c]
cmp ecx, 7
jbe 0x90b9cc
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x90b9c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x90ba42
push ecx
push edx
call fcn.0093a836
add esp, 8
mov ecx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp ecx, 7
jbe 0x90ba25
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x90ba1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x90ba42
push ecx
push edx
call fcn.0093a836
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0093a7f3
mov esp, ebp
pop ebp
ret
call fcn.0093fb2f
int3
Function at 0x91e6b0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x9647f0
xor edi, edi
call dword [0x9630ac]
mov ebx, eax
test ebx, ebx
jne 0x91e6ca
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [0x9630a8]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x96480c
push esi
call fcn.00945060
add esp, 8
test eax, eax
je 0x91e712
test ebp, ebp
je 0x91e703
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x91e738
push str.AddDllDirectory
push ebx
call dword [0x9630a8]
test eax, eax
je 0x91e738
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [0x9630b4]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x91e7ef
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x91e755
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x91e7e5
push dword [esp + 0x10]
push ebx
call dword [0x9630b4]
test eax, eax
je 0x91e7e5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x91e787
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x91e7a0
sub ecx, edx
add ecx, ebx
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x91e7b0
test ebp, ebp
je 0x91e7dc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x978004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x978004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x960980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9609ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9609ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41b3f0
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx