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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f0
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x10ec]
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1fc], ebx
je 0x48234f
cmp dword [ebp + 0x13c], ebx
je 0x48234f
call fcn.0044aa90
mov edi, eax
cmp edi, ebx
jbe 0x48234f
push ebx
push ebx
push ebx
lea ecx, [esp + 0xfc]
call fcn.004998c0
push str.ss_actions
call fcn.004fe730
push str.ss_statustext
call fcn.004fe730
add esp, 8
push 1
push 0x3e4ccccd
push 1
push 1
sub esp, 0x10
or eax, 0xffffffff
mov esi, esp
mov dword [esi], eax
or ecx, 0xffffffff
mov dword [esi + 4], ecx
or edx, 0xffffffff
mov dword [esi + 8], edx
or eax, 0xffffffff
mov ecx, ebp
mov dword [esi + 0xc], eax
call fcn.00506ef0
mov al, byte [ebp + 0x220]
cmp al, bl
mov byte [ebp + 0x1171], al
jne 0x481453
mov ecx, ebp
call fcn.004798d0
mov ecx, dword [ebp + 0x13c]
mov eax, dword [ecx]
push ebx
lea edx, [esp + 0xe4]
push edx
call dword [eax + 0x30]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0xe0]
sub ecx, edx
push ebx
lea edx, [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
call fcn.004999c0
push eax
lea ecx, [esp + 0xf4]
call fcn.00499b00
lea ecx, [esp + 0x48]
call fcn.00499ac0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xe4]
push ecx
mov ecx, ebp
call fcn.0050a7d0
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
push edx
push eax
push str.Screen_area:__d__d_n
call fcn.004d6c50
mov ecx, dword [ebp + 0x10ec]
add esp, 0xc
call fcn.0044ab30
mov esi, eax
push ebx
lea ecx, [esi + edi]
push ebx
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x1a8]
call fcn.004998c0
mov edx, dword [0x6609a0]
mov eax, dword [0x6609a4]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x178]
mov byte [esp + 0x124], bl
mov byte [esp + 0x125], bl
mov byte [esp + 0x126], bl
mov byte [esp + 0x127], bl
mov byte [esp + 0x128], bl
mov byte [esp + 0x129], bl
mov byte [esp + 0x12a], bl
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0x3f800000
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0xbf800000
mov dword [esp + 0x14c], 0xbf800000
mov dword [esp + 0x150], 0xbf800000
mov dword [esp + 0x154], 0xbf800000
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
call fcn.004998c0
xor edx, edx
mov eax, esi
div edi
lea ecx, [ebp + 0x608]
push edx
call fcn.00451520
push ebx
push ebx
lea ecx, [esp + 0x1a4]
push ecx
lea edx, [esp + 0x124]
push edx
push eax
lea ecx, [ebp + 0x228]
call fcn.0045f6e0
mov dword [ebp + 0x1174], eax
cmp byte [esp + 0x11b], bl
je 0x481642
mov ecx, dword [esp + 0x10]
mov eax, esi
inc esi
cmp eax, ecx
jb 0x4815f8
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
push 1
push ecx
push edx
lea ecx, [esp + 0x1e0]
call fcn.004998c0
sub esp, 0x10
mov edi, esp
or eax, 0xffffffff
mov dword [edi], eax
or ecx, 0xffffffff
mov dword [edi + 4], ecx
or edx, 0xffffffff
mov dword [edi + 8], edx
or esi, 0xffffffff
push 0xff000000
lea ecx, [esp + 0x1e8]
mov dword [edi + 0xc], esi
call fcn.00499ef0
cmp dword [esp + 0x1ac], ebx
je 0x48180e
mov eax, dword [esp + 0x1a4]
mov edx, dword [esp + 0xf8]
cmp eax, edx
mov esi, dword [esp + 0xfc]
mov ecx, dword [esp + 0x1a8]
jae 0x4816c0
cmp ecx, esi
jb 0x4816ca
cmp eax, edx
ja 0x4816ca
cmp ecx, esi
jbe 0x48177d
push 0xffffffffffffffff
lea ecx, [esp + 0x4c]
call fcn.00495350
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
push ebx
lea edx, [esp + 0x1a0]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004963b0
lea ecx, [esp + 0xa0]
call fcn.004996f0
lea ecx, [esp + 0x98]
call fcn.004996f0
lea ecx, [esp + 0x90]
call fcn.00453480
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x481742
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x8c]
and eax, 1
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
call fcn.004996f0
lea ecx, [esp + 0x78]
call fcn.004996f0
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1e0]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x1cc]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004a9bf0
mov ecx, dword [esp + 0x1d4]
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x1c4], ecx
or ecx, 0xffffffff
push ecx
mov dword [esp + 0x1c4], eax
mov edi, esp
or eax, 0xffffffff
mov dword [edi], eax
mov dword [edi + 4], ecx
or edx, 0xffffffff
mov dword [edi + 8], edx
lea edx, [esp + 0x1ac]
or esi, 0xffffffff
push edx
lea ecx, [esp + 0x1e8]
mov dword [edi + 0xc], esi
call fcn.0049b200
jmp 0x481818
mov dword [ebp + 0x1174], 0xffffffff
push 0x2e0
call fcn.004a1180
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x481a0f
fld qword [0x6609b8]
mov ecx, esi
fstp dword [esp + 0x10]
call fcn.004d9a30
lea eax, [esp + 0xf0]
push eax
lea ecx, [esi + 0x268]
mov dword [esi + method.CDownloader.virtual_8], vtable.ITransitionNode.0
call fcn.00499ad0
lea ecx, [esp + 0x1d4]
push ecx
lea ecx, [esi + 0x290]
call fcn.00499ad0
mov edx, dword [esp + 0x10]
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2cc], ebx
mov byte [esi + 0x2b8], bl
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2d4], edx
mov dword [esi + 0x2d0], 0xbf800000
mov byte [esi + 0x2d8], bl
mov dword [esi + 0x2dc], 2
mov dword [esi], vtable.ytTransitionNode.1.0
mov dword [esi + method.ytTransitionNode.virtual_0], vtable.ytTransitionNode.0
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
lea edx, [esp + 0x18]
mov dword [esp + 0x24], ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
call fcn.00482360
or ecx, 0xffffffff
xor eax, eax
mov edi, str.ss_transnode
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ss_transnode
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.0049d9d0
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004fdb60
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x48197b
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x48197b
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x48196a
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x481965
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x48196a
mov eax, 0xff
cmp eax, ebx
jne 0x48197b
mov eax, dword [esp + 0x14]
push eax
call fcn.00499410
add esp, 4
mov ecx, dword [ebp + 0x13c]
push esi
call fcn.004db500
mov edi, dword [esi + 0x264]
push 0xbf800000
call fcn.004a99d0
sub esp, 8
lea ecx, [esi + 0x264]
fstp qword [esp]
call dword [edi]
push 0x20
call fcn.00489377
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x481a05
call fcn.004a99d0
fadd qword [0x6609c0]
mov ecx, dword [0x6609c0]
mov edx, dword [0x6609c4]
fadd qword [0x6609b8]
mov dword [esp + 0x18], ecx
mov ecx, edi
mov dword [esp + 0x1c], edx
fstp qword [esp + 0x34]
call fcn.004ccfa0
mov eax, dword [esp + 0x18]
fld qword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
fstp dword [edi + 0x18]
mov dword [edi + 8], ebp
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi], vtable.SlideshowTransitionHandler.0
jmp 0x481a07
xor edi, edi
push edi
mov ecx, esi
call fcn.004e0ba0
push str.ss_sscaption
call fcn.004fe0a0
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x4820e6
push 0x348
call fcn.004a1180
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x481a9c
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x6b6e10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6b6e10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.0049d9d0
push 1
push 0xc
push str.Arial
sub esp, 0x10
mov edi, esp
or eax, 0xffffffff
mov dword [edi], eax
or ecx, 0xffffffff
mov dword [edi + 4], ecx
or edx, 0xffffffff
mov dword [edi + 8], edx
push ebx
lea edx, [esp + 0x34]
or esi, 0xffffffff
push edx
mov ecx, ebp
mov dword [esp + 0x220], 1
mov dword [edi + 0xc], esi
call fcn.004484e0
mov ebp, eax
jmp 0x481a9e
xor ebp, ebp
test byte [esp + 0x1fc], 1
je 0x481b0b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x481b07
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x481b07
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x481af6
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x481af1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x481af6
mov eax, 0xff
cmp eax, ebx
jne 0x481b07
mov eax, dword [esp + 0x14]
push eax
call fcn.00499410
add esp, 4
mov dword [esp + 0x14], ebx
or ecx, 0xffffffff
xor eax, eax
mov edi, str.ss_sscaption
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ss_sscaption
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0049d9d0
cmp ebp, ebx
je 0x481b36
lea eax, [ebp + 4]
jmp 0x481b38
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004fdb60
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, ebx
je 0x481ba3
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x481ba3
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x481b92
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x481b8d
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x481b92
mov eax, 0xff
cmp eax, ebx
jne 0x481ba3
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00499410
add esp, 4
mov edx, dword [ebp]
push 0x1c
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esp + 0x48]
call fcn.00440e30
lea ecx, [esp + 0x54]
call fcn.00440e30
lea ecx, [esp + 0x60]
call fcn.00440e30
lea ecx, [esp + 0x6c]
call fcn.00440e30
lea ecx, [esp + 0x78]
call fcn.00440e30
lea ecx, [esp + 0x84]
call fcn.00440e30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x3f000000
mov dword [esp + 0x14], 0x3f000000
mov byte [esp + 0x95], 1
mov byte [esp + 0x94], bl
call fcn.00440e40
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00440e40
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x64]
call fcn.00440e40
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x70]
call fcn.00440e40
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x38], 0
call fcn.00440e40
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x1c], 0
call fcn.00440e40
lea eax, [esp + 0x48]
lea edi, [ebp + 4]
push eax
mov ecx, edi
call fcn.004db120
lea ecx, [esp + 0x48]
call fcn.00440e30
lea ecx, [esp + 0x54]
call fcn.00440e30
lea ecx, [esp + 0x60]
call fcn.00440e30
lea ecx, [esp + 0x6c]
call fcn.00440e30
lea ecx, [esp + 0x78]
call fcn.00440e30
lea ecx, [esp + 0x84]
call fcn.00440e30
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0xc2c80000
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
mov byte [esp + 0x95], 1
mov byte [esp + 0x94], bl
call fcn.00440e40
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x58]
call fcn.00440e40
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.00440e40
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x70]
call fcn.00440e40
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], 0
call fcn.00440e40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], 0
call fcn.00440e40
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.004db2d0
mov edx, dword [ebp]
push str.Tahoma
mov ecx, ebp
call dword [edx]
mov eax, dword [ebp]
push 0x16
mov ecx, ebp
call dword [eax + 4]
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x28]
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x34]
mov edx, dword [ebp]
push 0xffffffffffffffff
mov ecx, ebp
call dword [edx + 0xc]
push 0x2a4
call fcn.004a1180
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x481e1d
sub esp, 0x10
or eax, 0xffffffff
mov edx, esp
mov dword [edx], eax
or ecx, 0xffffffff
mov dword [edx + 4], ecx
or eax, 0xffffffff
mov dword [edx + 8], eax
or eax, 0xffffffff
push 0xaf375257
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.00446e10
mov eax, 0x1a
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], eax
or eax, 0xffffffff
mov dword [esi + 0x28c], 0x10
mov dword [esi + 0x290], 0x18
mov dword [esi + 0x294], eax
mov dword [esi + 0x298], eax
mov dword [esi + 0x29c], eax
mov dword [esi + 0x2a0], eax
mov dword [esi], vtable.ytVectorHighlightNode.0
jmp 0x481e1f
xor esi, esi
push esi
mov ecx, edi
call fcn.004db500
cmp byte [esi + 0x215], 1
mov eax, 7
je 0x481e38
or dword [esi + 8], eax
mov edi, dword [esi + 8]
or edi, eax
push 1
mov ecx, esi
mov byte [esi + 0x215], 1
mov dword [esi + 0x27c], ebx
mov dword [esi + 8], edi
call fcn.004db0e0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x50], bl
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
call fcn.00440e30
lea ecx, [esp + 0x78]
call fcn.00440e30
lea ecx, [esp + 0x84]
call fcn.00440e30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0x3f000000
mov dword [esp + 0x1c], 0x3f000000
mov byte [esp + 0x95], 1
mov byte [esp + 0x94], bl
call fcn.00440e40
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
call fcn.00440e40
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x64]
call fcn.00440e40
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
call fcn.00440e40
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], 0
call fcn.00440e40
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], 0
call fcn.00440e40
lea eax, [esp + 0x54]
push eax
lea ecx, [esi + 0x18]
call fcn.00445bb0
test al, al
je 0x481f79
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esi + 0x24]
call fcn.00445bb0
test al, al
je 0x481f79
lea edx, [esp + 0x48]
push edx
lea ecx, [esi + 0xc]
call fcn.00445bb0
test al, al
je 0x481f79
mov al, byte [esi + 0x55]
cmp al, byte [esp + 0x91]
je 0x481f8a
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0xc]
call fcn.00441060
or dword [esi + 8], 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x50], bl
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], ebx
call fcn.00440e30
lea ecx, [esp + 0x84]
call fcn.00440e30
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0x3f000000
mov dword [esp + 0x1c], 0x3f000000
mov byte [esp + 0x95], 1
mov byte [esp + 0x94], bl
call fcn.00440e40
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call fcn.00440e40
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
call fcn.00440e40
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x70]
call fcn.00440e40
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], 0
call fcn.00440e40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], 0
call fcn.00440e40
lea edx, [esp + 0x54]
push edx
lea ecx, [esi + 0xb0]
call fcn.00445bb0
test al, al
je 0x4820c0
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0xbc]
call fcn.00445bb0
test al, al
je 0x4820c0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0xa4]
call fcn.00445bb0
test al, al
je 0x4820c0
mov dl, byte [esi + 0xed]
cmp dl, byte [esp + 0x91]
je 0x4820d4
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0xa4]
call fcn.00441060
or dword [esi + 8], 1
mov ecx, dword [esp + 0x44]
add ecx, 0x1bdc
push ecx
mov ecx, ebp
call fcn.00510650
mov esi, dword [esp + 0x44]
mov ecx, dword [esi + 0x13c]
add ebp, 4
push ebp
call fcn.004db500
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x6c]
push ebx
call fcn.004c7af0
add esp, 4
lea ecx, [esp + 0x1d4]
mov byte [esi + 0x1170], 1
call fcn.00499ac0
lea ecx, [esp + 0x16c]
call fcn.00499ac0
mov eax, dword [esp + 0x168]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x482190
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482190
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x48217c
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482177
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x48217c
mov eax, 0xff
cmp eax, ebx
jne 0x482190
mov eax, dword [esp + 0x168]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x164]
cmp eax, ebx
mov dword [esp + 0x168], ebx
je 0x4821f8
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x4821f8
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x4821e4
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4821df
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4821e4
mov eax, 0xff
cmp eax, ebx
jne 0x4821f8
mov eax, dword [esp + 0x164]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x160]
cmp eax, ebx
mov dword [esp + 0x164], ebx
je 0x482260
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482260
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x48224c
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482247
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x48224c
mov eax, 0xff
cmp eax, ebx
jne 0x482260
mov eax, dword [esp + 0x160]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x15c]
cmp eax, ebx
mov dword [esp + 0x160], ebx
je 0x4822c8
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x4822c8
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x4822b4
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4822af
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4822b4
mov eax, 0xff
cmp eax, ebx
jne 0x4822c8
mov eax, dword [esp + 0x15c]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x158]
cmp eax, ebx
mov dword [esp + 0x15c], ebx
je 0x482330
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x482330
push eax
call edi
and eax, 0xff
cmp eax, 0x7f
jne 0x48231c
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x482317
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x48231c
mov eax, 0xff
cmp eax, ebx
jne 0x482330
mov eax, dword [esp + 0x158]
push eax
call fcn.00499410
add esp, 4
lea ecx, [esp + 0x19c]
mov dword [esp + 0x158], ebx
call fcn.00499ac0
lea ecx, [esp + 0xf0]
call fcn.00499ac0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret