Function at 0x4a0280
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4b4
call fcn.00492530
mov dword [ebp - 0x4a0], eax
test eax, eax
je 0x4a0ee6
mov esi, dword [ebp - 0x4a0]
mov eax, dword [esi]
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0x3b77
call fcn.00492d60
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], 0x571e28
mov dword [esp], ebx
xor ebx, ebx
call fcn.00493590
xor eax, eax
mov ecx, 0x1b
lea edi, [ebp - 0x478]
mov esi, dword [ebp - 0x4a0]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x494]
mov eax, dword [ebx*8 + 0x57abf4]
mov dword [ebp - 0x488], 0x7c
mov dword [ebp - 0x484], 7
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x480], pe_nt_image_headers32
mov dword [ebp - 0x47c], pe_nt_image_headers32
mov eax, dword [esi]
mov dword [esp + 8], edx
lea edx, [ebp - 0x488]
mov dword [esp + 0xc], 0
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x18]
sub esp, 0x10
test eax, eax
js 0x4a0ec0
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x48c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x55dbf0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov esi, dword [ebx*8 + 0x57abf8]
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3b87
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x5740dc
call fcn.00493590
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x490]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x55dbd0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3b89
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x574114
mov dword [esp], eax
call fcn.00493590
mov dword [ebp - 0x498], esi
xor edx, edx
mov dword [ebp - 0x4a4], ebx
nop
mov ebx, dword [edx*4 + 0x57ab80]
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov esi, 0x80070057
mov dword [ebp - 0x49c], edx
lea edx, [ebp - 0x40c]
cmp ebx, 0x6c
mov dword [ebp - 0x40c], ebx
cmove esi, eax
mov eax, dword [ebp - 0x48c]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x498]
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3b92
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
lea edi, [ebp - 0x40c]
mov dword [esp], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0x57414c
call fcn.00493590
xor eax, eax
mov ecx, 0x100
lea edx, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x40c], ebx
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x498]
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3b99
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x40c]
mov dword [esp + 8], edi
lea edi, [ebp - 0x40c]
mov dword [esp], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0x57414c
call fcn.00493590
xor eax, eax
mov ecx, 0x100
cmp ebx, 0x7c
rep stosd dword es:[edi], eax
mov edi, 0x80070057
mov dword [ebp - 0x40c], ebx
cmove edi, eax
mov eax, dword [ebp - 0x494]
mov ecx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov esi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x498]
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3ba0
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x57414c
mov dword [esp], eax
call fcn.00493590
mov edx, dword [ebp - 0x49c]
add edx, 1
cmp edx, 0xf
jne 0x4a0420
mov ebx, dword [ebp - 0x4a4]
mov esi, dword [ebp - 0x498]
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x4a8], ebx
jmp 0x4a0901
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x40c], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x394], 0xdeadbeef
mov byte [ebp - 0x390], 0xef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
sub esp, 0x14
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bcb
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x49c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x57414c
movzx eax, al
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bcd
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x57417c
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bcf
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x5741ac
mov dword [esp], eax
call fcn.00493590
test edi, edi
jns 0x4a0b80
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x40c], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x394], 0xdeadbeef
mov byte [ebp - 0x390], 0xef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
sub esp, 0x14
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3be5
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x49c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x57414c
movzx eax, al
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3be7
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x57417c
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3be9
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x5741ac
mov dword [esp], eax
call fcn.00493590
test edi, edi
js 0x4a08eb
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bed
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5741dc
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bef
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57420c
mov dword [esp], eax
call fcn.00493590
cmp ebx, 0x7c
sbb edi, edi
call fcn.0054f6e0
and edi, 0xdeadbeef
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bf2
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57423c
mov dword [esp], eax
call fcn.00493590
mov eax, dword [ebp - 0x494]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
add dword [ebp - 0x498], 1
mov eax, dword [ebp - 0x498]
cmp eax, 0xf
je 0x4a0cf0
mov eax, dword [ebp - 0x498]
mov ecx, 0x100
lea edi, [ebp - 0x40c]
mov ebx, dword [eax*4 + 0x57ab80]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48c]
mov byte [ebp - 0x390], 0xef
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x394], 0xdeadbeef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
mov ecx, 0x80070057
mov edi, eax
mov eax, ebx
sub esp, 0x14
and eax, 0xffffffef
cmp eax, 0x6c
mov eax, 0
cmovne eax, ecx
mov dword [ebp - 0x49c], eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bb1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x49c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x57414c
movzx eax, al
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bb3
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x57417c
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bb5
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x5741ac
mov dword [esp], eax
call fcn.00493590
test edi, edi
js 0x4a05d0
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bb9
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5741dc
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bbb
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57420c
mov dword [esp], eax
call fcn.00493590
cmp ebx, 0x7b
jbe 0x4a0cd8
mov ecx, dword [0x628750]
xor eax, eax
test ecx, ecx
setne al
xor edi, edi
mov dword [ebp - 0x4a4], eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x4a4]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4a0b4c
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bbf
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57423c
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4a0b08
mov eax, dword [ebp - 0x48c]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
jmp 0x4a05d0
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bd3
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5741dc
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bd5
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57420c
mov dword [esp], eax
call fcn.00493590
cmp ebx, 0x7b
jbe 0x4a0cc0
mov edx, dword [0x628750]
xor eax, eax
test edx, edx
setne al
xor edi, edi
mov dword [ebp - 0x4a4], eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x4a4]
mov edx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add edx, edx
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4a0c84
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3bd9
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x57423c
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4a0c40
mov eax, dword [ebp - 0x490]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
jmp 0x4a06ed
mov dword [ebp - 0x4a4], 0
mov edi, 0xdeadbeef
jmp 0x4a0c1c
mov dword [ebp - 0x4a4], 0
mov edi, 0xdeadbeef
jmp 0x4a0ae2
mov eax, dword [ebp - 0x494]
mov ebx, dword [ebp - 0x4a8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x490]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x48c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
add ebx, 1
cmp ebx, 3
jne 0x4a02e7
xor esi, esi
lea esi, [esi]
nop
mov eax, 0xcccccccc
mov ecx, 0x100
lea edi, [ebp - 0x40c]
mov ebx, dword [esi*4 + 0x57ab80]
rep stosd dword es:[edi], eax
mov edx, 0x80070057
mov eax, ebx
mov dword [ebp - 0x40c], ebx
and eax, 0xffffffef
cmp eax, 0x6c
cmove edx, ecx
mov ecx, dword [ebp - 0x4a0]
mov eax, dword [ecx]
mov dword [ebp - 0x498], edx
lea edx, [ebp - 0x40c]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0x30]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3c06
xor eax, eax
mov dword [esp + 0x10], ebx
mov edx, dword [ebp - 0x498]
mov dword [esp + 8], edi
cmp edx, edi
mov dword [esp + 0xc], edx
sete al
mov dword [esp + 4], 0x574274
mov dword [esp], eax
call fcn.00493590
test edi, edi
js 0x4a0e74
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3c09
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0xc], ebx
cmp eax, 0x7c
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x57429a
movzx eax, al
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3c0a
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5742b2
cmp byte [ebp + ebx - 0x40c], 0xcc
sete al
mov dword [esp], eax
call fcn.00493590
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x3c0b
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5742cc
cmp byte [ebp + ebx - 0x40d], 0xcc
setne al
mov dword [esp], eax
call fcn.00493590
add esi, 1
cmp esi, 0xf
jne 0x4a0d40
mov esi, dword [ebp - 0x4a0]
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x3c10
call fcn.00492d60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x573cd8
mov dword [esp], eax
call fcn.00493590
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x3b83
call fcn.00492d60
mov eax, dword [ebx*8 + 0x57abf8]
mov dword [esp], 0x5740b8
mov dword [esp + 4], eax
call fcn.00492ff0
jmp 0x4a0d29
mov eax, 0x3b73
call fcn.00492d60
mov dword [esp], 0x57409c
call fcn.00492ff0
jmp 0x4a0eb8