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

Disassembly:
push 0xffffffffffffffff
push 0x4963d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00406750
mov esi, eax
lea eax, [esp + 0x5c]
push eax
add esi, 0x2a0
mov dword [esp + 0x58], vtable.cTimer.0
call dword [0x4ef098]
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x58], vtable.cTimerStatus.0
mov dword [esp + 0x68], esi
call dword [0x4ef5c4]
add esp, 4
mov eax, dword [ebx + 0x64]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x74], ebp
je 0x45b88e
push eax
call fcn.004750a4
add esp, 4
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], ebp
mov eax, dword [ebx + 0x80]
cmp eax, ebp
je 0x45b8aa
push eax
call fcn.004750a4
add esp, 4
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x88], ebp
mov eax, dword [ebx + 0x90]
cmp eax, ebp
je 0x45b8cf
push eax
call fcn.004750a4
add esp, 4
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x90], ebp
mov dword [ebx + 0x94], ebp
mov dword [ebx + 0x98], ebp
call fcn.0042de10
lea esi, [ebx + 0xa0]
mov edi, 0xa
mov eax, dword [esi]
cmp eax, ebp
je 0x45b906
mov ecx, eax
mov eax, dword [esp + 0x7c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x2c]
add esi, 4
dec edi
jne 0x45b8f4
call fcn.00446f60
mov esi, dword [eax + 0xb30]
cmp esi, ebp
jne 0x45b921
mov esi, dword [0x560d4c]
call fcn.0043e6d2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0xd0]
test al, al
je 0x45b94d
call fcn.0043e6d2
mov ecx, dword [esi + 0x34]
mov cl, byte [ecx + 0x18]
movsx ecx, cl
push ecx
jmp 0x45b954
call fcn.0043e6d2
push 0xffffffffffffffff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
call fcn.0043e6d2
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x24]
lea ecx, [esp + 0x20]
call fcn.00458a10
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
mov eax, 0x320
mov ecx, 0x258
mov byte [esp + 0x74], 1
mov esi, eax
mov edi, ecx
call fcn.0043e6d2
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esi, ecx
add edi, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edi
call fcn.00406750
lea edx, [esp + 0x44]
mov esi, eax
push edx
add esi, 0x358
mov dword [esp + 0x40], vtable.cTimer.0
call dword [0x4ef098]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x40], vtable.cTimerStatus.0
mov dword [esp + 0x50], esi
call dword [0x4ef5c4]
add esp, 4
mov eax, dword [ebx + 0xf8]
mov ecx, dword [eax]
cmp ecx, eax
mov byte [esp + 0x74], 2
mov dword [esp + 0x10], ecx
je 0x45bbce
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0xc]
call fcn.00446f60
mov eax, dword [eax + 0xb30]
test eax, eax
jne 0x45ba2b
mov eax, dword [0x560d4c]
cmp edi, eax
je 0x45ba40
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.0044d5d0
mov eax, dword [edi + 0x14]
push 0
push 0x542ba4
push 0x542b90
push 0
push eax
call fcn.00475642
mov esi, eax
add esp, 0x14
test esi, esi
mov dword [esp + 0x18], esi
je 0x45bbb8
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
test eax, eax
je 0x45bbb8
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x24]
call dword [eax + 0x28]
test al, al
je 0x45badc
mov ecx, dword [ebx + 0x80]
test ecx, ecx
mov ebp, dword [edi + 0x14]
lea esi, [ebx + 0x7c]
mov dword [esp + 0x14], ebp
jne 0x45baa8
xor edx, edx
jmp 0x45bab0
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x45bad0
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x45bad0
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x45bb5b
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
jmp 0x45bb53
mov edx, dword [edi + 0x34]
test dword [edx + 0x1c], 0x10000000
je 0x45bb0f
mov esi, dword [0x560d4c]
call fcn.00446f60
cmp edi, esi
je 0x45bb0f
mov esi, dword [0x560d4c]
call fcn.00446f60
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x1c8]
test ecx, ecx
je 0x45bb5b
mov ecx, dword [ebx + 0x64]
test ecx, ecx
mov ebp, dword [edi + 0x14]
lea edx, [ebx + 0x60]
mov dword [esp + 0x14], ebp
jne 0x45bb24
xor esi, esi
jmp 0x45bb2c
mov esi, dword [edx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x45bb49
mov eax, dword [edx + 0xc]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x45bb49
mov eax, dword [edx + 8]
mov dword [eax], ebp
add eax, 4
mov dword [edx + 8], eax
jmp 0x45bb5b
mov eax, dword [edx + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edx
push 1
push eax
call fcn.004591d0
mov edx, dword [edi + 0x34]
test dword [edx + 0x1c], 0x10000000
je 0x45bb8e
mov esi, dword [0x560d4c]
call fcn.00446f60
cmp edi, esi
je 0x45bb8e
mov esi, dword [0x560d4c]
call fcn.00446f60
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x1c8]
test ecx, ecx
je 0x45bbb8
mov esi, dword [ebx + 0x74]
mov edx, dword [esi + 4]
lea ebp, [ebx + 0x70]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00469040
push 1
mov ecx, ebp
mov edi, eax
call fcn.00458a30
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [ebx + 0xf8]
mov dword [esp + 0x10], eax
jne 0x45ba10
mov dword [esp + 0x3c], vtable.cTimerStatus.0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x78], 3
call dword [0x4ef098]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub eax, ebp
push eax
push edx
call fcn.00409d70
mov eax, dword [ebx + 0x58]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x74], 1
je 0x45bc37
mov ebp, dword [esp + 0x7c]
mov edi, dword [esi + 8]
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call dword [edx + 0x90]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x58]
jne 0x45bc11
mov eax, dword [ebx + 0x58]
mov esi, dword [eax]
lea esp, [esp]
mov edi, dword [ebx + 0x58]
cmp esi, edi
je 0x45bc59
mov ecx, dword [esi + 8]
call fcn.004583b0
test al, al
jne 0x45bc59
mov esi, dword [esi]
cmp esi, edi
jne 0x45bc47
cmp esi, dword [ebx + 0x58]
je 0x45bc97
mov edi, dword [esi + 8]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp esi, dword [ebx + 0x58]
mov edi, dword [esi]
je 0x45bc93
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call fcn.004750a4
mov eax, dword [ebx + 0x5c]
add esp, 4
dec eax
mov dword [ebx + 0x5c], eax
mov esi, edi
jmp 0x45bc40
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x45bd49
mov esi, dword [eax + 8]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x88]
test eax, eax
je 0x45bd36
mov eax, dword [ebx + 0x74]
mov ebp, dword [eax]
cmp ebp, eax
je 0x45bd36
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe4]
test al, al
jne 0x45bd1a
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x84]
test al, al
je 0x45bd1a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
cmp edi, eax
jne 0x45bcff
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x88]
test eax, eax
jne 0x45bd24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
cmp edi, eax
je 0x45bd1a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x88]
test eax, eax
jne 0x45bd24
mov ebp, dword [ebp]
cmp ebp, dword [ebx + 0x74]
jne 0x45bcc4
jmp 0x45bd36
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x8c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebx + 0x58]
mov dword [esp + 0x10], eax
jne 0x45bca8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45bd6a
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ebx + 0x58]
push esi
push eax
push ecx
push edx
lea ecx, [ebx + 0x54]
call fcn.004593c0
mov eax, dword [ebx + 0xd0]
mov ebp, dword [eax]
cmp ebp, eax
je 0x45be05
lea ebx, [ebx]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 0x78]
test eax, eax
mov esi, dword [esi + 0x14]
mov dword [esp + 0x18], esi
jne 0x45bdb1
mov ecx, dword [ebx + 0x90]
test ecx, ecx
lea edx, [ebx + 0x8c]
jne 0x45bdbf
xor edi, edi
jmp 0x45bdc7
mov ecx, dword [ebx + 0x64]
test ecx, ecx
lea edx, [ebx + 0x60]
jne 0x45bdbf
xor edi, edi
jmp 0x45bdc7
mov edi, dword [edx + 8]
sub edi, ecx
sar edi, 2
test ecx, ecx
je 0x45bde4
mov eax, dword [edx + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x45bde4
mov eax, dword [edx + 8]
mov dword [eax], esi
add eax, 4
mov dword [edx + 8], eax
jmp 0x45bdf6
mov eax, dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, edx
push eax
call fcn.004591d0
mov ebp, dword [ebp]
cmp ebp, dword [ebx + 0xd0]
jne 0x45bd80
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x138], 0
mov ebp, dword [eax]
cmp ebp, eax
je 0x45be84
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x34]
test eax, eax
je 0x45be7c
mov ecx, dword [ebx + 0x138]
inc ecx
lea edx, [ebx + 0x60]
mov dword [ebx + 0x138], ecx
mov ecx, dword [edx + 4]
test ecx, ecx
mov dword [esp + 0x18], edi
jne 0x45be45
xor esi, esi
jmp 0x45be4d
mov esi, dword [edx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x45be6a
mov eax, dword [edx + 0xc]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x45be6a
mov eax, dword [edx + 8]
mov dword [eax], edi
add eax, 4
mov dword [edx + 8], eax
jmp 0x45be7c
mov eax, dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
mov ecx, edx
call fcn.004591d0
mov ebp, dword [ebp]
cmp ebp, dword [ebx + 0x58]
jne 0x45be18
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
mov edx, eax
sub edx, ecx
push 0x457710
sar edx, 2
push edx
push eax
push ecx
call fcn.0045abb0
add esp, 0x10
mov ecx, ebx
call fcn.004598c0
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
cmp esi, eax
mov edi, dword [esp + 0x7c]
je 0x45bec5
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x10]
jne 0x45beb5
mov ecx, ebx
call fcn.00459060
mov eax, dword [ebx + 0x130]
mov esi, dword [eax]
cmp esi, eax
je 0x45bef3
jmp 0x45bee0
mov ecx, dword [esi + 8]
push edi
call fcn.0044bf50
mov esi, dword [esi]
cmp esi, dword [ebx + 0x130]
jne 0x45bee0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x24]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x28], edi
je 0x45bf25
mov esi, dword [eax]
push eax
call fcn.004750a4
mov ecx, dword [esp + 0x28]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x45bf10
push ecx
call fcn.004750a4
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x54], vtable.cTimerStatus.0
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x78], 4
call dword [0x4ef098]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub edx, edi
push edx
push eax
call fcn.00409d70
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4