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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x12fceb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [ecx + 0x1000]
cmp eax, 0x2000
jb 0x129436b
mov edx, dword [ebp + 0x1c]
mov dword [ecx], 0
test edx, edx
je 0x1293cb3
mov eax, dword [ebp + 0x20]
add eax, 0x1000
cmp eax, 0x2000
jb 0x129436b
cmp edx, 0x2000
jae 0x1294352
cmp dword [ebp + 0x38], 0x100000
jae 0x1294352
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x10], ecx
cmp ecx, 0x80
ja 0x1294352
lea esi, [edx*4]
lea eax, [esi + 0x10c8]
mov dword [ebp - 8], eax
mov edx, eax
mov eax, dword [ebp + 0x10]
and eax, 0x400
mov dword [ebp - 0x14], eax
or eax, 0
je 0x1293cf6
add edx, esi
mov edi, dword [ebp + 0x2c]
test ecx, ecx
jne 0x1293dbd
add edx, 0x3f
and edx, 0xffffffc0
mov esi, edx
add edx, 0x20040
push str.may_leak:log_instance
push edx
call fcn.01295560
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1294337
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x10c4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x30]
push 0x10
mov dword [ebx + 0x30], eax
lea eax, [ebx + 0x80]
push 0
push eax
mov dword [ebx], 0x19320731
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x20], 0xd
mov dword [ebx + 0x24], 0x10c8
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov byte [ebx + 0x50], 1
mov byte [ebx + 0x53], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
call sym.VBoxTray.exe_nocrt_memset
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
or eax, 0
je 0x1293ebd
mov eax, dword [ebp - 8]
add eax, ebx
jmp 0x1293ebf
lea eax, [edi + 0x1000]
cmp eax, 0x2000
jb 0x129436b
cmp dword [edi + 0x10], 0
je 0x1293ddb
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x1293de6
add edx, 0x3f
and edx, 0xffffffc0
mov esi, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x1293d0f
mov ebx, dword [ebp - 0xc]
lea ecx, [edi + 8]
jmp 0x1293e00
cmp dword [ecx - 8], 0x19281207
jne 0x1293ea4
cmp dword [ecx - 4], 0
jne 0x1293e44
mov edi, dword [ecx]
lea eax, [edi - 0x400]
cmp eax, 0x3fffc00
ja 0x1294352
cmp dword [ecx + 4], 0
jne 0x1293e44
mov esi, dword [ecx + 8]
test ebx, ebx
je 0x1293e5d
lea eax, [edi + 0x3f]
and eax, 0xffffffc0
add edx, eax
test esi, esi
jne 0x1293e44
cmp dword [ecx + 0xc], esi
je 0x1293e86
mov eax, 0xfffffffe
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x1000]
cmp eax, 0x2000
jb 0x129436b
mov esi, dword [ecx + 0xc]
lea eax, [esi + 0x1000]
cmp eax, 0x2000
jae 0x1293e86
test esi, esi
jne 0x129436b
mov eax, dword [ebp - 0x18]
add ecx, 0x18
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x10]
jb 0x1293e00
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0x2c]
jmp 0x1293d0f
mov eax, 0xfffffffd
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x1293ecc
or eax, 0xffffffff
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x40]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x90], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0xb8], eax
mov eax, ecx
or eax, edx
mov dword [ebx + 0x9c], 0xffffffff
mov byte [ebx + 0x10c0], 0
jne 0x1293f04
or ecx, 0xffffffff
or edx, 0xffffffff
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0xa4], edx
test eax, eax
jne 0x1293f1a
or eax, 0xffffffff
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x1293f2c
mov ecx, dword [ebp + 0x4c]
jmp 0x1293f33
mov ecx, ebx
mov eax, 0x12cd68c
mov dword [ebx + 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x98], ecx
test eax, eax
je 0x1293f50
push eax
push ebx
call fcn.01294e50
add esp, 8
test esi, esi
jne 0x1293f5f
mov eax, dword [ebp - 0x10]
mov byte [ebx + 0x34], al
mov dword [ebx + 0x38], edi
jmp 0x1293fbf
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1293f88
mov byte [ebx + 0x34], dl
lea ecx, [edi + 8]
mov dword [ebx + 0x38], edi
nop
lea eax, [ebx + esi]
add esi, 0x3f
add esi, dword [ecx]
lea ecx, [ecx + 0x18]
and esi, 0xffffffc0
mov dword [ecx - 0x10], eax
sub edx, 1
jne 0x1293f70
jmp 0x1293fbf
lea edi, [ebx + esi]
mov byte [ebx + 0x34], 1
mov dword [ebx + 0x38], edi
lea eax, [esi + 0x57]
and eax, 0xffffffc0
mov dword [edi], 0x19281207
add eax, ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 0x20000
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x54]
mov dword [ebx + 0x3c], edi
mov byte [ebx + 0x35], 0
test eax, eax
je 0x1293fee
push dword [ebp + 0x58]
lea esi, [ebx + 0xbc]
push eax
push 0x1004
push esi
call fcn.0129ddc0
add esp, 0x10
cmp byte [esi], 0
je 0x1293fee
or dword [ebx + 0x30], 1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x12940b0
push eax
call sym.VBoxTray.exe_nocrt_strlen
mov esi, eax
add esp, 4
lea eax, [esi + 0x10]
call fcn.01271300
mov edi, esp
push esi
push dword [ebp + 0xc]
push edi
call sym.VBoxTray.exe_nocrt_memcpy
add esi, edi
push str._DEST
push esi
call sym.VBoxTray.exe_nocrt_strcpy
push edi
call fcn.012a6340
add esp, 0x18
test eax, eax
je 0x129403c
push eax
push ebx
call fcn.01294400
add esp, 8
push str._FLAGS
push esi
call sym.VBoxTray.exe_nocrt_strcpy
push edi
call fcn.012a6340
add esp, 0xc
test eax, eax
je 0x129405e
push eax
push ebx
call fcn.01294bb0
add esp, 8
push edi
mov byte [esi], 0
call fcn.012a6340
add esp, 4
test eax, eax
je 0x1294078
push eax
push ebx
call fcn.01294e50
add esp, 8
push str._MAX_PER_GROUP
push esi
call sym.VBoxTray.exe_nocrt_strcpy
push edi
call fcn.012a6340
add esp, 0xc
test eax, eax
je 0x12940b0
lea ecx, [ebp - 8]
push ecx
push 0
push eax
call fcn.012995a0
add esp, 0xc
test eax, eax
js 0x12940b0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x12940ad
or eax, 0xffffffff
mov dword [ebx + 0x60], eax
mov ecx, dword [ebx + 0x30]
xor esi, esi
mov eax, ecx
and eax, 0x20001
cmp eax, 0x20000
jne 0x12940cc
and ecx, 0xfffdffff
mov dword [ebx + 0x30], ecx
mov edi, dword [ebp + 0x50]
mov eax, ecx
and eax, 0x20001
cmp eax, 1
jne 0x12940ea
push edi
push ebx
call fcn.01292f30
mov ecx, dword [ebx + 0x30]
add esp, 8
mov esi, eax
test cl, 0x20
je 0x12941e9
test esi, esi
js 0x1294226
cmp dword [ebx], 0x19320731
mov edi, dword [ebx + 0x64]
jne 0x12941e1
cmp dword [ebx + 0x20], 0xd
jne 0x12941da
cmp dword [ebx + 0x24], 0x10c8
jne 0x12941da
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x129413b
push eax
call fcn.012a6300
mov esi, eax
add esp, 4
test esi, esi
js 0x12941e6
xor esi, esi
test edi, edi
jne 0x1294146
mov edi, 0x80000
cmp dword [ebx + 0x64], edi
jne 0x1294150
cmp dword [ebx + 0x74], esi
jne 0x12941c8
mov esi, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
sub esi, eax
cmp esi, 0x10
jb 0x1294170
cmp esi, edi
jb 0x1294175
sub esi, edi
push edi
add esi, eax
push esi
push eax
call sym.VBoxTray.exe_nocrt_memmove
add esp, 0xc
mov esi, 0x10
mov eax, dword [ebx + 0x74]
push str.D:_tinderbox_add_7.0_srcVBoxRuntimecommonloglog.cpp
push edi
push eax
call fcn.012955a0
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x12941c3
push 0x10
lea ecx, [eax + esi]
mov dword [ebx + 0x70], eax
push str.START_RING_BUF
push eax
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x64], edi
call sym.VBoxTray.exe_nocrt_memcpy
mov eax, dword [ebp - 0x14]
push 0x10
add eax, 0xfffffff0
add eax, edi
push 0x12cd6f4
push eax
call sym.VBoxTray.exe_nocrt_memcpy
add esp, 0x18
xor esi, esi
jmp 0x12941c8
mov esi, 0xfffffff8
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x12941e6
push eax
call fcn.012a62f0
add esp, 4
jmp 0x12941e6
mov esi, 0xffffa8e4
jmp 0x12941e6
mov esi, 0xfffffffd
mov edi, dword [ebp + 0x50]
test esi, esi
js 0x1294226
cmp dword [ebp + 0x14], 0
jl 0x1294280
jg 0x1294203
cmp dword [ebp + 0x10], 0
jb 0x1294280
lea eax, [ebx + 0x40]
push 1
push eax
call fcn.012a6250
mov esi, eax
add esp, 8
test esi, esi
jns 0x1294280
push str.failed_to_create_semaphore
push esi
push edi
call fcn.012a1300
add esp, 0xc
mov ecx, dword [ebx + 0x94]
mov edi, dword [ebx + 0x98]
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
cmp eax, 0x1291e10
jne 0x1294308
mov eax, dword [edi + 0x9c]
cmp eax, 0xffffffff
je 0x1294257
push eax
call fcn.012a6a50
add esp, 4
push ebx
mov dword [edi + 0x9c], 0xffffffff
call fcn.01295580
add esp, 4
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
call fcn.01295a00
mov edi, eax
test edi, edi
je 0x12942b7
push edi
call fcn.0129fcd0
push dword [ebx + 0x40]
mov esi, eax
call fcn.012a6300
push edi
call fcn.0129fcd0
push dword [ebx + 0x40]
mov edi, eax
sub edi, esi
call fcn.012a62f0
add esp, 0x10
mov eax, 0x12fde1c
xchg dword [eax], edi
mov esi, dword [ebx + 0x90]
test esi, esi
je 0x12942d6
push 0x12937f0
push 0
push ebx
mov ecx, esi
call dword [section..rdata]
call esi
add esp, 0xc
mov eax, dword [ebp + 8]
mov byte [ebx + 0x53], 1
mov dword [eax], ebx
cmp dword [0x12fde40], 0
jne 0x12942f2
mov dword [0x12fde40], fcn.01295020
xor eax, eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
push edi
push ecx
mov ecx, eax
call dword [section..rdata]
call dword [ebp - 8]
add esp, 8
push ebx
call fcn.01295580
add esp, 4
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
mov esi, 0xfffffff8
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffca
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffa
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret