joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b047c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b0628
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b05f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x4b04d0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
sub eax, dword [edx + 8]
cmp eax, 0x493e0
ja 0x4b04d0
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x4b05e5
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
lea eax, [ebp - 4]
call fcn.00404cb8
lea eax, [ebp - 4]
call fcn.00404cb8
mov ecx, eax
mov edx, 0x4b0640
mov eax, dword [ebp - 8]
call fcn.004af00c
test al, al
jne 0x4b0530
lea eax, [ebp - 4]
call fcn.00404cb8
mov ecx, eax
mov edx, 0x4b067c
mov eax, dword [ebp - 8]
call fcn.004af00c
test al, al
jne 0x4b0530
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0605
cmp dword [ebp - 4], 0
je 0x4b05e5
mov dl, 1
mov eax, dword [0x4175e4]
call fcn.00403e3c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b05de
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4b05a0
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00409180
cmp dword [ebp - 4], 0
jne 0x4b059a
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x4b0572
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004034b0
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00404d0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b05e5
mov eax, dword [ebp - 0xc]
call fcn.00403e6c
ret
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0605
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b062f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404cdc
lea eax, [ebp - 4]
call fcn.00404cb8
ret
Function at 0x4b1264
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x4b12b0
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4b1363
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4b1363
mov eax, 0x400
call fcn.00402f60
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b135c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x400
mov eax, dword [ebp - 0xc]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4b12ee
call fcn.0040478c
jmp 0x4b1363
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4be1d8
call sub.advapi32.dll_AllocateAndInitializeSid
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x4b133d
inc ebx
xor esi, esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*8 + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4b1339
mov byte [ebp - 1], 1
jmp 0x4b133d
inc esi
dec ebx
jne 0x4b131e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1363
mov eax, dword [ebp - 0xc]
call fcn.00402f7c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b13c0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b148c
xor eax, eax
push ebp
push 0x4b1485
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, ebx
call fcn.00405148
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b141c
call fcn.0040478c
jmp 0x4b148c
xor eax, eax
push ebp
push 0x4b1467
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b146e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b14f4
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
mov eax, ebx
call fcn.00405148
push eax
push 0x4b1514
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x4b151c
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b16df
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b16aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x112]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x112]
mov ecx, 0x105
call fcn.00404f28
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 4]
mov ecx, 0x4b16f8
call fcn.00404fd0
mov eax, dword [ebp - 4]
call fcn.00409c58
test al, al
je 0x4b16a0
push 0x80
mov eax, dword [ebp - 4]
call fcn.00405148
push eax
call sub.kernel32.dll_SetFileAttributesA
mov dl, 1
mov eax, dword [0x4175e4]
call fcn.00403e3c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b1699
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4b1672
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x120]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.00408e68
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 8]
call fcn.00409180
mov edx, dword [ebp - 8]
mov eax, 0x4b1714
call fcn.00405294
test eax, eax
jle 0x4b166e
mov eax, dword [ebp - 8]
cmp byte [eax], 0x23
je 0x4b166e
lea eax, [ebp - 0x124]
mov ecx, dword [ebp - 8]
mov edx, 0x4b1728
call fcn.00404fd0
mov ecx, dword [ebp - 0x124]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x20]
mov byte [ebp - 0xd], 1
inc ebx
dec esi
jne 0x4b15ff
cmp byte [ebp - 0xd], 0
je 0x4b1683
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b16a0
mov eax, dword [ebp - 0xc]
call fcn.00403e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b16b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b16e6
lea eax, [ebp - 0x124]
mov edx, 4
call fcn.00404cdc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cdc
ret
Function at 0x4b3798
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b383f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405148
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4b3829
lea eax, [ebp - 4]
mov edx, edi
call fcn.004053d8
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00405148
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b3829
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b3850
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b3829
cmp dword [ebp - 0xc], 0x34
jne 0x4b3829
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3846
lea eax, [ebp - 4]
call fcn.00404cb8
ret

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

Disassembly:
push dword [esp + 4]
lea esp, [esp + 0x44]
je 0x1005eb2f
shl si, 0xf
mov esi, dword [eax + 0x3c]
rcl edx, 0x14
add esi, eax
pushfd
cmp ah, ch
movzx dx, bl
mov edx, dword [esi + 0x78]
pushal
lea eax, [esp + 0x2349f599]
aad 0x3c
push ebp
lea eax, [ebx - 0x13f5e1cc]
aad 0x89
add eax, 0xab85a7b6
inc bp
mov ebp, esp
aam 0xa
sub esp, 0x10
aaa
test dl, 0x7b
aam 0x37
bsr eax, ebx
push esi
shl eax, cl
bt edi, 0xb
push edi
bsr ax, ax
lea eax, [ebx + 0x44663835]
add al, al
push ebx
pushal
bsf eax, eax
mov dword [esp + 0x1c], edx
cwde
shrd ax, dx, 6
aam 0x61
mov eax, dword [ebp + 8]
clc
bt bx, 5
mov word [esp + 4], 0x4a31
stc
test eax, eax
pushfd
pushal
jmp 0x10040379
Function at 0x703310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x703350
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x70e494]
test eax, eax
jne 0x703374
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.00703e60
mov dword [0x70e494], eax
call eax
mov ebx, eax
mov eax, dword [0x70dd18]
test eax, eax
jne 0x70339c
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.00703e60
mov dword [0x70dd18], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x703452
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x703442
cmp ebx, 8
jb 0x703427
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x7033e6
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x703427
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x703400
cmp edx, ebx
jae 0x703442
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x703430
mov edx, dword [esp + 0x18]
test edx, edx
je 0x703450
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7034c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x7034e9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x70e494]
test eax, eax
jne 0x70350d
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.00703e60
mov dword [0x70e494], eax
call eax
mov edi, eax
mov eax, dword [0x70dd18]
test eax, eax
jne 0x703535
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.00703e60
mov dword [0x70dd18], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x7035b5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x7035aa
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x703570
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x7035c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x7035ea
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x70e494]
test eax, eax
jne 0x70360e
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.00703e60
mov dword [0x70e494], eax
call eax
mov edi, eax
mov eax, dword [0x70dd18]
test eax, eax
jne 0x703636
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.00703e60
mov dword [0x70dd18], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x7036a2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x70369a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x703670
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x703bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x4090
or dword [esp], 0x31656b5b
imul eax, dword [esp], 0x51
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
mov eax, 0xb02c0b03
mov edx, dword [esp + 4]
mul edx
shr edx, 6
mov dword [esp + 4], edx
shl dword [esp + 4], 0x10
or dword [esp + 4], 0xecb0ddf8
add dword [esp + 4], 0x637e
xor dword [esp + 4], 0xeef54176
mov dword [esp + 8], 0x5ef
add dword [esp + 8], 0x6fab
or dword [esp + 8], 0x1ac9183b
shl dword [esp + 8], 8
shr dword [esp + 8], 2
xor dword [esp + 8], 0x325f6ec6
mov dword [esp + 8], 0xc1f4
add dword [esp + 8], 0x1c7b
or dword [esp + 8], 0x28c630b6
add dword [esp + 8], 0xffff17a2
shl dword [esp + 8], 0xb
xor dword [esp + 8], 0x30b50810
cmp byte [ebx], 0
je 0x703cf3
push esi
push edi
lea ecx, [ecx]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x5ef
add dword [esp + 0x10], 0x6fab
or dword [esp + 0x10], 0x1ac9183b
shl dword [esp + 0x10], 8
shr dword [esp + 0x10], 2
xor dword [esp + 0x10], 0x325f6ec6
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0xc1f4
add dword [esp + 0x10], 0x1c7b
or dword [esp + 0x10], 0x28c630b6
add dword [esp + 0x10], 0xffff17a2
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x30b50810
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x703c60
pop edi
pop esi
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret
Function at 0x703e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x703ebc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00703bb0
xor eax, 0x3b993195
cmp eax, dword [esp + 0x10]
je 0x703ec6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x703ea0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x703ef4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x703ef4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x7040b0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x7040d6
cmp al, 0x2e
je 0x7040d3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x7040c3
jmp 0x7040d6
mov byte [edx], 0
mov eax, dword [0x70e470]
test eax, eax
jne 0x7040fa
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0xcca18ea2
mov ecx, eax
call fcn.00703e60
mov dword [0x70e470], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x704141
mov eax, dword [0x70e2f4]
test eax, eax
jne 0x70412b
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0xe4b28a79
mov ecx, eax
call fcn.00703e60
mov dword [0x70e2f4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x704141
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00703bb0
xor eax, 0x3b993195
mov ecx, edi
mov edx, eax
call fcn.00703e60
pop edi
pop esi
add esp, 0x104
ret
Function at 0x703f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x70408d
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x10], 0x4090
or dword [esp + 0x10], 0x31656b5b
imul eax, dword [esp + 0x10], 0x51
mov dword [esp + 0x10], eax
mov eax, 0xb02c0b03
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 6
mov dword [esp + 0x10], edx
shl dword [esp + 0x10], 0x10
or dword [esp + 0x10], 0xecb0ddf8
add dword [esp + 0x10], 0x637e
xor dword [esp + 0x10], 0xeef54176
mov dword [esp + 0x14], 0x5ef
add dword [esp + 0x14], 0x6fab
or dword [esp + 0x14], 0x1ac9183b
shl dword [esp + 0x14], 8
shr dword [esp + 0x14], 2
xor dword [esp + 0x14], 0x325f6ec6
mov dword [esp + 0x14], 0xc1f4
add dword [esp + 0x14], 0x1c7b
or dword [esp + 0x14], 0x28c630b6
add dword [esp + 0x14], 0xffff17a2
shl dword [esp + 0x14], 0xb
xor dword [esp + 0x14], 0x30b50810
cmp word [esi], 0
je 0x704073
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], 0x5ef
add dword [esp + 0x14], 0x6fab
or dword [esp + 0x14], 0x1ac9183b
shl dword [esp + 0x14], 8
shr dword [esp + 0x14], 2
xor dword [esp + 0x14], 0x325f6ec6
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0xc1f4
add dword [esp + 0x14], 0x1c7b
or dword [esp + 0x14], 0x28c630b6
add dword [esp + 0x14], 0xffff17a2
shl dword [esp + 0x14], 0xb
xor dword [esp + 0x14], 0x30b50810
shl edx, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x704052
cmp eax, 0x5a
ja 0x704052
add eax, 0x20
mov dword [esp + 0x10], eax
add esi, 2
add dword [esp + 0x10], edx
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebx
cmp word [esi], 0
jne 0x703fd1
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0x14d5ed60
cmp eax, dword [esp + 0x1c]
je 0x704097
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x703f25
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x704370
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x70450e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x70450e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x70450e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x70450e
mov eax, dword [0x70e2a4]
test eax, eax
jne 0x7043db
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0x24897df
mov ecx, eax
call fcn.00703e60
mov dword [0x70e2a4], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x704505
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x70e1e0]
test eax, eax
jne 0x70443b
mov ecx, 0xc6fbcd74
call fcn.00703f00
mov edx, 0x624eee2
mov ecx, eax
call fcn.00703e60
mov dword [0x70e1e0], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x7044be
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x70e1e0]
test eax, eax
jne 0x7044a6
mov ecx, 0xc6fbcd74
call fcn.00703f00
mov edx, 0x624eee2
mov ecx, eax
call fcn.00703e60
mov dword [0x70e1e0], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x704465
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.00704640
mov edx, edi
mov ecx, ebx
call fcn.00704550
pop esi
test eax, eax
jne 0x704505
mov eax, dword [0x70e3cc]
test eax, eax
jne 0x7044f9
mov ecx, 0x9bab0b12
call fcn.00703f00
mov edx, 0xc16beec2
mov ecx, eax
call fcn.00703e60
mov dword [0x70e3cc], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x45bc0c
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ebp*4]
sub esp, 2
bts di, sp
jmp 0x45bc38
lea edi, [edx*4]
lea esp, [esp + 2]
xchg dword [esp], eax
mov dx, 0xcc20
add ebx, esi
jmp 0x45bc9f
mov ch, dh
lea eax, [eax + 0x25]
adc ebx, 0x9724d64
mov cl, byte [esp]
xchg bh, ch
mov cx, dx
call fcn.0045bc6f
mov ah, 0x31
pushal
xchg ecx, edx
sub esp, 0xa0
jmp 0x45bd0d
mov edi, esp
mov cx, 0xa9bb

Function at 0x45be6a
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg dh
call fcn.0045be92
lahf
push es
xchg esp, eax
push cs
iretd
mov bx, cx
stc
jbe 0x45be54
neg dh
clc
bsf ebx, esp
jmp 0x45c2af
rol ebp, 0
mov bx, word [esp]
mov ax, dx
xchg ebx, eax
mov dx, 0xc01e
jmp 0x45c13d

Function at 0x45c0b8
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, cx
jmp fcn.0045bf24
jmp 0x45bf4e
mov eax, esi
mov ax, di
mov ax, word [esp]
mov eax, dword [esp]
sub esp, 0xe
jmp 0x45c0e4
lea esp, [esp + 2]
xchg dword [esp + 0xc], ebx
sub esp, 0x15
mov ax, word [esp + 0xe]
pop dword [esp + 8]
bswap eax
jmp 0x45c126
pop eax
lea esp, [esp + 1]
lea ebx, [ebx + 0xbf]
sub al, 0xaf
call fcn.0045c110
stosb byte es:[edi], al
lds esi, [edi - 0x72]
add ebp, dword [esi]
mov ah, byte [esp]
rdtsc
neg bl
je 0x45bf8d
mov ax, cx
jmp fcn.0045bf24