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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f7d5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x551644]
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 [esi]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x4bb5d8
xor ebx, ebx
mov edi, dword [esi + 0x54]
mov dword [ebp - 0x24], ebx
test edi, edi
jne 0x4bacc0
xor eax, eax
jmp 0x4bacc3
mov eax, dword [edi + 0x10]
cmp ebx, eax
jge 0x4badd8
cmp ebx, dword [esi + 0x48]
je 0x4badd2
mov edx, dword [esi + 0x4c]
test edx, edx
jne 0x4bacdf
xor eax, eax
jmp 0x4bacf8
test edi, edi
je 0x4bace8
mov ecx, dword [edi + 0xc]
jmp 0x4bacea
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x4bad06
xor ecx, ecx
jmp 0x4bad1b
test edi, edi
je 0x4bad0f
mov eax, dword [edi + 0xc]
jmp 0x4bad11
xor eax, eax
mov ecx, dword [esi + 0x50]
add ecx, ebx
imul ecx, eax
add ecx, edx
push 0
call fcn.0049dbb0
cmp eax, 2
jl 0x4bad2f
mov eax, dword [esi + 0x44]
add eax, ebx
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 0x4c]
test edx, edx
jne 0x4bad3a
xor eax, eax
jmp 0x4bad52
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4bad46
mov ecx, dword [eax + 0xc]
jmp 0x4bad48
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 4]
je 0x4badd2
xor edi, edi
cmp edx, edi
jne 0x4bad64
xor eax, eax
jmp 0x4bad7c
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x4bad70
mov ecx, dword [eax + 0xc]
jmp 0x4bad72
xor ecx, ecx
mov eax, dword [esi + 0x50]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp byte [eax + 0x2c], 0
je 0x4bad99
add eax, 0x30
jmp 0x4bad9c
add eax, 0x24
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
inc ebx
jmp 0x4bacb2
xor ebx, ebx
mov edi, dword [esi + 0x8c]
mov dword [ebp - 0x24], ebx
test edi, edi
jne 0x4badeb
xor eax, eax
jmp 0x4badee
mov eax, dword [edi + 0x10]
cmp ebx, eax
jge 0x4baf2e
cmp ebx, dword [esi + 0x80]
je 0x4baf28
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x4bae10
xor eax, eax
jmp 0x4bae2c
test edi, edi
je 0x4bae19
mov ecx, dword [edi + 0xc]
jmp 0x4bae1b
xor ecx, ecx
mov eax, dword [esi + 0x88]
add eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x4bae3a
xor ecx, ecx
jmp 0x4bae52
test edi, edi
je 0x4bae43
mov eax, dword [edi + 0xc]
jmp 0x4bae45
xor eax, eax
mov ecx, dword [esi + 0x88]
add ecx, ebx
imul ecx, eax
add ecx, edx
push 0
call fcn.0049dbb0
cmp eax, 2
jl 0x4bae76
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x4bae69
xor ecx, ecx
jmp 0x4bae6c
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x44]
add eax, ecx
add eax, ebx
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x4bae84
xor eax, eax
jmp 0x4baea2
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4bae93
mov ecx, dword [eax + 0xc]
jmp 0x4bae95
xor ecx, ecx
mov eax, dword [esi + 0x88]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 4]
je 0x4baf28
xor edi, edi
cmp edx, edi
jne 0x4baeb4
xor eax, eax
jmp 0x4baed2
mov eax, dword [esi + 0x8c]
cmp eax, edi
je 0x4baec3
mov ecx, dword [eax + 0xc]
jmp 0x4baec5
xor ecx, ecx
mov eax, dword [esi + 0x88]
add eax, ebx
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp byte [eax + 0x2c], 0
je 0x4baeef
add eax, 0x30
jmp 0x4baef2
add eax, 0x24
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
inc ebx
jmp 0x4badda
cmp dword [esi + 0x68], 0
je 0x4bb3cb
mov ecx, 0x5537d8
call fcn.00405670
mov ecx, dword [0x552ae0]
cmp dword [ecx], 0
jne 0x4baf51
xor eax, eax
jmp 0x4baf69
cmp dword [ecx + 8], 0
je 0x4baf5f
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0xc]
jmp 0x4baf61
xor edx, edx
mov eax, dword [ecx + 4]
imul eax, edx
add eax, dword [ecx]
cmp dword [eax + 0x2c], 0
jne 0x4bafcc
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4bafcc
mov ebx, dword [esi + 0x78]
jns 0x4bafa1
lea edi, [ebx + 1]
mov dword [esi + 0x78], edi
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x4bafb2
dec eax
mov dword [esi + 0x78], eax
jmp 0x4bafb2
lea eax, [ebx - 1]
mov dword [esi + 0x78], eax
test eax, eax
jns 0x4bafb2
mov dword [esi + 0x78], 0
cmp ebx, dword [esi + 0x78]
je 0x4bb3cb
push 1
mov ecx, esi
call fcn.004a4000
or eax, 0xffffffff
jmp 0x4bbc46
mov dword [ebp - 0x24], 0
mov ebx, dword [esi + 0x70]
test ebx, ebx
jne 0x4bafde
xor eax, eax
jmp 0x4bafe1
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x24], eax
jge 0x4bb3cb
mov edi, dword [esi + 0x78]
test edi, edi
jne 0x4baffa
cmp dword [ebp - 0x24], edi
je 0x4bb11d
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
cmp edi, edx
jne 0x4bb020
cmp dword [ebp - 0x24], 0
jne 0x4bb11d
mov edx, dword [esi + 0x68]
xor edi, edi
cmp edx, edi
jne 0x4bb02d
xor eax, eax
jmp 0x4bb045
cmp ebx, edi
je 0x4bb036
mov ecx, dword [ebx + 0xc]
jmp 0x4bb038
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
xor edi, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
cmp edx, edi
jne 0x4bb053
xor ecx, ecx
jmp 0x4bb069
cmp ebx, edi
je 0x4bb05c
mov eax, dword [ebx + 0xc]
jmp 0x4bb05e
xor eax, eax
mov ecx, dword [esi + 0x6c]
add ecx, dword [ebp - 0x24]
imul ecx, eax
add ecx, edx
push edi
call fcn.0049dbb0
cmp eax, 2
jge 0x4bb125
mov edx, dword [esi + 0x68]
cmp edx, edi
jne 0x4bb083
xor eax, eax
jmp 0x4bb09c
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x4bb08f
mov ecx, dword [eax + 0xc]
jmp 0x4bb091
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 4]
je 0x4bb11d
xor edi, edi
cmp edx, edi
jne 0x4bb0ae
xor eax, eax
jmp 0x4bb0c7
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x4bb0ba
mov ecx, dword [eax + 0xc]
jmp 0x4bb0bc
xor ecx, ecx
mov eax, dword [esi + 0x6c]
add eax, dword [ebp - 0x24]
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp byte [eax + 0x2c], 0
je 0x4bb0e4
add eax, 0x30
jmp 0x4bb0e7
add eax, 0x24
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
inc dword [ebp - 0x24]
jmp 0x4bafd3
cmp dword [ebp - 0x24], edi
jne 0x4bb14c
dec dword [esi + 0x78]
jns 0x4bb16f
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
mov dword [esi + 0x78], ecx
jmp 0x4bb16f
inc dword [esi + 0x78]
mov ecx, dword [esi + 0x5c]
sub ecx, dword [esi + 0x58]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edi, edi
cmp dword [esi + 0x78], eax
jl 0x4bb16f
mov dword [esi + 0x78], edi
push 1
mov ecx, esi
call fcn.004a4000
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452ec
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], edi
cmp dword [0x552af4], edi
jne 0x4bb218
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4bb210
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
jmp 0x4bb212
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x4bb27a
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4bb27a
mov edx, dword [eax + 0x14]
cmp edx, edi
je 0x4bb26e
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bb27c
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bb27c
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, edi
jne 0x4bb287
xor edi, edi
jmp 0x4bb29d
mov ecx, dword [eax + 0x28]
cmp ecx, edi
je 0x4bb293
mov ecx, dword [ecx + 0xc]
jmp 0x4bb295
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ebx, dword [0x553854]
mov ecx, 0x5452c8
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452c8
call eax
mov dword [ebp - 0x14], 1
cmp dword [0x552af0], 0
mov dword [ebp - 4], 2
jne 0x4bb2ff
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4bb2f8
mov ecx, eax
call fcn.00415650
jmp 0x4bb2fa
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov dword [ebp - 4], 0xffffffff
call eax
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x4bb327
xor esi, esi
jmp 0x4bb33d
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4bb333
mov edx, dword [edx + 0xc]
jmp 0x4bb335
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov edi, dword [eax]
test ecx, 0xfffffff8
je 0x4bb3c3
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x4bb361
xor ecx, ecx
jmp 0x4bb377
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4bb36d
mov eax, dword [eax + 0xc]
jmp 0x4bb36f
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
push ebx
call eax
test al, al
je 0x4bb3c3
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x4bb38e
xor ecx, ecx
jmp 0x4bb3a4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4bb39a
mov eax, dword [eax + 0xc]
jmp 0x4bb39c
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push ebx
call eax
test eax, eax
jns 0x4bb3b2
mov eax, edi
mov ecx, dword [esi + 0x24]
push 0
push 0
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00418510
or eax, 0xffffffff
jmp 0x4bbc46
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov dword [ebp - 0x2c], ebx
test eax, eax
jle 0x4bb5d8
mov dword [ebp - 0x24], ebx
test ebx, ebx
js 0x4bb5b2
cmp ebx, eax
jge 0x4bb5b2
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x4bb5b2
mov edx, dword [eax + 8]
test edx, edx
je 0x4bb41d
mov edx, dword [edx + 0xc]
jmp 0x4bb41f
xor edx, edx
mov edi, dword [eax + 4]
imul edi, edx
add edi, ecx
je 0x4bb5b2
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
mov edx, ecx
imul edx, eax
cmp ebx, edx
jl 0x4bb5b2
inc ecx
imul ecx, eax
cmp ebx, ecx
jge 0x4bb5b2
cmp dword [ebp - 0x30], 0xffffffff
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], eax
jne 0x4bb469
push 0
mov ecx, edi
call fcn.0049dbb0
cmp eax, 2
jl 0x4bb469
mov dword [ebp - 0x30], ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x34], eax
je 0x4bb5b2
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp byte [edi + 0x2c], dl
je 0x4bb496
add edi, 0x30
jmp 0x4bb499
add edi, 0x24
mov eax, dword [edi]
mov edi, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
cmp dword [ebp - 0x28], 1
jne 0x4bb5b2
cmp dword [ebp - 0x30], ebx
je 0x4bb5b2
mov ecx, 0x553818
call fcn.004175a0
mov edi, dword [0x552af4]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4bb537
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bb537
mov edx, dword [eax + 0x14]
test edx, edx
je 0x4bb52b
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bb539
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bb539
xor eax, eax
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4bb544
xor ebx, ebx
jmp 0x4bb55a
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4bb550
mov ecx, dword [ecx + 0xc]
jmp 0x4bb552
xor ecx, ecx
mov ebx, dword [eax + 0x24]
imul ebx, ecx
add ebx, edx
mov ecx, dword [0x553858]
mov dword [ebp - 0x28], ecx
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x4bb57e
xor edi, edi
jmp 0x4bb594
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x4bb58a
mov edx, dword [edx + 0xc]
jmp 0x4bb58c
xor edx, edx
mov edi, dword [ecx + 0x28]
imul edi, edx
add edi, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push 1
push ecx
push 1
push edx
mov ecx, edi
call fcn.004ba740
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
add dword [ebp - 0x24], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [ebp - 0x2c], ebx
cmp ebx, eax
jl 0x4bb3f1
mov esi, dword [esi + 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, esi
jl 0x4bb852
sub eax, esi
cmp eax, 4
je 0x4bbc43
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x5452ec
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452ec
call edx
mov dword [ebp - 0x14], 1
xor ebx, ebx
mov dword [ebp - 4], 4
cmp dword [0x552af4], ebx
jne 0x4bb694
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 5
cmp esi, ebx
je 0x4bb68c
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4bb68e
xor esi, esi
mov dword [0x552af4], esi
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x5452ec
mov dword [ebp - 4], 0xffffffff
call edx
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4bb6f5
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x4bb6f5
mov edx, dword [eax + 0x14]
cmp edx, ebx
je 0x4bb6e9
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bb6f7
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bb6f7
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, ebx
jne 0x4bb702
xor edi, edi
jmp 0x4bb718
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x4bb70e
mov ecx, dword [ecx + 0xc]
jmp 0x4bb710
xor ecx, ecx
mov edi, dword [eax + 0x24]
imul edi, ecx
add edi, edx
mov ecx, dword [0x55385c]
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov dword [ebp - 0x28], ecx
mov ecx, 0x5452c8
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452c8
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 6
cmp dword [0x552af0], ebx
jne 0x4bb77c
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x4bb775
mov ecx, eax
call fcn.00415650
jmp 0x4bb777
xor eax, eax
mov dword [0x552af0], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452c8
mov dword [ebp - 4], 0xffffffff
call eax
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x24]
cmp eax, ebx
jne 0x4bb7a4
xor esi, esi
jmp 0x4bb7ba
mov edx, dword [ecx + 0x2c]
cmp edx, ebx
je 0x4bb7b0
mov edx, dword [edx + 0xc]
jmp 0x4bb7b2
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
test edx, 0xfffffff8
je 0x4bbc43
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x4bb7e5
xor ecx, ecx
jmp 0x4bb7fb
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4bb7f1
mov eax, dword [eax + 0xc]
jmp 0x4bb7f3
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edi, dword [ebp - 0x28]
mov edx, dword [eax + 0x58]
push edi
call edx
test al, al
je 0x4bbc43
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x4bb819
xor ecx, ecx
jmp 0x4bb82f
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4bb825
mov eax, dword [eax + 0xc]
jmp 0x4bb827
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
push edi
call edx
cmp eax, ebx
jge 0x4bb83e
mov eax, dword [ebp - 0x34]
push ebx
push ebx
push eax
mov eax, dword [esi + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00418510
jmp 0x4bbc43
xor edi, edi
cmp eax, edi
jl 0x4bbac0
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452ec
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 8
cmp dword [0x552af4], edi
jne 0x4bb900
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 9
cmp esi, edi
je 0x4bb8f8
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
jmp 0x4bb8fa
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x4bb962
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4bb962
mov edx, dword [eax + 0x14]
cmp edx, edi
je 0x4bb956
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bb964
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bb964
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, edi
jne 0x4bb96f
xor ebx, ebx
jmp 0x4bb985
mov ecx, dword [eax + 0x28]
cmp ecx, edi
je 0x4bb97b
mov ecx, dword [ecx + 0xc]
jmp 0x4bb97d
xor ecx, ecx
mov ebx, dword [eax + 0x24]
imul ebx, ecx
add ebx, edx
mov edx, dword [0x553854]
mov eax, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x2c], edx
mov edx, dword [eax]
mov ecx, 0x5452c8
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452c8
call edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xa
cmp dword [0x552af0], edi
jne 0x4bb9e8
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
cmp eax, edi
je 0x4bb9e1
mov ecx, eax
call fcn.00415650
jmp 0x4bb9e3
xor eax, eax
mov dword [0x552af0], eax
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x5452c8
mov dword [ebp - 4], 0xffffffff
call edx
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x24]
cmp eax, edi
jne 0x4bba0f
xor esi, esi
jmp 0x4bba25
mov edx, dword [ecx + 0x2c]
cmp edx, edi
je 0x4bba1b
mov edx, dword [edx + 0xc]
jmp 0x4bba1d
xor edx, edx
mov esi, dword [ecx + 0x28]
imul esi, edx
add esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test ecx, 0xfffffff8
je 0x4bbc43
mov edx, dword [esi + 0x28]
cmp edx, edi
jne 0x4bba50
xor ecx, ecx
jmp 0x4bba66
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x4bba5c
mov eax, dword [eax + 0xc]
jmp 0x4bba5e
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx + 0x58]
push eax
call edx
test al, al
je 0x4bbc43
mov edx, dword [esi + 0x28]
cmp edx, edi
jne 0x4bba84
xor ecx, ecx
jmp 0x4bba9a
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x4bba90
mov eax, dword [eax + 0xc]
jmp 0x4bba92
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x5c]
push ebx
call edx
cmp eax, edi
jge 0x4bbaac
mov eax, dword [ebp - 0x28]
push edi
push edi
push eax
mov eax, dword [esi + 0x24]
push ebx
push eax
mov ecx, esi
call fcn.00418510
jmp 0x4bbc43
cmp eax, 0xfffffffc
jne 0x4bbc43
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x1c], vtable.CCriticalLock.0
mov dword [ebp - 0x18], 0x5452ec
call eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xc
cmp dword [0x552af4], edi
jne 0x4bbb6d
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xd
cmp esi, edi
je 0x4bbb65
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
jmp 0x4bbb67
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x4bbbcf
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4bbbcf
mov edx, dword [eax + 0x14]
cmp edx, edi
je 0x4bbbc3
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x4bbbd1
mov eax, dword [eax + 0x10]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x4bbbd1
xor eax, eax
mov edx, dword [eax + 0x20]
cmp edx, edi
jne 0x4bbbdc
xor ebx, ebx
jmp 0x4bbbf2
mov ecx, dword [eax + 0x28]
cmp ecx, edi
je 0x4bbbe8
mov ecx, dword [ecx + 0xc]
jmp 0x4bbbea
xor ecx, ecx
mov ebx, dword [eax + 0x24]
imul ebx, ecx
add ebx, edx
mov edx, dword [0x553858]
mov ecx, 0x55380c
mov dword [ebp - 0x28], edx
call fcn.004174f0
mov ecx, dword [0x552af0]
mov eax, dword [ecx + 0x24]
cmp eax, edi
jne 0x4bbc16
xor esi, esi
jmp 0x4bbc28
mov edx, dword [ecx + 0x2c]
cmp edx, edi
je 0x4bbc20
mov edi, dword [edx + 0xc]
mov esi, dword [ecx + 0x28]
imul esi, edi
add esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
push 1
push eax
push 1
push ecx
mov ecx, esi
call fcn.004ba740
mov eax, dword [ebp - 0x30]
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.004f4f8b
mov esp, ebp
pop ebp
ret