joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53b477
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 + 0x5b3450]
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 0x53b4ba
cmp word [esi], dx
jne 0x53b4ba
or byte [edi + eax + 0x28], 4
jmp 0x53b4bf
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 0x53b612
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 0x53b5f2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x53b501
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x53b537
cmp eax, edx
jae 0x53b543
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 0x53b4d9
jmp 0x53b612
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 0x53b5ee
cmp dword [ebp - 0x14], 0
je 0x53b5ee
mov eax, dword [ebx*4 + 0x5b3450]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x53b5c6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x53b58f
mov word [esi], cx
jmp 0x53b5c2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5b3450]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5b3450]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5b3450]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x53b612
pop ebx
cmp word [ebp - 4], bx
jne 0x53b5d7
cmp esi, dword [ebp + 0xc]
jne 0x53b5d7
mov word [esi], bx
jmp 0x53b60f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0052e4bf
add esp, 0x10
cmp word [ebp - 4], bx
je 0x53b612
push 0xd
jmp 0x53b60b
mov ecx, dword [ebx*4 + 0x5b3450]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x53b609
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x53b612
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 0x53e43a
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0053e3b6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x53e5b2
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x53e5b2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x53e561
jg 0x53e493
test eax, eax
je 0x53e557
push 1
push 0x1000
call fcn.005368b9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x53e4b9
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x53e54e
push 0x8000
push ebx
call fcn.00534378
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53e4e5
jg 0x53e4e0
cmp ecx, 0x1000
jb 0x53e4e5
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0052ee0a
add esp, 0x10
cmp eax, 0xffffffff
je 0x53e52a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x53e4e0
jl 0x53e511
test ecx, ecx
jne 0x53e4d2
push dword [ebp - 0xc]
push ebx
call fcn.00534378
push esi
call fcn.00536916
add esp, 0xc
xor edi, edi
jmp 0x53e5c3
cmp byte [edi + 0x24], 0
je 0x53e541
cmp dword [edi + 0x20], 5
jne 0x53e541
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x53e54c
mov edi, dword [edi + 0x18]
jmp 0x53e54e
xor edi, edi
push esi
call fcn.00536916
pop ecx
jmp 0x53e5c3
test ecx, ecx
jg 0x53e523
jl 0x53e561
test eax, eax
jae 0x53e523
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0052e4bf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x53e584
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x53e523
jmp 0x53e5bb
push ebx
call fcn.0053e34c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x53e523
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x53e5c3
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x53e5c0
mov edi, dword [edi + 0x18]
jmp 0x53e5c3
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0052e4bf
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x540766
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5ab3e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x5407b1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00540905
test al, al
jne 0x5407ab
sub edx, 2
cmp edx, edi
jne 0x540791
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x5407d3
lea eax, [edi + 2]
cmp edx, eax
je 0x5407d3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.005406b2
add esp, 0x10
jmp 0x5408cd
push esi
lea ecx, [ebp - 0x255]
call fcn.00540905
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x540816
push dword [ebp - 0x25c]
jmp 0x5407c3
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x540853
cmp word [ebp - 0x226], 0
je 0x540874
cmp word [ebp - 0x226], ax
jne 0x540853
cmp word [ebp - 0x224], 0
je 0x540874
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.005406b2
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x5408c0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x54082d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x5408a8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x5408cd
push 0x5404e2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.005460d0
add esp, 0x10
jmp 0x54089d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004df59c
leave
ret

Function at 0x5411f1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x541202
pop esi
ret
push ebx
push edi
push esi
call fcn.005411ba
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00536950
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x54122a
push ebx
push esi
push edi
call fcn.0051c0a0
add esp, 0xc
push 0
call fcn.00536916
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5415ee
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0054123f
Function at 0x54bc90
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562160
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ab3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x54bdd9
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x54bdd9
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54bdd9
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x54bdd9
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x54bdc5
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x54bdbe
cmp dword [ebp - 0x1c], ebx
jne 0x54bdbe
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x54bd5d
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x54bd57
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x54bd69
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00429710
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.0044e510
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x54bdbe
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417bc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417be2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417bd8
mov eax, 1
add ebx, ebx
jne 0x417bfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417bf0
jne 0x417c0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417bf0
xor ecx, ecx
sub eax, 3
jb 0x417c20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417c92
mov ebp, eax
add ebx, ebx
jne 0x417c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417c38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417c5c
inc ecx
add ebx, ebx
jne 0x417c48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417c3d
jne 0x417c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417c3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417c7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417c6d
jmp 0x417bde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417c7c
add edi, ecx
jmp 0x417bde
pop esi
mov edi, esi
mov ecx, 0xef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417c9a
cmp byte [edi], 0xf
jne 0x417c9a
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 0x417c9f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417d17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417ccc
mov ecx, edi
jns 0x417cfb
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 + 0x1784c]
or eax, eax
je 0x417d11
mov dword [ebx], eax
add ebx, 4
jmp 0x417ce9
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417d4b
sub esp, 0xffffff80
jmp 0x4017c4

Function at 0x408934
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edx
add ecx, ecx
sub ecx, 0xdc3963bf
call fcn.0040895b
dec ecx
xor dword [eax], edx
inc ebx
add eax, 1
cmp eax, edi
jne fcn.00408934
ret
Function at 0x401cc5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41c867
call fcn.00416f1e
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040ee21
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040ee21
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.0040ee21
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40295f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [0x420020]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 4], ecx
mov byte [ecx + esi], bl
cmp esi, ebx
jbe 0x4029e9
mov eax, dword [ebp + 8]
mov esi, dword [0x42001c]
sub eax, ecx
mov dword [ebp - 8], eax
push edi
push 0x423140
call esi
push 0x4232b0
call esi
push 0x423440
call esi
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
lea edi, [ebx + eax]
call fcn.00416f24
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [esp], str.9C5X1UWRGQDJ9
mov al, byte [edx + eax]
xor al, byte [ecx + edi]
mov byte [edi], al
call esi
push 0x423730
call esi
push 0x4238a8
call esi
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x402992
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x404f17
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41cc18
call fcn.00416f1e
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040ee21
lea eax, [ebp - 0xa4]
push eax
call fcn.004047b9
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63d15c]
push eax
call dword [0x63d0f4]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040f021
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x404fa9
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x4050dd
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63d158]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4050d4
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x3c]
push str.YOBYRCC5HWHZD1
push dword [ebp - 0x24]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x4050cd
cmp esi, ebx
je 0x405021
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x405071
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040ee55
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040ee55
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x405103
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040fff4
pop ecx
cmp eax, 0xc8
jne 0x40504e
cmp esi, ebx
je 0x4050cd
jmp 0x4050c8
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63d080]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x4050cd
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.00410045
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x4050a9
cmp dword [ebp - 0x10], ebx
ja 0x40508b
push edi
call dword [0x63d054]
push dword [ebp - 0x24]
call dword [0x63d054]
push dword [ebp - 0x18]
call dword [0x63d054]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040ee55
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040ee55
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x405c6b
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41ce26
call fcn.00416f1e
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040ee21
lea eax, [ebp - 0xb4]
push eax
call fcn.004047b9
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x423b52
lea ecx, [ebp - 0x30]
call fcn.0040edea
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040f021
push eax
call dword [0x63d058]
push dword [0x62c334]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x63d134]
test eax, eax
jne 0x405cf2
inc esi
cmp dword [ebp - 0x10], ebx
je 0x405e36
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x63d158]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x405e2d
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x4c]
push str.__UZ
push dword [ebp - 0x1c]
call dword [0x63d18c]
mov edi, eax
cmp edi, ebx
je 0x405e24
cmp esi, ebx
je 0x405d6a
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf60]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d120]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x63d1a4]
test eax, eax
jne 0x405da9
mov ecx, dword [ebp + 8]
push 0x423c84
call fcn.0040edea
jmp 0x405e42
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040fff4
pop ecx
cmp eax, 0xc8
jne 0x405e7e
cmp esi, ebx
je 0x405e1d
mov esi, 0x7cf
jmp 0x405e06
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x405e1d
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040ef63
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040eea8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040ee55
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x63d080]
cmp eax, ebx
jne 0x405dcc
push edi
call dword [0x63d054]
push dword [ebp - 0x1c]
call dword [0x63d054]
push dword [ebp - 0x10]
call dword [0x63d054]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040ee21
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040ee55
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040ee55
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040ee55
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x423c8c
call fcn.0040edea
jmp 0x405e42
Function at 0x4066f6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x406714
xor eax, eax
inc eax
jmp 0x4067a6
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4067a3
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4067a3
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x40670c
cmp dword [edi], 0x4550
jne 0x4067a3
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x4067a3
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4067a3
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00410078
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40677a
push 3
jmp 0x4067a5
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4067a6
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406d8c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406dc6
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406dc6
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406dc6
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.00406cf0
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x411e98
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41e7ed
call fcn.00416f1e
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040ee21
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040ee21
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040ee21
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0040ee21
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219