Function at 0x4a9270
Capabilities:
Clear windows event logs
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4aa3ea
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004a75f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0xac]
mov dword [esp], ebp
mov esi, dword [esp + 0xb0]
mov dword [esp + 4], esi
mov edi, dword [esp + 0xb4]
mov dword [esp + 8], edi
call fcn.004a75f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0xc], ecx
jne 0x4aa04c
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403220
movzx eax, byte [esp + 0xc]
test al, al
je 0x4aa04c
nop
mov eax, dword [esp + 0xa8]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x11
ja 0x4a9acb
cmp eax, 0xc
ja 0x4a96ba
cmp eax, 1
je 0x4a9629
lea ecx, [eax - 2]
cmp ecx, 4
ja 0x4a94c3
cmp eax, 3
ja 0x4a9392
cmp eax, 2
jne 0x4a9381
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x4a93cf
mov ecx, dword [esp + 0xa4]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x4a93cf
cmp eax, 4
jne 0x4a93a8
mov ecx, dword [esp + 0xa4]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x4a93cf
cmp eax, 5
jne 0x4a93bd
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x4a93cf
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
nop
mov edx, dword [esp + 0xb4]
and edx, 0x1f
mov dword [esp + 0x64], edx
cmp edx, 3
ja 0x4a9412
cmp edx, 2
jne 0x4a93f8
mov edx, dword [esp + 0xb0]
mov edx, dword [edx]
mov ebx, edx
sar edx, 0x1f
jmp 0x4a9458
cmp edx, 3
jne 0x4aa3af
mov ebx, dword [esp + 0xb0]
movsx edx, byte [ebx]
mov ebx, edx
sar edx, 0x1f
jmp 0x4a9458
cmp edx, 4
jne 0x4a9428
mov ebx, dword [esp + 0xb0]
movsx edx, word [ebx]
mov ebx, edx
sar edx, 0x1f
jmp 0x4a9458
cmp edx, 5
jne 0x4a943d
mov ebx, dword [esp + 0xb0]
mov edx, dword [ebx]
mov ebx, edx
sar edx, 0x1f
jmp 0x4a9458
cmp edx, 6
jne 0x4aa3af
mov ebx, dword [esp + 0xb0]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
cmp eax, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setl bl
xchg esi, ebx
cmp ecx, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a94b1
cmp ecx, ebx
seta cl
cmp eax, edx
setg al
and ecx, ebp
or eax, ecx
test al, al
je 0x4a949f
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
cmp eax, 7
jb 0x4aa05e
cmp eax, 9
ja 0x4a9504
cmp eax, 7
jne 0x4a94e3
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
xor ecx, ecx
jmp 0x4a9534
cmp eax, 8
jne 0x4a94f6
mov ecx, dword [esp + 0xa4]
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x4a9534
mov ecx, dword [esp + 0xa4]
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x4a9534
cmp eax, 0xa
jne 0x4a9516
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x4a9534
cmp eax, 0xb
jne 0x4a9529
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x4a9534
mov edx, dword [esp + 0xa4]
mov eax, dword [edx]
xor ecx, ecx
nop
mov edx, dword [esp + 0xb4]
and edx, 0x1f
mov dword [esp + 0x64], edx
cmp edx, 9
ja 0x4a9584
cmp edx, 7
jne 0x4a955a
mov edx, dword [esp + 0xb0]
mov edx, dword [edx]
xor ebx, ebx
jmp 0x4a95be
cmp edx, 8
jne 0x4a956d
mov ebx, dword [esp + 0xb0]
movzx edx, byte [ebx]
xor ebx, ebx
jmp 0x4a95be
cmp edx, 9
jne 0x4aa375
mov ebx, dword [esp + 0xb0]
movzx edx, word [ebx]
xor ebx, ebx
jmp 0x4a95be
cmp edx, 0xa
jne 0x4a9596
mov ebx, dword [esp + 0xb0]
mov edx, dword [ebx]
xor ebx, ebx
jmp 0x4a95be
cmp edx, 0xb
jne 0x4a95a9
mov ebx, dword [esp + 0xb0]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x4a95be
cmp edx, 0xc
jne 0x4aa375
mov ebp, dword [esp + 0xb0]
mov edx, dword [ebp]
xor ebx, ebx
cmp ecx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
cmp eax, edx
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a9617
cmp eax, edx
seta al
cmp ecx, ebx
seta cl
and eax, ebp
or ecx, eax
test cl, cl
je 0x4a9605
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a51a0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x23], al
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004a51a0
movzx eax, byte [esp + 0x23]
cmp byte [esp + 0xc], al
je 0x4a96a8
test al, al
je 0x4a9696
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
cmp eax, 0xe
ja 0x4a9812
cmp eax, 0xd
je 0x4a96d6
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4a96ef
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00448f70
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
nop
mov edx, dword [esp + 0xb4]
and edx, 0x1f
cmp edx, 0xd
je 0x4a971e
cmp edx, 0xe
jne 0x4aa337
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
jmp 0x4a973f
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00448f70
mov ebx, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a976e
mov eax, 0xffffffff
jmp 0x4a9804
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a979a
mov eax, 1
jmp 0x4a9804
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a97ce
mov eax, 0xffffffff
jmp 0x4a9804
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a9802
mov eax, 1
jmp 0x4a9804
xor eax, eax
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
lea edx, [eax - 0xf]
cmp edx, 1
ja 0x4a9abb
cmp eax, 0xf
je 0x4a9837
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
jmp 0x4a987b
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov dword [esp], ecx
call fcn.00448f70
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.00448f70
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
nop
mov ebp, dword [esp + 0xb4]
and ebp, 0x1f
cmp ebp, 0xf
je 0x4a98b9
cmp ebp, 0x10
jne 0x4aa2f9
mov ebp, dword [esp + 0xb0]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
jmp 0x4a9905
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov dword [esp], ecx
call fcn.00448f70
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call fcn.00448f70
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a993c
mov eax, 0xffffffff
jmp 0x4a99d2
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a9968
mov eax, 1
jmp 0x4a99d2
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a999c
mov eax, 0xffffffff
jmp 0x4a99d2
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a99d0
mov eax, 1
jmp 0x4a99d2
xor eax, eax
test eax, eax
jne 0x4a9aad
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a9a09
mov eax, 0xffffffff
jmp 0x4a9a9f
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00449ba0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a9a35
mov eax, 1
jmp 0x4a9a9f
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a9a69
mov eax, 0xffffffff
jmp 0x4a9a9f
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.00449c00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a9a9d
mov eax, 1
jmp 0x4a9a9f
xor eax, eax
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
cmp eax, 0x11
jne 0x4aa05e
xor eax, eax
jmp 0x4aa1ef
cmp eax, 0x16
ja 0x4a9eb6
cmp eax, 0x12
je 0x4a9dc2
cmp eax, 0x14
je 0x4a9af0
cmp eax, 0x16
je 0x4a9ed4
jmp 0x4aa05e
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x14], esi
call fcn.004aa400
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test al, al
jne 0x4a9db4
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004a60d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004a75f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4a9b90
mov eax, dword [eax + 4]
test eax, eax
je 0x4a9c01
nop
movzx edx, byte [0x630fa0]
test dl, dl
je 0x4a9bc9
mov dword [0x630fa4], eax
mov edx, dword [0x6573b0]
test edx, edx
jne 0x4a9bb8
mov dword [0x630fa8], ecx
jmp 0x4a9bc9
lea edi, [0x630fa8]
mov edx, eax
mov eax, ecx
call fcn.0045f3d0
mov eax, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4a9bf9
nop
movzx edx, byte [eax + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4a9c07
or edx, 0x80
jmp 0x4a9c07
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4a9c07
xor edx, edx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 8], esi
call fcn.004a60d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004a75f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4a9c63
mov eax, dword [eax + 4]
test eax, eax
je 0x4a9cd4
nop
movzx edx, byte [0x630fa0]
test dl, dl
je 0x4a9c9c
mov dword [0x630fa4], eax
mov edx, dword [0x6573b0]
test edx, edx
jne 0x4a9c8b
mov dword [0x630fa8], ecx
jmp 0x4a9c9c
lea edi, [0x630fa8]
mov edx, eax
mov eax, ecx
call fcn.0045f3d0
mov eax, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4a9ccc
nop
movzx edx, byte [eax + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4a9cda
or edx, 0x80
jmp 0x4a9cda
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4a9cda
xor edx, edx
xor eax, eax
xor ecx, ecx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004a9270
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a9d18
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.004a60d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 8], ebx
call fcn.004a60d0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.004a9270
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov dword [esp + 0xb8], ecx
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x14], esi
call fcn.004aa400
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test al, al
jne 0x4a9ea8
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.004a6d70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004a6d70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
ja 0x4a9e96
jae 0x4a9e84
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov dword [esp + 0xb8], ecx
add esp, 0x9c
ret
cmp eax, 0x18
je 0x4a9f63
cmp eax, 0x19
jne 0x4a9ecb
xor eax, eax
jmp 0x4aa0d7
cmp eax, 0x1a
jne 0x4aa05e
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a6d70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.004a6d70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x4a9f51
jae 0x4a9f3f
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a7500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 8], edx
call fcn.004a7500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00402280
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4aa03a
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.00402280
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4aa028
mov dword [esp + 0xb8], 1
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0x9c
ret
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x80]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x54c3f3]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ce20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408c10
mov eax, dword [esp + 8]
lea ecx, [0x535040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004a6cc0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0xc], eax
jle 0x4aa1cf
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004a6280
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
call fcn.004a6280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004a9270
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aa0c9
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov edx, dword [esp + 0x28]
lea eax, [edx + 1]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004a66b0
mov eax, dword [esp + 0x28]
cmp dword [esp + 0xc], eax
jle 0x4aa2e7
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004a6370
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0xc], edi
call fcn.004a6370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004a9270
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aa1e1
mov dword [esp + 0xb8], eax
add esp, 0x9c
ret
mov dword [esp + 0xb8], 0
add esp, 0x9c
ret
mov dword [esp + 0x64], ebp
lea eax, [0x539800]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x54c519]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x5367c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
mov dword [esp + 0x64], edx
lea eax, [0x539800]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x54baab]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x5367c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
lea eax, [0x539800]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x54b40d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x5367c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
lea eax, [0x539800]
mov dword [esp], eax
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x54af37]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x5367c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
nop
call fcn.0045e000
jmp fcn.004a9270