joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f890
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcf15
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x2b0], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 1
push 0x24
mov dword [esi + 0x28], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1294]
add esp, 4
cmp eax, ebx
je 0x46fa5b
mov dword [esi + 0x24], eax
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x24]
mov byte [eax + 0x20], 1
mov ecx, dword [esi + 0x24]
mov byte [ecx + 0x21], 1
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
push ebx
push ebx
push ebx
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_721]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp eax, ecx
je 0x46f986
mov edx, dword [ebp - 0x2b0]
push edx
push ecx
call fcn.00416a00
mov ecx, dword [ebp - 0x2b0]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esi + 0xc]
push edx
push ecx
push eax
mov dword [ebp - 0x2ac], eax
call fcn.004169c0
mov edx, dword [ebp - 0x2ac]
add esp, 0x18
mov dword [esi + 4], edx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x46f9bf
mov edx, dword [ebp - 0x2b0]
push edx
push ecx
call fcn.00471780
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [esi + 0x14]
push ecx
push edx
mov dword [ebp - 0x2ac], eax
call fcn.00427920
mov eax, dword [ebp - 0x2ac]
add esp, 0x10
mov dword [esi + 0x14], eax
push ebx
push 0x51d12c
lea ecx, [esi + 0x30]
call fcn.004016d0
lea ecx, [ebp - 0x2a8]
push ecx
push 0x101
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x103
lea edx, [ebp - 0x117]
push ebx
push edx
mov byte [ebp - 0x118], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46fa25
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [esi + 0x68]
call fcn.004016d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2ac]
push edx
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2ac], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x535fb0
lea eax, [ebp - 0x2bc]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x473490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x4734a3
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x47351d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x4734f1
sub eax, edi
jmp 0x4734f3
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4734e2
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x473510
sub eax, edi
jmp 0x473512
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x473501
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x4735d2
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x473543
mov ebx, ecx
test ebx, ebx
je 0x473596
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x473565
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00476ed0
jmp 0x47357e
cmp eax, 2
jne 0x473584
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x473577
xor eax, eax
jmp 0x473581
mov edx, ebx
call fcn.00477160
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call sub.MSVCR100.dll_memcpy
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x4735be
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x4735d2
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4734a0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477140
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x47714b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00477160
Function at 0x479910
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f78f8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x479a99
cmp dword [edi + 0x48], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x479974
push str.SendData
push eax
call ebx
mov dword [edi + 0x48], eax
test eax, eax
jne 0x479974
cmp dword [ebp + 0x1c], 0x10
jb 0x479aac
mov eax, dword [ebp + 8]
push eax
jmp 0x479aa3
cmp dword [edi + 0x4c], 0
jne 0x479990
mov ecx, dword [edi + 4]
push str.GetData
push ecx
call ebx
mov dword [edi + 0x4c], eax
test eax, eax
je 0x479a99
cmp dword [edi + 0x50], 0
jne 0x4799b5
mov eax, dword [edi + 4]
push str.SendCmd
push eax
call ebx
mov dword [edi + 0x50], eax
test eax, eax
jne 0x4799b5
lea ecx, [ebp + 8]
call fcn.00432240
jmp 0x479aac
cmp dword [edi + 0x54], 0
jne 0x4799cd
mov ecx, dword [edi + 4]
push str.CheckRBReady
push ecx
call ebx
mov dword [edi + 0x54], eax
test eax, eax
je 0x4799a8
cmp dword [edi + 0x58], 0
jne 0x4799e5
mov edx, dword [edi + 4]
push str.ReadInfo
push edx
call ebx
mov dword [edi + 0x58], eax
test eax, eax
je 0x4799a8
cmp dword [edi + 0x5c], 0
jne 0x479a23
mov eax, dword [edi + 4]
push str.SetRefPath
push eax
call ebx
mov dword [edi + 0x5c], eax
lea ecx, [ebp + 8]
test eax, eax
je 0x4799ab
mov esi, 0x51d12c
call fcn.00416990
test al, al
je 0x4799a8
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x479a1a
lea eax, [ebp + 8]
mov ecx, dword [edi + 0x5c]
push eax
call ecx
add esp, 4
cmp dword [edi + 0x64], 0
jne 0x479a3f
mov edx, dword [edi + 4]
push str.FreeFlash
push edx
call ebx
mov dword [edi + 0x64], eax
test eax, eax
je 0x4799a8
cmp dword [edi + 0x60], 0
jne 0x479a5d
mov eax, dword [edi + 4]
push str.FlashInit
push eax
call ebx
mov dword [edi + 0x60], eax
test eax, eax
je 0x4799a8
call eax
cmp dword [edi + 0x68], 0
jne 0x479a79
mov ecx, dword [edi + 4]
push str.CleanUp
push ecx
call ebx
mov dword [edi + 0x68], eax
test eax, eax
je 0x4799a8
lea ecx, [ebp + 8]
call fcn.00432240
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], 0x10
jb 0x479aac
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x47bff0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x48]
push ecx
push 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
call edi
test eax, eax
je 0x47c029
cmp eax, 0x6f
jne 0x47c0c2
mov edx, dword [ebp - 0x48]
push esi
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x47c0c1
lea eax, [ebp - 0x48]
push eax
push esi
call edi
test eax, eax
jne 0x47c0ba
push 0x3f
push eax
lea ecx, [ebp - 0x43]
push ecx
mov byte [ebp - 0x44], al
call sub.MSVCR100.dll_memset
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x44]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
add esp, 0x30
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c0a4
mov ecx, dword [ebp - 0x4c]
sub eax, edx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004016d0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e8d32
mov esp, ebp
pop ebp
ret
Function at 0x482dd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5029e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x64]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00401460
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xc]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401460
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00484010
movzx eax, byte [ebp + 8]
cmp eax, 5
ja case.default.0x482e58
jmp dword [eax*4 + 0x482f58]
call fcn.004831d0
jmp 0x482eda
call fcn.004833f0
jmp 0x482eda
mov eax, dword [ebp + 0x28]
push eax
call fcn.00483070
jmp 0x482eda
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x48]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401460
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x2c]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00401460
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00483870
jmp 0x482eda
call fcn.00483990
jmp 0x482eda
call fcn.00483720
jmp 0x482eda
push 0x52e598
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, 0x10
cmp dword [ebp + 0x20], esi
jb 0x482ef1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
cmp dword [ebp + 0x40], esi
jb 0x482f0c
mov edx, dword [ebp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x2c], bl
cmp dword [ebp + 0x5c], esi
jb 0x482f27
mov eax, dword [ebp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x58], ebx
mov byte [ebp + 0x48], bl
cmp dword [ebp + 0x78], esi
jb 0x482f42
mov ecx, dword [ebp + 0x64]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x78
Function at 0x485480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
push 0x148
lea edi, [esi + 4]
push 0xff
push edi
call sub.MSVCR100.dll_memset
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov byte [esi + 0xa], al
mov eax, 0x20
mov word [esi + 0xc], ax
xor eax, eax
mov word [esi + 0xe], ax
mov eax, 0x1f
mov word [esi + 0x10], ax
xor eax, eax
add esp, 0xc
xor ebx, ebx
mov word [esi + 0x1c], bx
mov byte [esi + 0x28], bl
mov ebx, 0x20
mov word [esi + 0x34], bx
mov word [esi + 0x36], bx
mov ebx, 0x3f
mov word [esi + 0x38], bx
mov ebx, 0x20
mov word [esi + 0x3a], bx
mov ebx, 0x40
mov word [esi + 0x3c], bx
mov ebx, 0x20
mov word [esi + 0x44], bx
mov ebx, 0x40
mov word [esi + 0x46], bx
mov ebx, 0x1c0
mov word [esi + 0x5c], bx
mov ebx, 0x40
mov word [esi + 0x5e], bx
mov ebx, 0x1ff
mov word [esi + 0x60], bx
mov ebx, 0x41
mov word [esi + 0x62], bx
mov ebx, 0x80
mov word [esi + 0x64], bx
mov ebx, 0x41
mov word [esi + 0x6c], bx
mov ebx, 0x80
mov word [esi + 0x6e], bx
mov ebx, 0x20
mov word [esi + 0x84], bx
mov ebx, 0x200
mov word [esi + 0x86], bx
mov ebx, 0x21f
mov cl, 2
mov word [esi + 0x12], ax
mov word [esi + 0x14], ax
mov word [esi + 0x16], ax
mov eax, 1
mov word [esi + 0x88], bx
mov ebx, 0x3c1
mov byte [edi], 4
mov byte [esi + 5], cl
mov dword [esi + 0x18], 0x1010101
mov byte [esi + 0x22], al
mov byte [esi + 0x25], al
mov word [esi + 0x40], 0x201
mov byte [esi + 0x43], cl
mov word [esi + 0x4a], 0x201
mov byte [esi + 0x50], 0
mov word [esi + 0x4d], 0x101
mov byte [esi + 0x53], al
mov word [esi + 0x68], 0x202
mov byte [esi + 0x6b], cl
mov word [esi + 0x72], 0x202
mov byte [esi + 0x78], 0
mov word [esi + 0x75], 0x101
mov byte [esi + 0x7b], al
mov word [esi + 0x8a], bx
mov byte [esi + 0x90], cl
mov byte [esi + 0x9a], cl
mov byte [esi + 0x93], al
mov word [esi + 0x94], bx
mov byte [esi + 0x9d], al
mov byte [esi + 0xa0], 0
movzx edi, byte [edi]
lea ecx, [esi + 0xc]
movzx edx, word [ecx]
movzx ebx, byte [ecx + 0xf]
add dword [ebp - 8], edx
imul bx, dx
add word [ebp - 4], bx
add ecx, 0x28
sub edi, eax
jne 0x485602
mov cx, word [ebp - 4]
mov dx, word [ebp - 8]
pop edi
mov word [esi + 6], cx
mov word [esi + 8], dx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x48691b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x486952
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x48694e
jmp 0x486940
cmp esi, eax
jae 0x486952
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x486940
cmp esi, eax
jb 0x486959
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ab280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ebx
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 1
push ebx
push ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
lea edi, [ebx + 0x10]
cmp dword [esi + 0x10], ebx
jne 0x4ab377
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.004eb530
add esp, 4
test eax, eax
jne 0x4ab31b
push str.CommunicateDll_path_is_not_exist_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401460
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x4ab335
lea eax, [ebp - 0x2c]
push 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x4ab35a
cmp dword [ebp - 0x18], edi
jb 0x4ab377
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
jmp 0x4ab377
push str.GetCommunicateManger
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4ab36f
call eax
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.00432240
cmp dword [ebp + 0x1c], edi
jb 0x4ab389
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4ab930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push 0
mov dword [ebp - 8], eax
push 0
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
push 0x4ab1f0
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x1c]
push 0
push 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x4ab975
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4abb60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502517
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], vtable.CMcuConf.0
mov dword [ebp - 0x38], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004ad2d0
test eax, eax
je 0x4abc4c
sub esp, 0x1c
mov dword [ebp - 0x30], esp
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00401460
lea ecx, [ebp - 0x34]
call fcn.004e9900
lea edi, [ebp - 0x34]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004acba0
push esi
mov ecx, edi
call fcn.004acd80
mov edx, edi
mov ecx, esi
call fcn.004ac760
mov edx, edi
mov ecx, esi
call fcn.004ac300
mov edx, edi
mov ecx, esi
call fcn.004ac020
mov edx, edi
mov ecx, esi
call fcn.004abd40
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004e9710
cmp dword [ebp - 0x18], 0x10
jb 0x4abc5f
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret
Function at 0x4bf2f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5018ec
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x54f018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1b5
push 0
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0xa6c]
mov ecx, dword [eax + 0x58]
mov dx, word [eax + 0x5c]
movzx eax, byte [eax + 0x4c]
mov esi, dword [ebx + 0x2c]
push eax
mov byte [edi], 0
mov dword [edi + 1], ecx
mov word [edi + 5], dx
call fcn.0047bba0
mov byte [edi + 7], al
mov eax, dword [ebx + 0xa6c]
movzx ecx, byte [eax + 0x4e]
movzx edx, byte [eax + 0x4d]
movzx eax, byte [eax + 0x4c]
push ecx
push edx
push eax
mov eax, esi
call fcn.0047ba50
mov byte [edi + 8], al
mov eax, dword [ebx + 0xa6c]
movzx ecx, word [eax + 0x24]
mov edx, dword [eax]
lea eax, [ecx + edx - 1]
xor edx, edx
div ecx
add esp, 0x1c
push 0x6c3714
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x6c213c], 0
jne 0x4bf3c0
push 0x58
call dword [sym.imp.mfc100.dll_Ordinal_1294]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4bf3b9
mov esi, eax
call fcn.004abb60
jmp 0x4bf3bb
xor eax, eax
mov dword [0x6c213c], eax
push 0x6c3714
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x6c213c]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
xor ecx, ecx
sar eax, 3
test eax, eax
je 0x4bf401
mov edx, dword [edx + 8]
mov esi, dword [ebx + 0xa6c]
movzx esi, byte [esi + 0x40]
mov dword [ebp - 0x10], edx
cmp word [edx], si
jae 0x4bf483
inc ecx
add edx, 8
cmp ecx, eax
jb 0x4bf3f0
xor esi, esi
mov cl, byte [esi + 2]
cmp byte [esi + 6], 0
mov byte [edi + 0xe], cl
mov ecx, dword [ebx + 0xa6c]
movzx eax, word [ecx + 0x24]
sete dl
mov word [edi + 0xf], ax
movzx eax, byte [ecx + 0x40]
mov byte [edi + 0xd], dl
lea edx, [eax + eax*4]
shl edx, 4
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebx + 0x30]
mov dx, word [edx + 0x3c8]
mov word [edi + 0x11], ax
movzx eax, word [ecx + 0x24]
add ax, word [esi + 4]
mov ecx, dword [ecx]
imul ax, word [ebp - 0x14]
sub dx, ax
sub dx, word [edi + 5]
mov dword [edi + 0x15], ecx
add ecx, 0x1ff
shr ecx, 9
mov word [edi + 0x13], dx
mov dword [edi + 9], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
lea esi, [eax + ecx*8]
jmp 0x4bf403