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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, ecx
lea ebx, [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ecx + 0xc]
mov ecx, edi
call fcn.005cca60
xor eax, eax
cmp dword [esi + 0x3c], 0
mov edx, 0
mov ecx, 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], esi
je 0x4b1d5a
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
cmp dword [ebx], 0
mov edx, ebx
je 0x4b1ce9
movzx eax, word [edx + 4]
test eax, eax
je 0x4b1ce9
mov dword [ebp - 0x30], edi
movzx ecx, byte [edx + 6]
mov dword [ebp - 0x24], ecx
add dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
mov edi, edx
call fcn.0054ae20
mov ebx, eax
cmp byte [esi + 0x78], 1
jne 0x4b1ca9
mov eax, dword [edi]
movzx eax, word [eax + 6]
bt eax, 0xc
jb 0x4b1d46
mov dword [ebp - 0x3c], esp
add esi, 0x14
sub esp, 8
mov ecx, esp
push edi
call fcn.005c1730
mov ecx, esi
call fcn.004b2040
mov esp, dword [ebp - 0x3c]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 8], ecx
mov ecx, eax
or ecx, 6
mov dword [ebx + 0x28], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
or eax, 0xe
mov dword [ebx + 0x28], eax
mov edx, edi
mov edi, dword [ebp - 0x30]
mov esi, dword [edx + 0x10]
mov eax, dword [esi]
mov bl, 1
test eax, eax
je 0x4b1e19
xor edx, edx
cmp byte [eax + 0xa], 0
je 0x4b1dc8
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
movsd xmm0, qword [eax + 4]
movsd qword [ebp - 0x1c], xmm0
mov ecx, dword [eax]
mov dword [esi], ecx
push eax
call fcn.006507ee
add esp, 4
cmp dword [esi], 0
jne 0x4b1d2c
mov dword [esi + 4], esi
lea eax, [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
test eax, eax
mov ecx, dword [ebp - 0x20]
jne 0x4b1dd1
xor eax, eax
jmp 0x4b1dda
lea ecx, [esi + 0x14]
lea esi, [ebp - 0x1c]
push edi
push esi
call fcn.004b1b50
mov eax, dword [esi]
jmp 0x4b1cc4
push 0x38
call fcn.006507be
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.0054ad40
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x3c], esi
mov esi, dword [ebp - 0x20]
test ecx, ecx
jne 0x4b1f1e
cmp byte [esi + 0x59], 1
jne 0x4b1db6
cmp byte [esi + 0x7a], 0
jne 0x4b1db6
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
test edx, edx
je 0x4b1da4
lock inc dword [edx + 4]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x74]
mov byte [esi + 0x7a], 1
jmp 0x4b1c62
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x28], 0
jmp 0x4b1c62
test edx, edx
je 0x4b1e19
jmp 0x4b1fb8
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0x1c]
sete al
cmp byte [ecx + 0x78], 1
jne 0x4b1f2a
lea edx, [ebp + 8]
movzx edx, word [edx + 8]
movzx eax, al
push eax
lea eax, [ebp - 0x1c]
push eax
push edx
call fcn.004b2090
lea ecx, [ebp + 8]
test al, al
je 0x4b1f2a
mov edx, dword [ebp - 0x24]
mov esi, dword [ecx + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x4b1cfa
test edx, edx
sete bl
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0x59], 1
mov esi, dword [ebp - 0x28]
jne 0x4b1e3b
test bl, bl
je 0x4b1ec3
mov eax, dword [ecx + 0x18]
shr eax, 1
cmp dword [ecx + 0x40], eax
jae 0x4b1ec3
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
call fcn.005cca80
test esi, esi
jne 0x4b1e72
test ebx, ebx
jne 0x4b1e61
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x4b1e4d
jmp 0x4b1fcf
mov edi, esi
mov dword [ebp - 0x20], esp
sub esp, 0x18
mov esi, esp
test ebx, ebx
je 0x4b1e84
lock inc dword [ebx + 4]
mov dword [esi + 0xc], 0x4b21f0
mov dword [esi + 0x10], 0x73a3fc
push 8
call fcn.006507be
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7a29f4]
mov ecx, edi
call esi
mov esp, dword [ebp - 0x20]
jmp 0x4b1e49
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x38], eax
mov ebx, dword [ecx + 0x8c]
test ebx, ebx
je 0x4b1eda
lock inc dword [ebx + 4]
cmp dword [ebp - 0x2c], 0
je 0x4b1f0c
xor eax, eax
dec eax
mov ecx, dword [ebp - 0x2c]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4b1f0c
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
call dword [0x7a29f4]
mov ecx, esi
call dword [ebp - 0x28]
mov ecx, esi
call fcn.005cca20
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x34], 0
jmp 0x4b1e3e
push 1
call fcn.0054af40
jmp 0x4b1d84
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], 0
je 0x4b1f3e
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc], esi
je 0x4b1f72
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.006c0f20
mov edi, eax
lea edx, [ebp + 8]
movzx eax, word [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc], esi
mov ecx, eax
or ecx, 0xc
mov dword [edi + 0x2c], ecx
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
or eax, 0xe
mov dword [ebp - 0x24], edi
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp - 0x24]
call fcn.006c1480
movzx ecx, word [ebp - 0x18]
mov dword [eax + 4], ecx
or byte [eax + 0x20], 2
cmp byte [eax + 0x13], 0
js 0x4b1fac
mov ecx, eax
add ecx, 8
mov byte [eax + 0x13], 4
mov edx, dword [ebp - 0x16]
mov dword [ecx], edx
mov byte [ecx + 4], 0
or byte [eax + 0x20], 4
mov edi, dword [ebp - 0x30]
lea ecx, [ebp + 8]
jmp 0x4b1e04
mov dword [eax + 0xc], 4
mov ecx, dword [eax + 8]
jmp 0x4b1f94
mov eax, dword [eax + 4]
cmp eax, dword [edx + 0xc]
jne 0x4b1fc8
mov byte [edx + 0x1c], 1
or byte [edx + 0x2c], 0x20
xor ebx, ebx
jmp 0x4b1e19
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x7a29f4]
mov ecx, ebx
call esi
mov ecx, ebx
call fcn.005cca20
jmp 0x4b1e4d