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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6021ef
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
add eax, 0x7c
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0048e170
xor edi, edi
mov dword [esp + 0x158], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x158], 4
lea edx, [esp + 0x44]
lea eax, [esp + 0x64]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x54]
mov dword [esp + 0x88], eax
mov eax, dword [edx]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x34]
lea esi, [esp + 0x74]
mov ebx, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
jmp 0x4b69b0
cmp esi, edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
je 0x4b69c7
lea ecx, [esp + 0x74]
cmp esi, ecx
je 0x4b69cd
call dword [0x6105e8]
cmp ebx, dword [esp + 0x94]
je 0x4b6b82
cmp esi, edi
jne 0x4b69e4
call dword [0x6105e8]
cmp ebx, dword [esi + 4]
jne 0x4b69ef
call dword [0x6105e8]
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x4b6b6c
cmp byte [eax + 0x20], 0
je 0x4b6b6c
cmp ebx, dword [esi + 4]
jne 0x4b6a0f
call dword [0x6105e8]
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x4b6b6c
movzx ecx, word [eax + 0x22]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp bl, 1
jb 0x4b6b6c
cmp bl, 4
ja 0x4b6b6c
push 0x18
call fcn.005e694e
add esp, 4
cmp eax, edi
je 0x4b6a5d
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov byte [eax + 0x10], 0
mov esi, eax
jmp 0x4b6a5f
xor esi, esi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], esi
call fcn.004acce0
push esi
push esi
call fcn.005ce9b0
add esp, 8
mov byte [esp + 0x158], 5
mov esi, dword [esp + 0x2c]
cmp esi, edi
jne 0x4b6ae3
mov byte [esp + 0x158], 4
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x4b6b6c
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4b6b6c
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b6b6c
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea esi, [esp + 0x10]
call fcn.004492e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x4b69b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
jne 0x4b6afa
call dword [0x6105e8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov ecx, dword [edx]
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
cmp eax, dword [edx + 4]
jne 0x4b6b14
call dword [0x6105e8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x68]
movzx edx, bl
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov edi, dword [esp + edx*4 + 0x7c]
lea eax, [esp + 0x2c]
call fcn.0049fb80
mov byte [esp + 0x158], 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4b6b6a
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b6b6a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b6b6a
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor edi, edi
lea esi, [esp + 0x10]
call fcn.004492e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x4b69b0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x158], 6
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + eax*4 + 0x80]
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x4b6bb3
call dword [0x6105e8]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4b6bc1
call dword [0x6105e8]
cmp esi, esi
je 0x4b6bcb
call dword [0x6105e8]
mov ecx, ebx
sub ecx, edi
push 0x4ac330
sar ecx, 3
push ecx
push ebx
push edi
call fcn.004acd70
mov ecx, dword [esi + 4]
add esp, 0x10
test ecx, ecx
jne 0x4b6bef
xor eax, eax
mov ebx, eax
jmp 0x4b6c05
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp eax, 0xa
jge 0x4b6c00
mov ebx, eax
jmp 0x4b6c05
mov ebx, 0xa
mov edi, ecx
cmp edi, dword [esi + 8]
jbe 0x4b6c12
call dword [0x6105e8]
lea edi, [edi + ebx*8]
cmp edi, dword [esi + 8]
mov dword [esp + 0x10], edi
ja 0x4b6c23
cmp edi, dword [esi + 4]
jae 0x4b6c29
call dword [0x6105e8]
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x4b6c37
call dword [0x6105e8]
cmp ebx, edi
je 0x4b6c54
jmp 0x4b6c40
mov eax, ebx
lea edi, [esp + 0x1c]
call fcn.0049fb80
add ebx, 8
cmp ebx, dword [esp + 0x10]
jne 0x4b6c40
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x4b6c62
call dword [0x6105e8]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4b6c70
call dword [0x6105e8]
push ebx
push esi
push edi
push esi
lea edx, [esp + 0xa0]
push edx
push esi
call fcn.005238c0
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, 4
mov dword [esp + 0x2c], eax
jb 0x4b6b9a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x4b6cb1
mov edx, ecx
sub edx, eax
sar edx, 3
jne 0x4b6ddc
cmp eax, edi
mov byte [esp + 0x158], 4
je 0x4b6cd5
mov edx, dword [esp + 0x10]
push edx
push ecx
call fcn.00449a40
mov eax, dword [esp + 0x28]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 3
mov eax, dword [esp + 0x38]
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x4b6d0d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x40]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 2
mov eax, dword [esp + 0x68]
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x4b6d45
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x70]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 1
mov eax, dword [esp + 0x48]
cmp eax, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
je 0x4b6d7d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x50]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 0
mov eax, dword [esp + 0x58]
cmp eax, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x4b6db5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x60]
push eax
call fcn.005e6954
add esp, 0xc
lea eax, [esp + 0x74]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x158], 0xffffffff
call fcn.0048e2e0
xor al, al
jmp 0x4b700c
xor esi, esi
mov edi, edi
cmp eax, edi
je 0x4b6e32
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jae 0x4b6e32
push edi
call dword [0x6105ec]
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
mov ebx, edx
je 0x4b6e10
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jb 0x4b6e1a
call dword [0x6105e8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + esi*8]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esi, 1
xor edi, edi
jmp 0x4b6de0
lea ecx, [esp + 0x98]
call fcn.004058f0
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0xb8]
mov bl, 7
push edx
mov byte [esp + 0x160], bl
call fcn.00520e10
mov dword [esp + 0xb4], 0x6258d8
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], edi
sub esp, 0x10
mov byte [esp + 0x168], 9
mov eax, esp
mov dword [esp + 0x20], esp
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.004b5f20
lea ecx, [esp + 0xc4]
call fcn.004ac2b0
lea ecx, [esp + 0xb4]
call fcn.004abbd0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1b], al
mov byte [esp + 0x158], bl
call fcn.004ab980
lea ecx, [esp + 0x98]
mov byte [esp + 0x158], 6
call dword [0x6105a0]
mov byte [esp + 0x158], 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4b6f08
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push edx
push ecx
call fcn.00449a40
mov edx, dword [esp + 0x28]
push edx
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 3
mov eax, dword [esp + 0x38]
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x4b6f40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x40]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 2
mov eax, dword [esp + 0x68]
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x4b6f78
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x70]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 1
mov eax, dword [esp + 0x48]
cmp eax, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
je 0x4b6fb0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x50]
push eax
call fcn.005e6954
add esp, 0xc
mov byte [esp + 0x158], 0
mov eax, dword [esp + 0x58]
cmp eax, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x4b6fe8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
push ecx
push edx
call fcn.00449a40
mov eax, dword [esp + 0x60]
push eax
call fcn.005e6954
add esp, 0xc
lea eax, [esp + 0x74]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x158], 0xffffffff
call fcn.0048e2e0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret