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

Disassembly:
push 0xffffffffffffffff
push 0x5f6a23
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov edi, ecx
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], eax
je 0x4b0900
push 0x88
call fcn.005e694e
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0xa4], esi
je 0x4b0896
push eax
call fcn.004b0210
mov esi, eax
or ebx, 0xffffffff
mov dword [esp + 0xa4], ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call fcn.004b1ba0
push esi
push esi
call fcn.005ce9b0
add esp, 8
mov dword [esp + 0xa4], 1
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x4b0907
mov dword [esp + 0xa4], ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4b0900
lea ecx, [esi + 4]
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x4b0900
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
lock xadd dword [eax], ebx
jne 0x4b0900
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x4b0e63
lea ecx, [esp + 0x40]
call dword [0x61049c]
mov eax, edi
mov byte [esp + 0xa4], 2
call fcn.004e1e20
mov edi, eax
test edi, edi
je 0x4b0dd8
lea ebx, [ebx]
lea ecx, [esp + 0x40]
push ecx
mov esi, edi
call fcn.004e1ea0
test al, al
je 0x4b0da6
mov eax, edi
lea esi, [esp + 0x5c]
call fcn.004e1d20
push 0x624f68
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 3
call dword [0x610498]
lea eax, [esp + 0x24]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b099e
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0991
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
mov dword [ebp], eax
push str.Type
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b09eb
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b09dc
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 4], eax
jmp 0x4b0d91
push 0x625440
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0a2d
lea edx, [esp + 0x40]
push edx
lea ecx, [ebp + 8]
call dword [0x61059c]
jmp 0x4b0d94
push str.Size
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0a7d
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0a6b
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], edx
jmp 0x4b0d91
push 0x625424
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0b6c
cmp dword [esp + 0x54], 0
je 0x4b0d94
push 0
push 0x2a
lea ecx, [esp + 0x48]
call dword [0x610540]
mov esi, eax
mov eax, dword [0x610548]
cmp esi, dword [eax]
je 0x4b0d94
push esi
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call dword [0x61053c]
push 0xffffffffffffffff
add esi, 1
push esi
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 4
call dword [0x61053c]
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x4b0b1d
lea eax, [esp + 0x28]
push 0
call fcn.004ce080
mov dword [ebp + 0x48], eax
mov eax, dword [esp + 0x80]
add esp, 4
cmp dword [esp + 0x90], esi
jae 0x4b0b3e
lea eax, [esp + 0x7c]
push 0
call fcn.004ce080
add esp, 4
lea ecx, [esp + 0x78]
mov dword [ebp + 0x4c], eax
call dword [0x6105a0]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 3
call dword [0x6105a0]
jmp 0x4b0d94
push str.MaxTime
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0bb9
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0baa
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 0x50], eax
jmp 0x4b0d91
push str.BeginTime
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0c06
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0bf7
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 0x54], eax
jmp 0x4b0d91
push str.Action
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0c53
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0c44
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 0x58], eax
jmp 0x4b0d91
push str.Target
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0c95
lea eax, [esp + 0x40]
push eax
lea ecx, [ebp + 0x5c]
call dword [0x61059c]
jmp 0x4b0d94
push str.Quick
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0cf8
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0cd3
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
add esp, 4
or eax, edx
je 0x4b0cee
mov eax, 1
mov byte [ebp + 0x78], al
jmp 0x4b0d94
xor eax, eax
mov byte [ebp + 0x78], al
jmp 0x4b0d94
push str.MaxCount
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0d40
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0d36
lea eax, [esp + 0x44]
call fcn.004ce0f0
mov dword [ebp + 0x7c], eax
jmp 0x4b0d94
push 0x6259bc
lea ecx, [esp + 0x28]
call dword [0x610498]
lea eax, [esp + 0x24]
lea esi, [esp + 0x5c]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4b0d94
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x4b0d7e
lea eax, [esp + 0x44]
push 0
call fcn.004ce080
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], edx
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 2
call dword [0x6105a0]
test edi, edi
je 0x4b0dd5
mov esi, dword [edi + 0x28]
test esi, esi
je 0x4b0dc9
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x4b0e8d
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x4b0db1
xor eax, eax
test eax, eax
mov edi, eax
jne 0x4b0930
or ebx, 0xffffffff
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.004b02a0
push eax
lea ecx, [ebp + 0x24]
mov byte [esp + 0xa8], 5
call dword [0x61059c]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 2
call dword [0x6105a0]
mov edi, dword [esp + 0x20]
add edi, 0x80
lea eax, [esp + 0x18]
call fcn.0049fb80
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 1
call dword [0x6105a0]
mov dword [esp + 0xa4], ebx
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4b0e61
lea edx, [esi + 4]
mov eax, ebx
lock xadd dword [edx], eax
jne 0x4b0e61
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
lock xadd dword [ecx], ebx
jne 0x4b0e61
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov al, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005e693f
add esp, 0x94
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x4b0dcb