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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x406a06
jl 0x4069fd
test edi, edi
jne 0x406a06
xor eax, eax
xor edx, edx
jmp 0x406ac7
cmp dword [ebx + 0x38], 0
je 0x406a1b
push eax
push edi
push dword [ebp + 8]
call fcn.00406acd
jmp 0x406ac7
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x406a62
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x406a62
cmp eax, edi
jb 0x406a3c
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00408120
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x406a68
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x406abc
mov ecx, ebx
call fcn.00406234
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x406aa7
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040d69f
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x406abc
jmp 0x406a7a
test edx, edx
je 0x406abc
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040d69f
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x407d31
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407d70
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407d70
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407d70
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407d70
cmp dword [ecx + 0x74], 0xe
jbe 0x407d70
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x411e53
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4216c0
push 0x4216b8
push 0x41fefc
push 0x1f
call fcn.00411d3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411e87
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e13c]
call esi
jmp 0x411e8d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x411ed1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4216d0
push 0x4216c8
push 0x41ff20
push 0x21
call fcn.00411d3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f08
push dword [ebp + 8]
mov ecx, esi
call dword [0x41e13c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x411f10
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4216d8
push 0x4216d0
push 0x41ff34
push 0x22
call fcn.00411d3a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f4a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41e13c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x414738
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004080d0
mov eax, dword [0x9e17c0]
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.0041337f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41477a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4148d6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041cc70
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 + 0x9e31f8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00415735
mov ecx, dword [esi*4 + 0x9e31f8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4148cf
cmp eax, dword [ecx + edi + 0x24]
jne 0x4148cf
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4148cf
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00415735
add esp, 0x14
test edx, edx
jl 0x4148cf
jg 0x414845
test eax, eax
jb 0x4148cf
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4148cf
jl 0x41485f
cmp dword [ebp - 0x1008], eax
ja 0x4148cf
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41487d
test ebx, ebx
je 0x4148b6
cmp ecx, edi
jae 0x4148b6
mov al, byte [ecx]
cmp al, 0xd
jne 0x414897
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4148a3
cmp byte [ecx + 1], 0xa
jne 0x4148a3
inc ecx
jmp 0x4148a3
movzx eax, al
movsx eax, byte [eax + 0x9e1a90]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41487d
cmp edx, ebx
jne 0x41487d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4148d4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407433
leave
ret
Function at 0x414bcd
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 + 0x9e31f8]
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 0x414c0d
cmp byte [ebx], 0xa
jne 0x414c0d
or byte [edi + eax + 0x28], 4
jmp 0x414c12
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 0x414d11
mov dl, byte [eax]
cmp dl, 0x1a
je 0x414cf4
inc eax
cmp dl, 0xd
je 0x414c3e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x414c64
cmp eax, ecx
jae 0x414c72
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 0x414c26
jmp 0x414d11
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 0x414cef
cmp dword [ebp - 0x10], 0
je 0x414cef
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x9e31f8]
test byte [eax + edi + 0x28], 0x48
je 0x414cc9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x414cb4
mov byte [esi], dl
jmp 0x414cc5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x9e31f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x414d11
cmp byte [ebp - 1], 0xa
jne 0x414cd8
cmp esi, ebx
jne 0x414cd8
mov byte [esi], 0xa
jmp 0x414d10
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415753
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x414d11
mov byte [esi], 0xd
jmp 0x414d10
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x9e31f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414d0e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414d11
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414d1a
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 + 0x9e31f8]
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 0x414d60
cmp word [ebx], dx
jne 0x414d60
or byte [eax + edi + 0x28], 4
jmp 0x414d65
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 0x414ec8
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 0x414ea8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x414da6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x414ddc
cmp eax, edx
jae 0x414dea
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 0x414d81
jmp 0x414ec8
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 0x414ea3
cmp dword [ebp - 0x18], 0
je 0x414ea3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x9e31f8]
test byte [eax + edi + 0x28], 0x48
je 0x414e79
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 0x414e3d
mov word [esi], cx
jmp 0x414e74
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x9e31f8]
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 + 0x9e31f8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x9e31f8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x414ec8
pop eax
cmp word [ebp - 4], ax
jne 0x414e89
cmp esi, ebx
jne 0x414e89
mov word [esi], ax
jmp 0x414ec5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00415753
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x414ec8
push 0xd
pop eax
jmp 0x414e84
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x9e31f8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x414ec2
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x414ec8
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 0x416f78
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x9e17c0]
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 0x416fc3
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00417113
test al, al
jne 0x416fbd
sub edx, 2
cmp edx, edi
jne 0x416fa3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416fe5
lea eax, [edi + 2]
cmp edx, eax
je 0x416fe5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416ec4
add esp, 0x10
jmp 0x4170df
push esi
lea ecx, [ebp - 0x255]
call fcn.00417113
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 0x417028
push dword [ebp - 0x25c]
jmp 0x416fd5
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 0x417065
cmp word [ebp - 0x226], 0
je 0x417086
cmp word [ebp - 0x226], ax
jne 0x417065
cmp word [ebp - 0x224], 0
je 0x417086
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416ec4
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4170d2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41703f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4170ba
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4170df
push 0x416cf4
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041ada0
add esp, 0x10
jmp 0x4170af
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.00407433
leave
ret

Function at 0x419ce3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00411770
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419d52
cmp esi, dword [ebp - 4]
je 0x419d4d
cmp dword [ebp + 0xc], 0
je 0x419d4d
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x419d2a
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00419835
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x419d54
xor eax, eax
inc eax
jmp 0x419d54
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x419db9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x9e17c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00411770
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00411770
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x419e30
cmp word [ecx], dx
je 0x419e30
mov eax, dword [0x421d1c]
push edi
dec eax
push eax
push 0x421c08
call fcn.00419d58
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x419ea3
cmp word [eax], dx
je 0x419ea3
mov eax, dword [edi]
test eax, eax
je 0x419e54
cmp word [eax], dx
je 0x419e54
lea eax, [ebp - 0x10]
push eax
call fcn.0041973b
jmp 0x419e5d
lea eax, [ebp - 0x10]
push eax
call fcn.004197d6
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x419ecd
mov eax, dword [0x421c04]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4218f8
call fcn.00419d58
add esp, 0xc
test al, al
je 0x419ecd
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x419e98
cmp word [eax], di
je 0x419e98
lea eax, [ebp - 0x10]
push eax
call fcn.0041973b
pop ecx
jmp 0x419ecf
lea eax, [ebp - 0x10]
push eax
call fcn.004197d6
jmp 0x419e95
mov eax, dword [edi]
test eax, eax
je 0x419eba
cmp word [eax], dx
je 0x419eba
lea eax, [ebp - 0x10]
push eax
call fcn.004196f0
pop ecx
jmp 0x419ecd
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x419f98
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00419bdd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x419f98
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x419f98
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x419f98
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x419f25
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00412051
test ebx, ebx
je 0x419f93
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00412051
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419f98
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x419f98
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041b40d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x419f9a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407433
leave
ret
Function at 0x41cc30
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7732d30e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7732d306
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7732d310
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7732d2f6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7732d3f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7732d421
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7732d421
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7732d421
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10008ef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100d1400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp byte [edi + 8], 0
je 0x10008f3c
mov eax, dword [edi]
cmp ebx, eax
jne 0x10008f27
cmp dword [edi + 4], esi
je 0x10008f27
mov dword [edi + 4], esi
jmp 0x100090bb
test eax, eax
je 0x10008f3c
push eax
call fcn.10077c90
push dword [edi]
call fcn.10077b50
mov byte [edi + 8], 0
lea eax, [ebp - 0x210]
mov dword [edi], ebx
push eax
push 0x40
push 0xe
push ebx
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10008f6c
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a635
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov cl, byte [eax]
cmp cl, 0xe9
je 0x10008f7e
cmp cl, 0xe8
jne 0x100090a2
mov esi, dword [eax + 1]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esi, eax
push 0x1c
lea eax, [ebp - 0x22c]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10008fb2
cmp dword [ebp - 0x21c], 0x1000
jne 0x10008fb2
mov esi, dword [ebp - 0x228]
push 0x103
lea eax, [ebp - 0x108]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
test eax, eax
lea eax, [ebp - 0x108]
je 0x10008fda
mov dword [ebp - 0x230], eax
jmp 0x10008ffd
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
lea ecx, [ebp - 0x108]
mov eax, str.unknown
cmove ecx, eax
mov dword [ebp - 0x230], ecx
mov esi, dword [edi]
call ebx
push 0x1c
lea ecx, [ebp - 0x22c]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10009028
cmp dword [ebp - 0x21c], 0x1000
mov esi, dword [ebp - 0x228]
je 0x1000902a
mov esi, dword [edi]
push 0x103
lea eax, [ebp - 0x20c]
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
test eax, eax
je 0x1000904c
lea esi, [ebp - 0x20c]
jmp 0x1000906f
push 0x103
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
lea esi, [ebp - 0x20c]
mov eax, str.unknown
cmove esi, eax
push 0x5c
push esi
call fcn.1007cdd0
mov ebx, eax
add esp, 8
mov eax, dword [0x100d3d94]
test eax, eax
je 0x100090a2
push dword [ebp - 0x230]
mov edx, dword [eax]
lea ecx, [ebx + 1]
test ebx, ebx
cmove ecx, esi
push ecx
push str.WARNING:_Another_hook_is_already_present_while_trying_to_hook__s__hook_target_is__s._If_you_experience_crashes__try_disabling_the_other_hooking_application._n
push eax
call dword [edx + 0x1c]
add esp, 0x10
mov ecx, dword [edi]
movq xmm0, qword [ecx]
movq qword [edi + 9], xmm0
mov eax, dword [ecx + 8]
mov dword [edi + 0x11], eax
mov ax, word [ecx + 0xc]
mov word [edi + 0x15], ax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a635
mov esp, ebp
pop ebp
ret 8
Function at 0x10011540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101250d4], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x100115fa
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x101250d0], eax
inc ebx
cmp ebx, 0x100
jb 0x10011560
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x10011626
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101250d0]
sub edi, 1
jne 0x10011605
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10011658
nop dword [eax]
cmp cl, 0x23
jne 0x1001163f
cmp byte [esi], cl
jne 0x1001163f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x101250d0]
test cl, cl
jne 0x10011630
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10011eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x10011ec2
mov dword [ebx], 0
mov edx, 0x100b2dc0
call fcn.10011cb0
mov esi, eax
test esi, esi
jne 0x10011ed6
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.1008a725
add esp, 0xc
test eax, eax
jne 0x10011f9f
push esi
call fcn.10089b2f
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10011f9f
push 0
push 0
push esi
call fcn.1008a725
add esp, 0xc
test eax, eax
jne 0x10011f9f
mov eax, dword [0x100d1ec8]
inc dword [eax + 0x318]
mov ecx, dword [eax + 0xc0]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call ecx
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10011f9f
push esi
push edi
push 1
push eax
call fcn.1008b449
add esp, 0x10
cmp eax, edi
je 0x10011f70
push esi
call fcn.1008a3e0
mov eax, dword [0x100d1ec8]
mov ecx, dword [ebp + 8]
push ecx
dec dword [eax + 0x318]
mov eax, dword [eax + 0xc4]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x10011f88
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 0
push eax
call fcn.1007d660
add esp, 0xc
push esi
call fcn.1008a3e0
add esp, 4
test ebx, ebx
je 0x10011f97
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1008a3e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret