joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3003126b
Capabilities:
Send data

Disassembly:
mov eax, dword [0x300bd9fc]
push edi
xor edi, edi
cmp eax, edi
jne 0x3003128f
push edi
push edi
push 0x1427
push dword [0x300c7a90]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
pop edi
ret
mov ecx, dword [0x300bd9f0]
push esi
push 0x300bd9f8
push dword [0x300bd9f4]
add ecx, eax
push ecx
push dword [0x300bcfb8]
xor esi, esi
inc esi
mov dword [0x300bfc48], esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x300312e7
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x3003130f
call fcn.3003da0a
test eax, eax
je 0x300312e3
push edi
push 0x30004388
call main
pop ecx
pop ecx
xor eax, eax
jmp 0x30031311
cmp dword [0x300bcf84], 3
mov dword [0x300bfc48], edi
jne 0x300312fc
mov dword [0x300c7a88], esi
push edi
push edi
push 0x1427
push dword [0x300c7a90]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, esi
pop esi
pop edi
ret

Function at 0x3004318e
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
jb 0x300431af
mov eax, dword [eax + 8]
cmp ecx, eax
jb 0x300431af
cmp edx, eax
jb 0x300431af
add eax, 0x10000
cmp eax, ecx
jae 0x300431da
mov eax, dword [0x3008bb00]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push 0
push 0x35636561
call main
push 0
push 0
push 1
push 0xe0000001
call dword [sym.imp.kernel32.dll_RaiseException]
ret

Function at 0x300575c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x300575d6
pop dword [ebp - 0x28]
mov eax, 0x78f0a89a
sub eax, 0x48eb32c4
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x4e3ac
push 0
mov eax, 0xd7af6572
sub eax, 0xa7af514a
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4a23
xor edi, edi
add edi, eax
mov ebx, 0xdfcacae3
sub ebx, 0xafbd44e3
add ebx, dword [ebp - 0x28]
mov esi, 0x5ea14fe7
xor dword [ebp - 0x20], 0xd252cc8b
mov edx, dword [ebx]
xor dword [ebp - 0x1c], edx
xor edx, esi
xor dword [ebp - 0x14], 0x217a2347
mov dword [edi], edx
add dword [ebp - 0xc], 0xa8623f06
add edi, 4
add ebx, 0x92f019b5
sub ebx, 0x92f019b1
loop 0x3005762b
add eax, 0x33819cfd
sub eax, 0x3380819e
mov ebx, eax
add eax, 0xf17f8cf5
sub eax, 0xf17f8cf0
mov ecx, 0x1fe36933
sub ecx, 0xefe36933
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x3006961b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3002223c]
jne 0x3006a33f
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x300cd8f0], eax
mov dword [0x300cd8ec], ecx
mov dword [0x300cd8e8], edx
mov dword [0x300cd8e4], ebx
mov dword [0x300cd8e0], esi
mov dword [0x300cd8dc], edi
mov word [0x300cd908], ss
mov word [0x300cd8fc], cs
mov word [0x300cd8d8], ds
mov word [0x300cd8d4], es
mov word [0x300cd8d0], fs
mov word [0x300cd8cc], gs
pushfd
pop dword [0x300cd900]
mov eax, dword [ebp]
mov dword [0x300cd8f4], eax
mov eax, dword [ebp + 4]
mov dword [0x300cd8f8], eax
lea eax, [ebp + 8]
mov dword [0x300cd904], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300cd840], 0x10001
mov eax, dword [0x300cd8f8]
mov dword [0x300cd7f4], eax
mov dword [0x300cd7e8], 0xc0000409
mov dword [0x300cd7ec], 1
mov eax, dword [0x3002223c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x300bcb40]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x300cd838], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x30022510
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x300cd838], 0
jne 0x3006a42f
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x30069ec5
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x30088760
call fcn.30069edb
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x300cec78
push 0
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
test eax, eax
je 0x30069c64
cmp eax, esi
jne 0x30069c57
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30069c67
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x30069c3e
xor esi, esi
inc esi
mov eax, dword [0x300cec74]
cmp eax, esi
jne 0x30069c7a
push 0x1f
call sub.msvcr80.dll__amsg_exit
pop ecx
jmp 0x30069ca9
mov eax, dword [0x300cec74]
test eax, eax
jne 0x30069ca3
mov dword [0x300cec74], esi
push 0x3000169c
push 0x30001690
call sub.msvcr80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30069ca9
jmp 0x30069dd1
mov dword [0x300cd7e0], esi
mov eax, dword [0x300cec74]
cmp eax, esi
jne 0x30069ccd
push 0x3000168c
push 0x30001674
call sub.msvcr80.dll__initterm
pop ecx
pop ecx
mov dword [0x300cec74], 2
test ebx, ebx
jne 0x30069cd9
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x300cec84], 0
je 0x30069cfd
push 0x300cec84
call fcn.3006a502
pop ecx
test eax, eax
je 0x30069cfd
push 0
push 2
push 0
call dword [0x300cec84]
mov eax, dword [sym.imp.msvcr80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30069d59
test al, al
je 0x30069d17
cmp dword [ebp - 0x1c], 0
jne 0x30069d59
mov al, byte [esi]
test al, al
je 0x30069d27
cmp al, 0x20
ja 0x30069d27
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30069d17
test byte [ebp - 0x3c], 1
je 0x30069d33
movzx eax, word [ebp - 0x38]
jmp 0x30069d36
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x300cd7dc], eax
cmp dword [0x300cd7d0], 0
jne 0x30069dad
push eax
call dword [sym.imp.msvcr80.dll_exit]
cmp al, 0x22
jne 0x30069d68
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcr80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30069d7b
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x30069d04
cmp dword [0x300cd7e0], 0
jne 0x30069dbc
call dword [sym.imp.msvcr80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x300cd7dc]
jmp 0x30069ddd
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30069f20
ret
call main
jmp 0x30069c04
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x943058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009431a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x94307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94306a
add dl, dl
jne 0x943089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9430dc
xor eax, eax
add dl, dl
jne 0x943096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94317d
add dl, dl
jne 0x9430a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9430b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9430bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9430c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9430d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x943075
mov eax, 1
add dl, dl
jne 0x9430ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9430f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9430e1
sub eax, ebx
mov ebx, 1
jne 0x943128
mov ecx, 1
add dl, dl
jne 0x94310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x943119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x943105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x943075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x94313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x943136
cmp eax, 0x7d00
jae 0x94316d
cmp eax, 0x500
jb 0x943168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x943075
cmp eax, 0x7f
ja 0x943170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x943075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x94319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x943075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x85a970
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x376000]
push edi
or ebp, 0xffffffff
jmp 0x85a992
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x85a999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85a988
mov eax, 1
add ebx, ebx
jne 0x85a9ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x85a9bc
jne 0x85a9db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85a9db
dec eax
add ebx, ebx
jne 0x85a9c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x85a9a0
add ebx, ebx
jne 0x85a9d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x85aa2d
xor ecx, ecx
sub eax, 3
jb 0x85a9f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x85aa62
sar eax, 1
mov ebp, eax
jmp 0x85a9fe
add ebx, ebx
jne 0x85a9fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85a9cc
inc ecx
add ebx, ebx
jne 0x85aa0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x85a9cc
add ebx, ebx
jne 0x85aa19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x85aa0e
jne 0x85aa2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x85aa0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x85aa4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x85aa3e
jmp 0x85a98e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x85aa4c
add edi, ecx
jmp 0x85a98e
pop esi
mov edi, esi
mov ecx, 0x12a9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x85aa6a
cmp byte [edi], 0x1f
jne 0x85aa6a
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 0x85aa6f
lea edi, [esi + 0x458000]
mov eax, dword [edi]
or eax, eax
je 0x85aae7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x45acb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x45acf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x85aa9c
mov ecx, edi
jns 0x85aacb
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 + 0x45acf8]
or eax, eax
je 0x85aae1
mov dword [ebx], eax
add ebx, 4
jmp 0x85aab9
call dword [esi + 0x45ad08]
mov ebp, dword [esi + 0x45acfc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x85ab1b
sub esp, 0xffffff80
jmp 0x4046a4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403203
pop dword [ebp - 0x3c]
mov eax, 0x403203
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x113320ef
add dword [ebp - 0x4c], 0x3d1f245c
mov dword [ebp - 0x48], 0xb7404a39
add dword [ebp - 0x48], 0x7af3020c
mov dword [ebp - 0x44], 0x2e77bd02
sub dword [ebp - 0x44], 0xe22b78d4
mov dword [ebp - 0x40], 0xa5aba2a4
sub dword [ebp - 0x40], 0xa5aba2a4
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xa5f5e678
sub dword [ebp - 0x4c], 0x31837d22
mov dword [ebp - 0x48], 0x15651d0b
add dword [ebp - 0x48], 0x2c07446a
mov dword [ebp - 0x44], 0xb0a20404
sub dword [ebp - 0x44], 0x4d329798
mov dword [ebp - 0x40], 0x873f2276
sub dword [ebp - 0x40], 0x873f2276
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x7ba319c1
sub eax, 0x7b6298ed
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39a95
push 0
call eax
mov ecx, 0x8f38bffd
add ecx, 0x70c79448
xor ebx, ebx
add ebx, eax
mov esi, 0x7128d44d
sub esi, 0x70e7c44d
add esi, dword [ebp - 0x3c]
mov edi, 0x3838e532
mov edx, dword [esi]
mov dword [ebp - 0x14], 0x5cb2685e
xor edx, edi
add dword [ebp - 0x30], 0xe81bb43e
mov dword [ebx], edx
add ebx, 0x41f752d9
sub ebx, 0x41f752d5
add esi, 0xf91f1960
add esi, 0x6e0e6a4
loop 0x403317
add eax, 0x143e7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc8b4d854
sub ecx, 0xc874d854
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40288e
pop dword [ebp - 0x40]
mov eax, 0xb0f07334
sub eax, 0xb0b04aa6
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x1941c6cb
sub dword [ebp - 0x50], 0xcaef8180
mov dword [ebp - 0x4c], 0xdae6866d
sub dword [ebp - 0x4c], 0xa8b33a28
mov dword [ebp - 0x48], 0x42583790
add dword [ebp - 0x48], 0x9f40c9e
mov dword [ebp - 0x44], 0x5bf5b266
add dword [ebp - 0x44], 0xa40a4d9a
lea eax, [ebp - 0x50]
push eax
mov eax, 0x7c767061
add eax, 0x83ca102b
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x10d29b0a
sub dword [ebp - 0x50], 0x9c6031b4
mov dword [ebp - 0x4c], 0xb5a32019
add dword [ebp - 0x4c], 0x8bc9415c
mov dword [ebp - 0x48], 0x7ee806d4
add dword [ebp - 0x48], 0xe4876598
mov dword [ebp - 0x44], 0xf00ab771
add dword [ebp - 0x44], 0xff5488f
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39842
push 0
call eax
mov ecx, 0xb0817014
add ecx, 0x4f7ee39a
xor esi, esi
add esi, eax
mov edi, 0x7348cdfa
add edi, 0x8cf84206
add edi, dword [ebp - 0x40]
mov edx, 0xde475283
sub edx, 0x9cec9453
mov ebx, dword [edi]
xor dword [ebp - 8], 0x6c441682
xor ebx, edx
sub dword [ebp - 0x30], ecx
mov dword [esi], ebx
sub dword [ebp - 0x20], 0x14f82942
add esi, 0xd463e72b
sub esi, 0xd463e727
add edi, 4
loop 0x4029ad
add eax, 0x1ee28a74
add eax, 0xe11eb717
xor ebx, ebx
add ebx, eax
add eax, 0x5cd0a554
add eax, 0xa32f5ab1
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10001164
cmp dword [ebp - 4], 0x50000000
jb 0x100010e1
cmp dword [ebp - 4], 0x80000000
ja 0x100010e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100010ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.101456e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10001107
jmp 0x10001164
cmp dword [ebp - 0x14], 0x10000
jne 0x1000114a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000114a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000113d
mov eax, dword [ebp - 8]
jmp 0x10001166
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000115f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100010ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000122c
cmp dword [ebp - 4], 0x50000000
jb 0x100011ac
cmp dword [ebp - 4], 0x80000000
ja 0x100011ac
mov dword [ebp - 4], 0x80010000
jmp 0x10001185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.101456e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100011d2
jmp 0x1000122c
cmp dword [ebp - 0x14], 0x10000
jne 0x10001215
cmp dword [ebp - 0x18], 0x10000
jb 0x10001215
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001208
mov eax, dword [ebp - 8]
jmp 0x1000122e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001227
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001185
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1032b8b8]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1032b8c8], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x1032b8d8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10142fdf
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x1032b8d8], 0
call fcn.10001a30
mov ecx, dword [0x1032b8d4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10142fdf
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1032b8d4], 0
mov dword [0x1032b8c8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret