joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d743
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
test edi, edi
je 0x42d79b
cmp dword [esi + 0x18], 0
je 0x42d79b
lea ecx, [ecx]
mov edx, dword [esi + 0x30]
push edi
push edx
call fcn.0042ee93
add esp, 8
test eax, eax
jne 0x42d7a3
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x42d783
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d8a3
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
push 0x103
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.0042e163
add esp, 0xc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
cmp dword [esi + 0x18], 0
je 0x42d92e
mov edi, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [esi + 0x30]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0042e723
lea edx, [ebp - 0x10c]
push edx
push edi
call fcn.004247b3
add esp, 0x10
test eax, eax
jne 0x42d936
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x42d903
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42de53
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x42de61
xor eax, eax
pop ebp
ret
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42de5d
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x42de5d
mov edx, dword [ebp + 8]
push esi
mov dword [edx], eax
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [edx + 4], esi
mov ecx, dword [ecx + eax + 0x78]
add ecx, eax
mov dword [edx + 8], ecx
mov eax, 1
pop esi
pop ebp
ret
Function at 0x42eb73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp esi, 0x5d
jae 0x42edaf
push ebx
push edi
push 0x773
push eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
lea eax, [ebp - 0x793]
mov cl, 0xe7
push eax
mov dword [ebp - 0x20], 0x6c6c642e
mov dword [ebp - 0x820], 0xbee14005
mov dword [ebp - 0x81c], 0xc8066c2a
mov dword [ebp - 0x818], 0xccdfc1a9
mov dword [ebp - 0x814], 0xe245063a
mov dword [ebp - 0x810], 0x3ad226d0
mov dword [ebp - 0x80c], 0x8450707
mov dword [ebp - 0x808], 0xe0c8cb23
mov dword [ebp - 0x804], 0x4337a708
mov dword [ebp - 0x800], 0x57e44962
mov dword [ebp - 0x7fc], 0xa6aa08e7
mov dword [ebp - 0x7f8], 0x6525dcb0
mov dword [ebp - 0x7f4], 0x7b08e760
mov dword [ebp - 0x7f0], 0x1eb386be
mov dword [ebp - 0x7ec], 0x8e7a01f
mov dword [ebp - 0x7e8], 0xefa2d823
mov dword [ebp - 0x7e4], 0xe7a01f26
mov dword [ebp - 0x7e0], 0xa8fc2209
mov dword [ebp - 0x7dc], 0x4f1cc7ee
mov dword [ebp - 0x7d8], 0xef094116
mov dword [ebp - 0x7d4], 0x8ca89392
mov dword [ebp - 0x7d0], 0x4157a323
mov dword [ebp - 0x7cc], 0x9f8f1d09
mov dword [ebp - 0x7c8], 0xa3269dc3
mov dword [ebp - 0x7c4], 0x74094157
mov dword [ebp - 0x7c0], 0x507d60c3
mov dword [ebp - 0x7bc], 0x41107c91
mov dword [ebp - 0x7b8], 0x6357590b
mov dword [ebp - 0x7b4], 0x1deab58a
mov dword [ebp - 0x7b0], 0xf708ac79
mov dword [ebp - 0x7ac], 0x73ade308
mov dword [ebp - 0x7a8], 0xa1651ec6
mov dword [ebp - 0x7a4], 0xca3d06e7
mov dword [ebp - 0x7a0], 0x3ad226c4
mov dword [ebp - 0x79c], 0xb2fc3308
mov dword [ebp - 0x798], 0x615506cf
mov byte [ebp - 0x794], cl
call fcn.0042e163
add esp, 0xc
lea eax, [ebp - 0x820]
test esi, esi
je 0x42ed3f
dec esi
movzx ecx, byte [eax]
lea eax, [eax + ecx + 1]
jne 0x42ed35
lea esi, [eax + 1]
movzx eax, byte [eax]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
call fcn.00416183
xor eax, eax
add esp, 0xc
cmp byte [esi], al
je 0x42ed60
inc eax
cmp byte [esi + eax], 0
jne 0x42ed59
mov ebx, dword [ebp + 8]
inc eax
push eax
push esi
push ebx
call fcn.0042e0e3
add esp, 0xc
xor edi, edi
cmp byte [ebx], 0
je 0x42ed7d
inc edi
cmp byte [edi + ebx], 0
jne 0x42ed76
xor esi, esi
cmp byte [ebp - 0x20], 0
je 0x42ed8d
inc esi
cmp byte [ebp + esi - 0x20], 0
jne 0x42ed85
test esi, esi
je 0x42eda2
push esi
lea ecx, [ebp - 0x20]
lea eax, [edi + ebx]
push ecx
push eax
call fcn.0042e133
add esp, 0xc
add esi, edi
pop edi
mov byte [esi + ebx], 0
mov eax, 1
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x702ca570
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.702dab80
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.702dab80
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x702ca5d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x703ee054]
test esi, esi
jle 0x702ca6f0
mov eax, dword [0x703ee058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x702ca604
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x702ca687
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x702ca5f0
mov dword [esp], ebx
call fcn.702cad30
mov edi, eax
test eax, eax
je 0x702ca717
mov eax, dword [0x703ee058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.702cae70
mov edx, dword [0x703ee058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x702ca6f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x702ca680
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x702ca690
add dword [0x703ee054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x703ee058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x702ca680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.702ca570
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x702ca60e
mov eax, dword [0x703ee058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.702ca570
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.702ca570
lea esi, [esi]
nop
Function at 0x702ca9b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x703ee064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x703ee05c]
sub esp, 4
test ebx, ebx
je 0x702caa05
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x702ca9fe
test esi, esi
je 0x702ca9fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x702ca9e0
mov dword [esp], 0x703ee064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x702cad30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x702c0000], 0x5a4d
jne 0x702cad55
mov ecx, dword [0x702c003c]
cmp dword [ecx + 0x702c0000], 0x4550
lea edx, [ecx + 0x702c0000]
je 0x702cad60
ret
cmp word [ecx + 0x702c0018], 0x10b
jne 0x702cad55
push esi
movzx eax, word [ecx + 0x702c0014]
push ebx
movzx esi, word [ecx + 0x702c0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x702c0000
test esi, esi
je 0x702cada8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x702cad9e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x702cadaa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x702cad90
xor eax, eax
pop ebx
pop esi
ret

Function at 0x702cb320
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x703ee060]
test eax, eax
jne 0x702caa30
ret
push ebx
sub esp, 0x18
mov dword [esp + 4], 0xc
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x702caa90
mov eax, dword [esp + 0x20]
mov dword [esp], 0x703ee064
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x703ee05c]
mov dword [0x703ee05c], ebx
sub esp, 4
mov dword [ebx + 8], eax
mov dword [esp], 0x703ee064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
or eax, 0xffffffff
jmp 0x702caa8b
push esi
push ebx
sub esp, 4
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x702cb350
mov dword [esi], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
add esp, 4
pop ebx
pop esi
jmp 0x702dad80
add esp, 4
pop ebx
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 8]
test eax, eax
jne 0x702dad90
xor eax, eax
ret
jmp 0x702caa20

Function at 0x702cb390
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x702cb3d0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x702cb3f8
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x702dadd8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [0x703ee02c]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
call eax
sub esp, 4
test eax, eax
sete al
test al, al
je 0x702dae40
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329900
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2b]
mov dword [esp + 4], edx
mov dword [esp], 0x703a8432
mov ecx, eax
call fcn.70366b20
sub esp, 8
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329930
jmp 0x702dafb0
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_OpenClipboard]
call eax
sub esp, 4
test eax, eax
sete al
test al, al
je 0x702dae92
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329900
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2b]
mov dword [esp + 4], edx
mov dword [esp], 0x703a8432
mov ecx, eax
call fcn.70366b20
sub esp, 8
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329930
jmp 0x702dafb0
mov dword [esp], 1
mov eax, dword [sym.imp.USER32.dll_GetClipboardData]
call eax
sub esp, 4
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
jne 0x702daeed
mov eax, dword [sym.imp.USER32.dll_CloseClipboard]
call eax
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329900
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2b]
mov dword [esp + 4], edx
mov dword [esp], 0x703a8432
mov ecx, eax
call fcn.70366b20
sub esp, 8
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329930
jmp 0x702dafb0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalLock]
call eax
sub esp, 4
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 0
jne 0x702daf45
mov eax, dword [sym.imp.USER32.dll_CloseClipboard]
call eax
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329900
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2b]
mov dword [esp + 4], edx
mov dword [esp], 0x703a8432
mov ecx, eax
call fcn.70366b20
sub esp, 8
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329930
jmp 0x702dafb0
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329900
lea eax, [esp + 0x34]
lea edx, [esp + 0x2b]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov ecx, eax
call fcn.70366b20
sub esp, 8
lea eax, [esp + 0x2b]
mov ecx, eax
call fcn.70329930
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call eax
sub esp, 4
mov eax, dword [sym.imp.USER32.dll_CloseClipboard]
call eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
mov dword [esp], edx
mov ecx, eax
call fcn.70366a50
sub esp, 4
lea eax, [esp + 0x34]
mov ecx, eax
call fcn.70367640
mov eax, dword [esp + 0x4c]
sub eax, dword [0x703ee02c]
je 0x702dafc1
call fcn.702c15c0
mov eax, dword [esp + 0x1c]
add esp, 0x5c
ret
Function at 0x702df590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x703a9e11
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x703a9e75]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.702cb010
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.7039eae0
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x703a726c], 0
jne 0x702df6b6
mov byte [0x703a726c], 1
call fcn.7039cbd0
test eax, eax
je 0x702df684
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.702ca220
mov dword [esp], 2
mov esi, dword [fcn.702dab80]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x702df674
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x703aa555
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x7039f360
jmp 0x7039f358
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x702df63a
mov dword [esp], 2
call dword [0x703a6178]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x7039f353
mov dword [esp], 2
call dword [0x703a6178]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x703aa504
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov dword [esp], edi
call fcn.702da428
call fcn.7039cfa0
call fcn.7039cab0
call fcn.7039cc20
jmp 0x7039f353
Function at 0x702f0bd4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x68
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, edx
mov byte [esp + 0x10], al
mov eax, dword [0x703ee02c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.703984f0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.70366ee0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x702f0c78
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [esp + 0x28]
mov dword [esp], edx
mov ecx, eax
call fcn.702ea10c
sub esp, 4
movsx edx, al
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, eax
call fcn.702e9ff0
sub esp, 8
movsx edx, al
lea eax, [esp + 0x44]
mov dword [esp], edx
mov ecx, eax
call fcn.70367a60
sub esp, 4
add dword [esp + 0x18], 1
jmp 0x702f0c1c
mov dword [esp + 0x2c], str.dwsmaklthrtter
mov dword [esp + 0x24], 0x703b2ec0
mov dword [esp + 0x30], 0x703b2f38
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x30]
je 0x702f0d80
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.70399074
test al, al
je 0x702f0d76
cmp byte [esp + 0x10], 0
je 0x702f0d41
lea eax, [esp + 0x40]
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call fcn.7036b530
sub esp, 8
lea eax, [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp], 3
mov ecx, eax
call fcn.7036b530
sub esp, 8
mov eax, dword [esp + 0x34]
add eax, 4
mov edx, dword [esp + 0x38]
mov dword [esp], edx
mov ecx, eax
call fcn.702f0a40
sub esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov ecx, eax
call fcn.702f0b18
sub esp, 4
test al, al
je 0x702f0d41
mov eax, 1
jmp 0x702f0d46
mov eax, 0
test al, al
je 0x702f0d6d
lea eax, [esp + 0x40]
mov dword [esp + 4], 0
mov dword [esp], 4
mov ecx, eax
call fcn.7036b530
sub esp, 8
mov ebx, dword [esp + 0x40]
jmp 0x702f0da1
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 4]
jmp 0x702f0da1
add dword [esp + 0x24], 8
jmp 0x702f0c90
lea eax, [esp + 0x40]
mov dword [esp + 4], 0
mov dword [esp], 0
mov ecx, eax
call fcn.7036b530
sub esp, 8
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.70367640
mov eax, ebx
mov ebx, dword [esp + 0x5c]
sub ebx, dword [0x703ee02c]
je 0x702f0dbf
call fcn.702c15c0
add esp, 0x68
pop ebx
ret 0xc
Function at 0x702f0f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [0x703ee02c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.703984f0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.70366ee0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
je 0x702f0fcd
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, eax
call fcn.702e9ff0
sub esp, 8
movsx edx, al
lea eax, [esp + 0x44]
mov dword [esp], edx
mov ecx, eax
call fcn.70367a60
sub esp, 4
add dword [esp + 0x14], 1
jmp 0x702f0f85
mov dword [esp + 0x38], 0x703a7280
mov dword [esp + 0x30], 0x703a7280
mov dword [esp + 0x3c], 0x703a7480
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x3c]
je 0x702f107b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.70399074
test al, al
je 0x702f1071
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.70329900
mov eax, dword [esp + 0x40]
sub eax, 0x703a7280
sar eax, 2
movsx edx, al
mov eax, dword [esp + 0x34]
mov dword [esp], edx
mov ecx, eax
call fcn.702e9f20
sub esp, 4
movsx edx, al
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2f]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 1
mov ecx, eax
call fcn.70366e40
sub esp, 0xc
lea eax, [esp + 0x2f]
mov ecx, eax
call fcn.70329930
jmp 0x702f1086
add dword [esp + 0x30], 4
jmp 0x702f0fe5
mov eax, dword [esp + 0x1c]
mov ecx, eax
call fcn.70366ee0
lea eax, [esp + 0x44]
mov ecx, eax
call fcn.70367640
mov eax, dword [esp + 0x5c]
sub eax, dword [0x703ee02c]
je 0x702f10a2
call fcn.702c15c0
mov eax, dword [esp + 0x1c]
add esp, 0x6c
ret 0xc
Function at 0x100010f6
Capabilities:
Enumerate pe sections

Disassembly:
push 0x24
mov eax, 0x10007cc3
call fcn.10002200
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x18], eax
jge 0x10001231
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
push 0x1000a200
jne 0x10001194
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
lea eax, [ebp - 0x24]
push eax
call fcn.1000224a
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x1000117e
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x1c]
push 4
push 0x1000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.10002660
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov eax, 0x10001188
ret
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
lea eax, [ebp - 0x28]
jmp 0x10001147
call fcn.10002236
ret

Function at 0x100012a0
Capabilities:
Enumerate pe sections

Disassembly:
push 0x24
mov eax, 0x10007cf9
call fcn.10002200
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
and dword [ebp - 0x20], 0
lea edi, [ecx + eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, word [eax + 6]
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], eax
jge 0x100013e3
mov esi, dword [edi + 0x24]
mov eax, esi
mov ecx, esi
shr eax, 0x1d
shr ecx, 0x1e
mov edx, esi
and eax, 1
and ecx, 1
shr edx, 0x1f
test esi, 0x2000000
je 0x10001334
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
push 0x1000a200
lea eax, [ebp - 0x24]
push eax
call fcn.1000224a
mov eax, dword [ebp - 0x14]
push 0x4000
push dword [eax + 0x10]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
or dword [ebp - 4], 0xffffffff
mov eax, 0x10001329
ret
mov edi, dword [ebp - 0x14]
inc dword [ebp - 0x20]
add edi, 0x28
jmp 0x100012bd
lea eax, [ecx + eax*2]
lea eax, [edx + eax*2]
mov eax, dword [eax*4 + 0x10139000]
mov dword [ebp - 0x1c], eax
test esi, 0x4000000
je 0x10001353
or dword [ebp - 0x1c], 0x200
mov edi, dword [edi + 0x10]
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x100013a2
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
push 0x1000a200
lea eax, [ebp - 0x28]
jmp 0x10001305
cmp dword [ebp - 0x18], 0
jbe 0x10001329
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
push 0x1000a200
lea eax, [ebp - 0x2c]
jmp 0x10001305
call fcn.10002236
ret