joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442d8b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0xc59810]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x442dcb
cmp byte [ebx], 0xa
jne 0x442dcb
or byte [edi + eax + 0x28], 4
jmp 0x442dd0
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x442ecf
mov dl, byte [eax]
cmp dl, 0x1a
je 0x442eb2
inc eax
cmp dl, 0xd
je 0x442dfc
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x442e22
cmp eax, ecx
jae 0x442e30
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x442de4
jmp 0x442ecf
push 0
lea eax, [ebp - 0x10]
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 0x442ead
cmp dword [ebp - 0x10], 0
je 0x442ead
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0xc59810]
test byte [eax + edi + 0x28], 0x48
je 0x442e87
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x442e72
mov byte [esi], dl
jmp 0x442e83
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0xc59810]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x442ecf
cmp byte [ebp - 1], 0xa
jne 0x442e96
cmp esi, ebx
jne 0x442e96
mov byte [esi], 0xa
jmp 0x442ece
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00442bdd
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x442ecf
mov byte [esi], 0xd
jmp 0x442ece
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0xc59810]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x442ecc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x442ecf
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x442ed8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0xc59810]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x442f1e
cmp word [ebx], dx
jne 0x442f1e
or byte [eax + edi + 0x28], 4
jmp 0x442f23
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x443086
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x443066
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x442f64
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x442f9a
cmp eax, edx
jae 0x442fa8
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x442f3f
jmp 0x443086
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443061
cmp dword [ebp - 0x18], 0
je 0x443061
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0xc59810]
test byte [eax + edi + 0x28], 0x48
je 0x443037
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x442ffb
mov word [esi], cx
jmp 0x443032
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0xc59810]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0xc59810]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0xc59810]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x443086
pop eax
cmp word [ebp - 4], ax
jne 0x443047
cmp esi, ebx
jne 0x443047
mov word [esi], ax
jmp 0x443083
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00442bdd
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x443086
push 0xd
pop eax
jmp 0x443042
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0xc59810]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x443080
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x443086
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x447b80
Capabilities:
Parse pe header

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

Function at 0x4b2ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
or ebp, 0xffffffff
jmp 0x4b2ef2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2ee8
mov eax, 1
add ebx, ebx
jne 0x4b2f0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2f1c
jne 0x4b2f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2f3b
dec eax
add ebx, ebx
jne 0x4b2f28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2f00
add ebx, ebx
jne 0x4b2f37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b2f8d
xor ecx, ecx
sub eax, 3
jb 0x4b2f53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b2fc2
sar eax, 1
mov ebp, eax
jmp 0x4b2f5e
add ebx, ebx
jne 0x4b2f5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2f2c
inc ecx
add ebx, ebx
jne 0x4b2f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2f2c
add ebx, ebx
jne 0x4b2f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b2f6e
jne 0x4b2f8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b2f6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b2fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b2f9e
jmp 0x4b2eee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b2fac
add edi, ecx
jmp 0x4b2eee
pop esi
mov edi, esi
mov ecx, 0x370c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2fca
cmp byte [edi], 0x4a
jne 0x4b2fca
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 0x4b2fcf
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b3047
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb777c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb78d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2ffc
mov ecx, edi
jns 0x4b302b
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 + 0xb78d4]
or eax, eax
je 0x4b3041
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3019
call dword [esi + 0xb78e4]
mov ebp, dword [esi + 0xb78d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b307b
sub esp, 0xffffff80
jmp 0x417850
Function at 0x100014b0
Capabilities:
Encode data using xor
Encrypt data using xxtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + ebx*4 - 4]
push edi
mov edi, dword [ecx]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
cmp ebx, 1
jle 0x100015ae
mov eax, 0x34
cdq
idiv ebx
add eax, 6
test eax, eax
jle 0x100015a5
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
sub eax, 0x61c88647
mov dword [ebp - 4], eax
shr eax, 2
and eax, 3
dec ebx
xor edx, edx
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x1000155c
jmp 0x10001510
mov eax, dword [ecx + edx*4 + 4]
lea edi, [eax*4]
mov dword [ebp - 0xc], eax
mov ebx, esi
shr ebx, 5
shr eax, 3
xor edi, ebx
mov ebx, esi
shl ebx, 4
xor eax, ebx
mov ebx, dword [ebp + 0xc]
add edi, eax
mov eax, edx
and eax, 3
xor eax, dword [ebp - 8]
inc edx
mov eax, dword [ebx + eax*4]
xor eax, esi
mov esi, dword [ebp - 4]
xor esi, dword [ebp - 0xc]
add eax, esi
xor edi, eax
add dword [ecx + edx*4 - 4], edi
mov eax, dword [ebp + 8]
mov esi, dword [ecx + edx*4 - 4]
dec eax
cmp edx, eax
jl 0x10001510
mov eax, dword [ecx]
lea edi, [eax*4]
mov ebx, esi
shr ebx, 5
xor edi, ebx
shr eax, 3
mov ebx, esi
shl ebx, 4
xor eax, ebx
mov ebx, dword [ebp + 8]
and edx, 3
xor edx, dword [ebp - 8]
add edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 4]
xor eax, dword [ecx]
xor edx, esi
add edx, eax
mov eax, dword [ebp - 0x10]
xor edi, edx
add dword [ecx + ebx*4 - 4], edi
mov esi, dword [ecx + ebx*4 - 4]
test eax, eax
jg 0x100014e8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffff
jge 0x10001698
mov eax, 0x34
cdq
neg ebx
idiv ebx
mov dword [ebp + 8], ebx
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
test eax, eax
je 0x1000168f
jmp 0x100015e3
mov ebx, dword [ebp + 8]
shr eax, 2
and eax, 3
lea edx, [ebx - 1]
mov dword [ebp - 8], eax
test edx, edx
jle 0x1000163e
mov esi, dword [ecx + edx*4 - 4]
lea eax, [edi*4]
mov ebx, esi
shr ebx, 5
xor eax, ebx
shr edi, 3
mov ebx, esi
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp + 0xc]
add eax, edi
mov edi, edx
and edi, 3
xor edi, dword [ebp - 8]
dec edx
mov edi, dword [ebx + edi*4]
xor edi, esi
mov esi, dword [ebp - 4]
xor esi, dword [ebp - 0xc]
add edi, esi
xor eax, edi
sub dword [ecx + edx*4 + 4], eax
mov edi, dword [ecx + edx*4 + 4]
mov dword [ebp - 0xc], edi
test edx, edx
jg 0x100015f3
mov ebx, dword [ebp + 8]
mov eax, dword [ecx + ebx*4 - 4]
mov esi, eax
shr esi, 5
lea ebx, [edi*4]
xor esi, ebx
shl eax, 4
and edx, 3
xor edx, dword [ebp - 8]
mov ebx, edi
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
xor edx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp - 4]
add esi, ebx
mov ebx, eax
xor ebx, edi
add edx, ebx
xor esi, edx
sub dword [ecx], esi
mov edi, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
jne 0x100015e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003830
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x21
mov esi, ecx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
push esi
mov eax, 0x20
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
call fcn.10002fb0
add esp, 8
lea esi, [ebp - 0x70]
lea ebx, [ebp - 0x14]
call fcn.10003070
mov ebx, edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
xor esi, esi
lea esp, [esp]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push ebx
call edi
inc esi
add esp, 0xc
add ebx, 2
cmp esi, 0x10
jl 0x100038a0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 0x20], 0
pop ebx
call fcn.100038d2
mov esp, ebp
pop ebp
ret

Function at 0x100038d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100038dc
repz ret
jmp fcn.10003c72
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

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

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

Disassembly:
call fcn.00037a55
pushfd
mov byte [esp], al
mov byte [esp], 0x19
pushfd
lea esp, [esp + 8]
jmp fcn.0002db87
push dword [esp]
mov dword [esp + 0x34], edx
call fcn.00039403
push esp
pushfd
jmp 0x11039

Function at 0x1113d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx cx, al
pop ecx
lea ecx, [ebx + 8]
pushal
pushfd
call fcn.00022019
sbb edi, 0x4c52b440
mov edi, eax
jmp fcn.00041570

Function at 0x1123a
Capabilities:
Check http status code

Disassembly:
lea eax, [ebp - 0x150]
pushfd
mov dword [esp + 4], eax
jmp fcn.00028027

Function at 0x11331
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x24]
jp 0x2d644
push 0x6bcc0064
pushal
lea esp, [esp + 0x24]
call fcn.00013720
movzx esi, bl
call fcn.0002bd14
lea esp, [esp + 0x44]
jmp fcn.00025242
push 0x73742d4a
mov byte [esp], 0x79
mov byte [esp], cl
lea esp, [esp + 4]
call fcn.00013720
shrd si, dx, cl
call fcn.0002a67c
Function at 0x12450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.000160e0
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea ecx, [ebp - 8]
push ecx
call fcn.00016380
xor esi, esi
push esi
push esi
push 0x20
push 5
push 3
push 0x80
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 8]
push ecx
mov dword [ebp - 0x28], edx
push 0xc0000000
lea edx, [ebp + 8]
push edx
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 0x240
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, esi
jl 0x124ee
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov edx, dword [ebp + 8]
push edx
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x135e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
lea edx, [ebp - 0x138]
not eax
lea esp, [esp + 0x24]
jge 0x30b6a
mov al, 0xfe
push edx
lahf
bswap ax
jmp fcn.0002e06e
movzx ax, cl
mov ah, al
cwde
call fcn.0002b2e5

Function at 0x138e6
Capabilities:
Check http status code

Disassembly:
clc
sub edx, edx
pushal
cmc
call fcn.0003a26b
clc
push 0xc2824df9
bt sp, 0xa
test eax, eax
pushfd
lea esp, [esp + 8]
je 0x3d05d
call fcn.00035ae1

Function at 0x13d81
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
cmc
cmp edx, dword [0x1e324]
pushal
call fcn.00028976

Function at 0x13f46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x30]
je 0x35296
shl dh, 5
movzx eax, word [eax + 0x10]
sal edx, 1
mov edx, eax
bt dx, 3
test ch, 0x67
stc
and edx, 0xff
jmp fcn.0003fc7c

Function at 0x13fd1
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
mov byte [esp + 4], ch
jmp loc.0003cc77

Function at 0x13ffc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
test al, al
mov byte [esp], 0x16
lea esp, [esp + 0x44]
je 0x2c68a
pushfd
push dword [esp]
mov byte [esp + 4], 0xcc
mov dword [esp + 4], 0xf
mov word [esp], bx
lea esp, [esp + 4]
jp 0x411da
pushfd
mov dword [esp], 0
push esi
mov dword [esp], 0x13fef
jmp loc.000310da
push 0x21bb0
pushal
push 0x780c0164
push dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
pop dword [esp + 0x20]
pushfd
mov byte [esp], ah
mov byte [esp + 4], ah
push dword [esp + 0x24]
ret 0x28
push ebp
mov dword [esp], 0
jmp 0x39531

Function at 0x141bc
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
mov dword [esp], esi
or si, cx
test sp, sp
lea esi, [ebx - 0x3ecd1715]
mov esi, dword [0x1e2fc]
clc
pushal
cmc
sub esi, dword [0x1e2a4]
stc
clc
add esi, ebx
jmp fcn.0002dedb

Function at 0x14283
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
lea esp, [esp + 0x10]
jne 0x2cd21
movsx cx, bl
sub eax, edx
add cx, 0x2c53
push 0x95f5d870
push edx
cmc
add edi, 0xfffffffe
bswap cx
dec cl
call fcn.00041eaf

Function at 0x146f5
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
mov byte [esp], 0x4c
mov dword [esp + 0x30], edx
pushfd
push 0x889f208e
jmp fcn.0002e09b

Function at 0x147fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00032fde
call fcn.0002f03a
Function at 0x148b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x28]
push edi
push 0x40
push 0
push 0x1e4e0
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 0x28], 0
call sub.ntoskrnl.exe_memset
mov edi, dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
add esp, 0xc
push 0
lea eax, [esi + 8]
push 1
push eax
call edi
push 0
lea eax, [esi + 0x18]
push 1
push eax
call edi
push ebx
push 0x13df0
push 0
push 0
push 0
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
jl 0x149de
mov ecx, dword [ebp + 8]
push 0
push esi
push 0
push 0
push 0x1fffff
push ecx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edx, dword [ebp + 8]
push edx
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
test edi, edi
jl 0x14985
push ebx
push 0x14460
push 0
push 0
push 0
push 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov edi, eax
test edi, edi
jl 0x14985
mov ecx, dword [ebp + 8]
push 0
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1fffff
push ecx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edx, dword [ebp + 8]
push edx
mov edi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
test edi, edi
jge 0x149dc
push 0
push 0
lea eax, [esi + 8]
push eax
mov byte [esi + 0x28], 0
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
push 0
push 0
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov eax, dword [esi]
test eax, eax
je 0x149c8
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ecx, dword [esi]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [esi], 0
push 0
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x14d20
Capabilities:
Map section object
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x20
xor esi, esi
push 1
lea edx, [ebp - 0x30]
push edx
mov dword [eax], esi
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x40], ecx
push 0x100020
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x48], 0x18
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], 0x240
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
cmp eax, esi
jl 0x14e30
mov edx, dword [ebp - 8]
push edx
push 0x1000000
push 0x10
push esi
lea eax, [ebp - 0x48]
push eax
push 0xf001f
lea ecx, [ebp + 0xc]
push ecx
mov dword [ebp - 0x40], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x14e2d
mov ecx, dword [ebp + 0xc]
push 4
push 0x100000
push 1
lea edx, [ebp - 0x10]
push edx
push esi
push 0x400
push esi
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edx, dword [ebp - 8]
mov edi, eax
push edx
mov dword [ebp - 4], edi
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp edi, esi
jl 0x14e2d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ecx + eax + 0x78]
mov ebx, dword [esi + eax + 0x1c]
mov ecx, dword [esi + eax + 0x20]
mov edx, dword [esi + eax + 0x24]
add esi, eax
add ecx, eax
add ebx, eax
add edx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x14e10
sub eax, edi
xor edi, edi
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x14], edi
ja 0x14e43
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + edi*2]
add edx, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebx + edx*4 - 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe__strnicmp]
add esp, 0xc
test eax, eax
je 0x14e78
inc edi
cmp edi, dword [esi + 0x14]
jb 0x14e40
jmp 0x14e23
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc