joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2fe0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90c], edi
mov ebx, dword [edi]
mov dword [ebp - 0x908], ebx
mov esi, dword [ebx + 0x863c]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
add eax, 2
push eax
lea eax, [esi + 0x18ac]
push eax
push 0x3c
push ebx
call fcn.004b27e0
mov eax, dword [esi + 0x1aac]
add esp, 0x10
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1aac], eax
cmp ecx, 0x18
je 0x4b3198
cmp ecx, 0x23
je 0x4b3174
cmp ecx, 0x27
jne 0x4b3226
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.004a0050
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x4b3113
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b30a0
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x4b3101
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.00496430
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004a0050
add esp, 0x2c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x4b3094
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x5456c4
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004a0050
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0xc8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4b316e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0049e540
add esp, 0xc
push edi
jmp 0x4b3214
lea edx, [esi + 0x1828]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b3180
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x4b31b9
lea edx, [esi + 0x1808]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b31a3
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004a0050
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0xc8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4b3210
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0049e540
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.004b27e0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x4b4100
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x340]
mov edi, dword [eax]
lea ebx, [esi + 0x15c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x84]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [ebx]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x4b4193
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.004d9a60
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], eax
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x4b41c6
push str.Received_too_short_packet
push edi
call fcn.0049e540
add esp, 8
mov dword [esi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004b3a20
movzx eax, ax
add esp, 4
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x4b41e1
jmp dword [eax*4 + 0x4b42f8]
cmp edx, 4
jle case.0x4b41e1.4
push ebx
call fcn.004b3a00
movzx ecx, word [esi + 0x40]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x4b41e1.4
lea eax, [edx - 4]
push eax
mov eax, dword [ebx]
add eax, 4
push eax
push 1
push dword [ebp - 0x8c]
call fcn.0049e300
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4b4246
push 5
push esi
call fcn.004b4a30
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edi
call fcn.004aa460
jmp 0x4b42be
push ebx
call fcn.004b3a00
movzx eax, ax
mov dword [esi + 8], eax
mov eax, dword [ebx]
add eax, 4
push eax
push 0x540f3c
push edi
call fcn.0049e5e0
add esp, 0x10
jmp case.0x4b41e1.4
lea eax, [edx - 2]
push eax
mov eax, dword [ebx]
add eax, 2
push eax
push esi
call fcn.004b3e80
add esp, 0xc
test eax, eax
je case.0x4b41e1.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x5af270
push edi
call fcn.0049e540
add esp, 0xc
push dword [ebp - 0x8c]
call fcn.004aa690
add esp, 4
test eax, eax
je 0x4b41b3
push 5
push esi
call fcn.004b4a30
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x2a
pop edi
pop esi
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x4b4a30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x4b4a42
jmp dword [edx*4 + 0x4b4a98]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b4570
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b4310
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b4c60
push str.TFTP_finished
push 0x540f3c
push eax
call fcn.0049e5e0
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x5af270
push eax
call fcn.0049e540
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x4b58c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ee925
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x4b5924
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x4b5924
lea eax, [ebp - 0x108]
push eax
call dword [0x5c6048]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret

Function at 0x4b5940
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b58c0

Function at 0x4b7960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.004e380e
add esp, 0x18
test eax, eax
je 0x4b7982
cmp eax, 0xffffffff
jne 0x4b7984
xor eax, eax
pop ebp
ret

Function at 0x4b80e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4b8d20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x5c603c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4b8d4d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4b8d94
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x4b8d9a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4b8dfb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4b8dc0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4b8e27
mov eax, dword [esi + 4]
push 1
push 0x546bfc
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x546bfd
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4b8e00
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b97e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 8], ecx
cmp ecx, 2
jne 0x4b9809
push dword [eax + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
push ebx
push 1
push dword [ebp + 0xc]
call eax
jmp 0x4b983f
cmp dword [esi + 8], 0
jne 0x4b982e
push 0x597620
push dword [eax + 8]
call fcn.004e2a4b
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4b982e
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
push dword [esi + 8]
mov ebx, dword [ebp + 0x10]
push ebx
push 1
push dword [ebp + 0xc]
call fcn.004e2c2e
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b984c
cmp edi, ebx
jbe 0x4b986a
cmp dword [ebp + 8], 2
je 0x4b9864
push dword [esi + 8]
call fcn.004e24fb
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4bc1f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x5ce6f1], 0
jne 0x4bc265
mov edx, dword [ebp + 0xc]
mov byte [0x5ce6f1], 1
test edx, edx
je 0x4bc22c
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bc210
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5ce6f4
call fcn.00413520
pop esi
mov eax, dword [ebp + 8]
test eax, eax
mov ecx, dword [0x5ce490]
push 0
push 0x10000
push 0x5ce494
push 0x4bce40
push 0x100000
cmovne ecx, eax
push 0
mov dword [0x5ce490], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebp
ret

Function at 0x4bcf60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5335cf
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5c6150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x4bcfc3
push 1
call fcn.004d7188
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4bcfb0
mov ecx, eax
call fcn.004166a0
jmp 0x4bcfb2
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
call fcn.004c26d0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
mov ecx, esi
call fcn.004be030
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.004bdd70
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov ecx, esi
call fcn.004bda20
call edi
sub eax, dword [ebp - 0x10]
cmp eax, 0x6ddd00
jbe 0x4bd002
cmp dword [ebp - 0x14], 1
je 0x4bd008
cmp byte [ebp + 8], 0
jne 0x4bd046
mov eax, dword [0x5ce4a0]
mov ecx, 0x5ce4a0
mov eax, dword [eax]
call eax
test al, al
je 0x4bd046
call edi
push eax
mov ecx, esi
call fcn.004be230
push 0x5ce4a0
mov ecx, esi
call fcn.004bb500
push 0x5ce4a0
mov ecx, esi
call fcn.004bc7a0
call edi
push eax
mov ecx, esi
call fcn.004be230
call edi
push eax
mov ecx, esi
call fcn.004be030
cmp dword [ebp - 0x14], 1
je 0x4bd05f
push 1
mov ecx, esi
call fcn.004be430
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd4f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533658
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4bd61d
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.145C
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4bd565
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 8
jb 0x4bd58b
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x4bd61d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bd616
mov esi, dword [esi + 4]
test esi, esi
je 0x4bd60f
cmp dword [ebp + 8], eax
je 0x4bd5e3
mov dword [esi + 0x10002c], eax
lea eax, [esi + 0x100030]
test eax, eax
je 0x4bd5db
push 0x100000
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
add esi, 0x200030
jmp 0x4bd607
lea eax, [esi + 0x1c]
mov dword [esi + 0x18], 0
test eax, eax
je 0x4bd601
push 0x100000
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
add esi, 0x10001c
je 0x4bd60f
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd640
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [esi + 4], eax
je 0x4bd7e1
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push str.145C
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4bd6ba
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bd6e7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test ebx, ebx
je 0x4bd7df
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bd7d8
mov esi, dword [esi + 4]
cmp dword [ebp + 0x10], eax
je 0x4bd781
test esi, esi
je 0x4bd7d1
lea eax, [esi + 0x100030]
test eax, eax
je 0x4bd7d1
mov ecx, dword [esi + 0x10002c]
test ecx, ecx
je 0x4bd7d1
push ecx
push eax
call fcn.004c1b60
add esp, 8
test al, al
je 0x4bd7d1
mov eax, dword [edi]
test eax, eax
jne 0x4bd761
mov eax, dword [esi + 0x10002c]
mov dword [edi], eax
jmp 0x4bd7d1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4bd7d1
mov edx, dword [esi + 0x10002c]
cmp eax, edx
jne 0x4bd7d1
cmp eax, 0x100000
jae 0x4bd7d1
lea eax, [esi + 0x100030]
jmp 0x4bd7c6
test esi, esi
je 0x4bd7d1
lea eax, [esi + 0x1c]
test eax, eax
je 0x4bd7d1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4bd7d1
push ecx
push eax
call fcn.004c1b60
add esp, 8
test al, al
je 0x4bd7d1
mov eax, dword [edi]
test eax, eax
jne 0x4bd7ae
mov eax, dword [esi + 0x18]
mov dword [edi], eax
jmp 0x4bd7d1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4bd7d1
mov edx, dword [esi + 0x18]
cmp eax, edx
jne 0x4bd7d1
cmp eax, 0x100000
jae 0x4bd7d1
lea eax, [esi + 0x1c]
push edx
push eax
push ecx
call fcn.004d8ee0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd800
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebx + 4], edi
je 0x4bd8e3
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], 7
push str.B39A
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edi
jb 0x4bd875
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bd89b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4bd8e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bd8da
mov eax, dword [ebx + 4]
test eax, eax
je 0x4bd8d3
mov ecx, dword [ebp - 0x2c]
mov edi, 1
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd910
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebx + 4], edi
je 0x4bd9f3
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], 7
push str.BA41
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edi
jb 0x4bd985
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bd9ab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4bd9f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bd9ea
mov eax, dword [ebx + 4]
test eax, eax
je 0x4bd9e3
mov ecx, dword [ebp - 0x2c]
mov edi, 1
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 4
Function at 0x4bda20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebx + 4], edi
je 0x4bdb03
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], 7
push str.5D84
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edi
jb 0x4bda95
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bdabb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4bdb01
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bdafa
mov eax, dword [ebx + 4]
test eax, eax
je 0x4bdaf3
mov ecx, dword [ebp - 0x2c]
mov edi, 1
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 4
Function at 0x4bdb30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533688
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
xor edi, edi
cmp dword [eax + 4], edi
jne 0x4bdb71
xor eax, eax
jmp 0x4bdc35
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 4
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], 7
push str.145C
mov word [ecx], ax
call fcn.00413520
lea eax, [ebp - 0x28]
push eax
call fcn.004c4350
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4bdbac
mov eax, dword [eax]
push eax
push 0
call fcn.004c0880
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4bdbd2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004bd350
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x4bdc33
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4bdc2c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4bdc20
cmp dword [ebp + 0xc], 0
je 0x4bdc0d
add eax, 0x200030
jmp 0x4bdc12
add eax, 0x10001c
je 0x4bdc20
push 0x10
push eax
push ebx
call fcn.004d8ee0
add esp, 0xc
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 8