joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc286233
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
cmp dword [0xc2b24d8], esi
je 0xc286291
cmp dword [ebp + 0xc], esi
je 0xc286283
mov edi, dword [ebp + 8]
push edi
call fcn.0c2987c5
mov ebx, eax
cmp ebx, esi
jne 0xc28625d
xor eax, eax
jmp 0xc2862a1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
test esi, esi
je 0xc28627b
cmp esi, edi
jae 0xc286271
mov edi, esi
push edi
push ebx
push dword [ebp + 0xc]
call fcn.0c29d5d5
push ebx
call fcn.0c29882d
jmp 0xc28629f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
add esi, esi
jmp 0xc28629f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xc28c050
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [ebp + 0xc], ebx
je 0xc28c0a1
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
mov dword [ebp - 0x28], 0x28
call fcn.0c28b0c6
cmp eax, ebx
pop edi
jl 0xc28c08e
test byte [ebp - 0x24], 0x10
jne 0xc28c0b4
or dword [esi + 0xc], 0x100
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0x7c]
test eax, eax
je 0xc28c0bc
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop esi
pop ebx
leave
ret 8
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x84]
test eax, eax
jne 0xc28c0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0xc28c0b6
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push 0xc28315d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0xc28c0b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x84], ebx
jmp 0xc28c0dc

Function at 0xc28c11f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0xc2815fc
push 0xc2815f0
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov esi, dword [ebp + 8]
test eax, eax
jne 0xc28c14b
push esi
call fcn.0c2829c2
test eax, eax
jl 0xc28c19c
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xa0], eax
cmp eax, edi
jne 0xc28c167
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0xc28c19c
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0xc282c0f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x9c], eax
cmp eax, edi
jne 0xc28c19c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], edi
pop edi
pop esi
leave
ret 4
Function at 0xc290a85
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0xc2b2728]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
push 0xc281688
mov dword [ebp - 0x2c], eax
mov edi, 0x80004005
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 1
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0xc290b96
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc281680
push eax
call esi
mov edi, dword [ebp - 0x1c]
push 0xc281670
push edi
mov dword [ebp - 0x18], eax
call esi
push 0xc28165c
push edi
mov dword [ebp - 0x28], eax
call esi
push 0xc281644
push edi
mov dword [ebp - 0x24], eax
call esi
push 0xc281628
push edi
mov dword [ebp - 0x20], eax
call esi
mov edx, eax
cmp dword [ebp - 0x18], ebx
je 0xc290b90
cmp dword [ebp - 0x28], ebx
je 0xc290b90
cmp dword [ebp - 0x24], ebx
je 0xc290b90
cmp dword [ebp - 0x20], ebx
je 0xc290b90
cmp edx, ebx
je 0xc290b90
push 8
pop ecx
push 4
pop esi
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x48], esi
call edx
test eax, eax
je 0xc290b86
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
call dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push 1
call dword [ebp - 0x24]
mov edi, eax
cmp edi, ebx
jne 0xc290b95
push ebx
push dword [ebp - 0x14]
push ebx
push ebx
push esi
push esi
push dword [ebp - 0x2c]
call dword [ebp - 0x28]
jmp 0xc290b8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0xc290b95
mov edi, 0x80004005
pop esi
cmp dword [ebp - 0x14], ebx
je 0xc290ba4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], ebx
je 0xc290baf
push dword [ebp - 0x10]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0xc290bbd
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0c2af3be
leave
ret 4
Function at 0xc29b5ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
push 0x40
call fcn.0c2987c5
xor edi, edi
mov dword [0xc2b2750], eax
cmp eax, edi
jne 0xc29b5cd
xor eax, eax
jmp 0xc29b7b4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0xc2b24d8], edi
je 0xc29b5f9
push 0xc2818b4
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx], eax
mov eax, dword [0xc2b2750]
cmp dword [eax], edi
jmp 0xc29b612
push 0xc28189c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 4], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 4], edi
je 0xc29b7d4
push 0xc281888
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 8], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 8], edi
je 0xc29b7d4
push 0xc28187c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0xc], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0xc], edi
je 0xc29b7d4
push 0xc28186c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x10], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x10], edi
je 0xc29b7d4
push 0xc28185c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x14], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x14], edi
je 0xc29b7d4
push 0xc28184c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x18], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x18], edi
je 0xc29b7d4
push 0xc28183c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x1c], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x1c], edi
je 0xc29b7d4
push 0xc28182c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x20], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x20], edi
je 0xc29b7d4
push 0xc28181c
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x24], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x24], edi
je 0xc29b7d4
push 0xc281808
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x28], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x28], edi
je 0xc29b7d4
push 0xc2817f8
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x2c], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x2c], edi
je 0xc29b7d4
cmp dword [0xc2b24d8], edi
je 0xc29b771
push 0xc2817e8
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x30], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x30], edi
jmp 0xc29b78a
push 0xc2817d8
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x34], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x34], edi
je 0xc29b7d4
cmp dword [0xc2b24d8], edi
je 0xc29b7b9
push 0xc2817c0
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x38], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x38], edi
je 0xc29b7d4
xor eax, eax
inc eax
pop esi
pop ebx
pop edi
pop ebp
ret 4
push 0xc2817a8
push ebx
call esi
mov ecx, dword [0xc2b2750]
mov dword [ecx + 0x3c], eax
mov eax, dword [0xc2b2750]
cmp dword [eax + 0x3c], edi
jne 0xc29b7af
call fcn.0c29b2f6
xor eax, eax
jmp 0xc29b7b2
Function at 0xc2a1e82
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
call fcn.0c2856d7
test eax, eax
jne 0xc2a1ec5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x208
mov ebx, eax
call fcn.0c2987c5
mov edi, eax
test edi, edi
je 0xc2a1f06
push 0x104
push ebx
push edi
call fcn.0c29d5d5
mov esi, eax
test esi, esi
jl 0xc2a1efc
mov eax, edi
jmp 0xc2a1ecb
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xc281a00
push eax
call fcn.0c28634d
mov esi, eax
test esi, esi
je 0xc2a1ef7
push esi
call fcn.0c285992
cmp eax, 0x37
jb 0xc2a1ef7
push dword [ebp + 8]
add esi, 0x20
push esi
call fcn.0c285868
mov esi, eax
jmp 0xc2a1efc
mov esi, 0x80004005
test edi, edi
je 0xc2a1f06
push edi
call fcn.0c29882d
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0xc2a3086
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x7c], edi
jne 0xc2a30b0
push edi
push edi
push edi
push edi
call fcn.0c285d32
mov ebx, eax
cmp ebx, edi
jne 0xc2a30b0
mov eax, 0x8007000e
jmp 0xc2a30e5
cmp dword [esi + 0x74], edi
jne 0xc2a30e3
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0xc2a2518
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0xc2a30d9
cmp ebx, edi
je 0xc2a30a9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xc2a30a9
mov dword [esi + 0x74], eax
cmp ebx, edi
je 0xc2a30e3
mov dword [esi + 0x7c], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0xc2a98c6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0xc2b2798]
inc dword [0xc2b2798]
test eax, eax
je 0xc2a98df
xor eax, eax
leave
ret
push esi
xor esi, esi
push edi
push esi
push 0xffff
push esi
push esi
mov dword [0xc2b2794], esi
mov dword [0xc2b27a0], esi
mov dword [0xc2b27a4], esi
mov dword [0xc2b27a8], esi
mov dword [0xc2b27ac], esi
mov dword [0xc2b27b4], esi
mov dword [0xc2b27b8], esi
mov dword [0xc2b27b0], esi
mov dword [0xc2b2d58], esi
mov dword [0xc2b2d18], esi
mov dword [0xc2b27bc], esi
mov dword [0xc2b27c4], esi
mov dword [0xc2b2d1c], esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push esi
push esi
push esi
push esi
mov dword [0xc2b2d58], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xc2b2d20
mov dword [0xc2b2d18], eax
call edi
push 0xc2b2d40
call edi
push esi
push esi
push esi
push 0x1c
call fcn.0c29cd33
mov dword [0xc2b2794], eax
cmp dword [0xc2b2d58], esi
je 0xc2a99ce
cmp eax, esi
je 0xc2a99ce
cmp dword [0xc2b2d18], esi
je 0xc2a99ce
xor edi, edi
inc edi
push edi
push esi
push 0xc2a92b8
push 0x14
push 0x14
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov dword [0xc2b2d1c], eax
cmp eax, esi
je 0xc2a99ce
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xc2a9682
push 0x1000
push esi
mov dword [0xc2b27a0], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0xc2a99dc
mov dword [0xc2b27a0], esi
call fcn.0c2a9574
mov eax, 0x8007000e
pop edi
pop esi
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc2b27c0
push esi
push 0xc2a97d8
mov edi, 0x1f4
push edi
push 0x3e8
call fcn.0c2a9416
push 0xc2b27c8
push esi
push 0xc2a9856
push edi
push 0xea60
mov dword [0xc2b27bc], eax
call fcn.0c2a9416
mov dword [0xc2b27c4], eax
xor eax, eax
jmp 0xc2a99d8
Function at 0xc2b7513
Capabilities:
Encode data using xor

Disassembly:
call 0xc2b748c
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 0xc2b74bc
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 0xc2b74d8
xor edx, 0
jmp 0xc2b74e3
xor edx, edx
jmp 0xc2b74fa
jmp 0xc2b7506
xor eax, eax
push 0x8427d7c0
call 0xc2b7513
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0xc2b754f
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 0xc2b7528
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 0xc2b7566
add eax, 0
jno 0xc2b756b
add esi, 0
ret 0x10

Function at 0xc2b82d4
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 0xc2b82f6
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 0xc2b8498
cmp edi, dword [ebp + 0x10]
jb 0xc2b8498
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.0c2b7dc0
inc edi
jmp 0xc2b837f
jmp 0xc2b838c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0c2b7dc0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0c2b7dc0
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 0xc2b83e0
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 0xc2b83c4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0c2b840e
add dword [eax], 0x39
jle 0xc2b83ea
sub al, 0xf5
mov ch, al
call fcn.0c2b8423
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0xc2ba0fb
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 0xc2ba111
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 0xc2ba122
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0c2ba163
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 0xc2bc4cf
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 0xc2bc418
add ebx, 0
push ecx
call 0xc2bc42d
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, 0x71a1906d
sub ebx, dword [0x71a388ac]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71a3889c
call fcn.0c2b7ef7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0c2b7405
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0xc2bc58b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0xc2bc58b
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 0xc2bc542
mov eax, 1
lock xchg dword [0x71a388a8], eax
push 0x3dd1fc71
call 0xc2bc4cf
push esi
add esp, 8
cmp eax, 0
jne 0xc2bc4b8
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0xc2bc4de
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0xc2bc4f3
cmp ecx, edx
cmp eax, 0
je 0xc2bc518
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 0xc2bc502
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0c2bc531
dec eax
loope 0xc2bc534
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71a388a8], 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 0xc2bc568
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0xc2bc57d
jmp 0xc2bc588
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0xc2bc476
Function at 0xc2c35f0
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 0xc2c38c6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71a25520
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71a1c4e6
push 0xffffffffffffffff
call fcn.0c2ba7f0
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 0xc2c365a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0c2c3672
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 0xc2c38ba
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xc2c388e
Function at 0xc2d30c0
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 0xc2d30e2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc2d30e2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc2d30e2
ret
cmp word [ebx + 4], 0x14c
jne 0xc2d30e2
test word [ebx + 0x16], 2
je 0xc2d30e2
test word [ebx + 0x16], 0x100
je 0xc2d30e2
cmp word [ebx + 0x18], 0x10b
jne 0xc2d30e2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc2d30e2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc2d316e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc2d3102
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c2ba04d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc2d30e2
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 0xc2d316e
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 0xc2d30e2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xc2d30e2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xc2d30e2
ret
cmp word [ebx + 4], 0x14c
jne 0xc2d30e2
test word [ebx + 0x16], 2
je 0xc2d30e2
test word [ebx + 0x16], 0x100
je 0xc2d30e2
cmp word [ebx + 0x18], 0x10b
jne 0xc2d30e2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xc2d30e2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xc2d316e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xc2d3102
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0c2ba04d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xc2d30e2
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 0xc2d3225
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xc2d327e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xc2d3225
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xc2d3234
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 0xc6d8ed7
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 0xc2d3285
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.0c2ba0fb
cmp eax, dword [ebp + 0xc]
pop eax
je 0xc2d3324
add edi, 4
add eax, 2
dec ecx
jne 0xc2d326a
call 0xc2d32d1
loope 0xc2d32c7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xc2d3321
mov dh, pe_nt_image_headers32
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 0xc2d3332
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 0xc2d32e5
cmp eax, ecx
ja 0xc2d32e5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xc2d336f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xc2d3365
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0c2ba5da
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]