Function at 0x405ed9
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0x10], 0xb6b84a9d
mov ebx, dword [ebp - 0x40]
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp eax, 0xd7079ddb
jle 0x405f71
cmp eax, 0x1b4541f8
jle 0x405fd8
cmp eax, 0x55701328
jg 0x406095
cmp eax, 0x2ad68010
jle 0x406201
cmp eax, 0x2ad68011
je 0x40638b
cmp eax, 0x3ebb34a7
je 0x4063ab
cmp eax, 0x4e040974
jne 0x405eee
add ebx, 0x4a
shr ebx, 3
and ebx, 0xffffffe0
imul ebx, ebx, 0x52
shr ebx, 0xb
add ebx, 0xffffff4b
push ebx
push 0x1d69
call fcn.0040453b
add esp, 8
mov eax, 0xb6b84a9d
cmp ebx, 0x61
jae 0x406686
mov eax, 0xd1ddbb78
jmp 0x406686
cmp eax, 0xbb1da566
jle 0x40601e
cmp eax, 0xceb89f53
jg 0x4060dc
cmp eax, 0xc8eb5411
jle 0x406223
cmp eax, 0xc8eb5412
je 0x4063b7
cmp eax, 0xc97a4cda
je 0x4063c3
cmp eax, 0xcb360944
jne 0x405eee
push 0x200
call fcn.00448a24
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
add eax, 5
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0x2ad68011
jmp 0x405eee
cmp eax, 0xec948aa2
jg 0x40611b
cmp eax, 0xdeb94a34
jle 0x40626d
cmp eax, 0xdeb94a35
je 0x4063db
cmp eax, 0xe3e203cd
je 0x406588
cmp eax, 0xebc7d899
jne 0x405eee
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0xbb1da567
jmp 0x405eee
cmp eax, 0x9228fb62
jle 0x4061ab
cmp eax, 0xa397ae2f
jle 0x4062a2
cmp eax, 0xa397ae30
je 0x406404
cmp eax, 0xb6b84a9d
je 0x406425
cmp eax, 0xbab24ea3
jne 0x405eee
shr ebx, 0xd
add ebx, 0xffffff49
shr ebx, 4
imul ebx, ebx, 0xcf
add ebx, 0xffffe215
push ebx
push 0x5336
call fcn.0040461c
fstp st(0)
add esp, 8
mov eax, 0xc97a4cda
cmp ebx, 0x48
je 0x406686
mov eax, 0x9228fb63
jmp 0x406686
cmp eax, 0x630777f4
jle 0x4062e8
cmp eax, 0x630777f5
je 0x406440
cmp eax, 0x66e71dfc
je 0x406470
cmp eax, 0x7ecb0972
jne 0x405eee
imul eax, dword [ebp - 0x14], 0x170
add eax, 0x261c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf4ed3cf2
jmp 0x405eee
cmp eax, 0xd1ddbb77
jle 0x406303
cmp eax, 0xd1ddbb78
je 0x40648d
cmp eax, 0xd2333425
je 0x4064ab
cmp eax, 0xd3aa9fc6
jne 0x405eee
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0xceb89f54
jmp 0x405eee
cmp eax, 0xf4ed3cf1
jle 0x406332
cmp eax, 0x2a0ca48
je 0x4064e4
cmp eax, 0x6610955
jne 0x40668e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
mov esi, dword [ebp - 0x18]
mov dword [esi + 4], edi
push 0x45e090
push 0x864087d1
call fcn.00439a28
add esp, 8
push dword [ebp - 0x18]
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x1c]
call eax
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x24]
call fcn.00448680
add esp, 4
push dword [ebp - 0x20]
call fcn.00448680
add esp, 4
mov dword [ebp - 0x10], 0x7ecb0972
jmp 0x405eee
cmp eax, 0x856f3886
jg 0x40635b
cmp eax, 0x80d61a96
je 0x406500
cmp eax, 0x855476af
jne 0x405eee
mov eax, dword [ebp - 0x14]
shr eax, 0xc
lea ecx, [eax - 0x5a]
imul eax, eax
shr ecx, 0xc
imul edx, eax, 0x2ba5
dec edx
add ecx, 0x20
shr ecx, 5
mov dword [ebp - 0x14], ecx
mov ecx, 0xec948aa3
cmp eax, edx
je 0x4061f9
mov ecx, 0x2a0ca48
mov dword [ebp - 0x10], ecx
jmp 0x405eee
cmp eax, 0x1b4541f9
je 0x406517
cmp eax, 0x1d1bfa05
jne 0x405eee
mov dword [ebp - 0x10], 0x88a3f494
jmp 0x405eee
cmp eax, 0xbb1da567
je 0x4065a3
cmp eax, 0xbda6ef7c
jne 0x405eee
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.0040bd29
add esp, 0xc
push dword [ebp - 0x2c]
call fcn.004041d1
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0x1d1bfa05
jmp 0x405eee
cmp eax, 0xd7079ddc
je 0x406550
cmp eax, 0xde454cd4
jne 0x405eee
imul eax, dword [ebp - 0x14], 0x194000
shr eax, 4
imul eax, eax, 0x63f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xec948aa3
jmp 0x405eee
cmp eax, 0x9228fb63
je 0x4065af
cmp eax, 0x9bbcc365
jne 0x405eee
mov ecx, dword [ebp - 0x14]
shr ecx, 1
lea eax, [ecx*4 - 0x104]
imul ecx, ecx
imul edx, ecx, 0x4cd7
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0xbda6ef7c
cmp ecx, edx
je 0x406686
mov eax, 0xf27b69ff
jmp 0x406686
cmp eax, 0x55701329
je 0x4065f3
cmp eax, 0x5f925468
je 0x40652e
jmp 0x405eee
cmp eax, 0xceb89f54
je 0x40661d
cmp eax, 0xd0905a80
jne 0x405eee
mov eax, dword [ebp - 0x14]
shr eax, 1
and eax, 0xffffe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xebc7d899
jmp 0x405eee
cmp eax, 0xec948aa3
je 0x406629
cmp eax, 0xf27b69ff
jne 0x405eee
mov dword [ebp - 0x28], 0x200
mov dword [ebp - 0x10], 0x855476af
jmp 0x405eee
cmp eax, 0x856f3887
je 0x406651
cmp eax, 0x88a3f494
jne 0x405eee
push dword [ebp - 0x44]
call fcn.0040451f
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0xde454cd4
jmp 0x405eee
mov eax, dword [ebp - 0x14]
shl eax, 8
and eax, 0x7ffff00
lea eax, [eax + eax*8]
lea eax, [eax + eax*4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xdeb94a35
jmp 0x405eee
mov dword [ebp - 0x10], 0x9228fb63
jmp 0x405eee
mov dword [ebp - 0x10], 0xd3aa9fc6
jmp 0x405eee
imul ebx, ebx, 0x11000
add ebx, 0xfffffb99
mov dword [ebp - 0x10], 0x2a0ca48
jmp 0x405eee
mov eax, dword [ebp - 0x28]
add eax, 0xfffffffb
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp - 0x50]
push dword [ebp - 0x24]
call fcn.0043fc00
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xd0905a80
jmp 0x405eee
imul eax, ebx, 0x94
shr eax, 6
imul ebx, eax, 0x1ec00
add ebx, 0x1710000
mov dword [ebp - 0x10], 0xec948aa3
jmp 0x405eee
push eax
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xc8eb5412
jmp 0x405eee
mov ecx, dword [ebp - 0x14]
add ecx, 0xffffffee
imul eax, ecx, 0xbf
imul ecx, ecx
imul edx, ecx, 0xcad
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0xa397ae30
cmp ecx, edx
je 0x406686
mov eax, 0x3ebb34a7
jmp 0x406686
add ebx, 0xffffffb4
mov eax, 0x88a3f494
cmp ebx, 0x6800
jb 0x406485
mov eax, 0xd3aa9fc6
shr ebx, 7
jmp 0x406686
shl ebx, 0xd
mov eax, 0xf27b69ff
add ebx, 0xfff8c000
je 0x406686
mov eax, 0xd3aa9fc6
jmp 0x406686
shr ebx, 5
add ebx, 0xffffffb9
push 0x59c6
push 0x376f
push ebx
push 0x2201
call fcn.004066aa
add esp, 0x10
mov eax, 0x6610955
cmp ebx, 0x98
je 0x406686
mov eax, 0x856f3887
jmp 0x406686
push 0x200
call fcn.00448a24
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x630777f5
jmp 0x405eee
mov dword [ebp - 0x38], ebx
popal
jmp 0x406504
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
cmp eax, 0xcd03
je 0x406550
movzx eax, ax
cmp eax, 0xf0b
jne 0x406588
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x157]
imul ecx, ecx
imul edx, ecx, 0x20dd
dec edx
add eax, 0xfffffdfa
mov dword [ebp - 0x14], eax
mov eax, 0xa17801ba
jmp 0x406576
mov eax, dword [ebp - 0x14]
mov ecx, 0xae
add eax, ecx
mov ecx, eax
imul ecx, eax
shr eax, 0xc
imul edx, ecx, 0x757d
dec edx
add eax, 0xf8
mov dword [ebp - 0x14], eax
mov eax, 0xf27b69ff
cmp ecx, edx
je 0x406686
mov eax, 0x80d61a96
jmp 0x406686
imul eax, dword [ebp - 0x14], 0x49200
add eax, 0x16300
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xcb360944
jmp 0x405eee
mov dword [ebp - 0x10], 0x6610955
jmp 0x405eee
push 0x45e090
push 0xe8ff1073
call fcn.00439a28
add esp, 8
push edi
push edi
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x20]
push 1
push edi
push dword [ebp - 0x4c]
call eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0xcc
mov eax, 0x80d61a96
je 0x406686
mov eax, 0x1b4541f9
jmp 0x406686
mov esi, ebx
add esi, 0xfffffe23
mov ebx, esi
shr ebx, 0xf
push ebx
call fcn.00405cec
add esp, 4
mov eax, 0xcb360944
cmp esi, 0x348000
jb 0x406686
mov eax, 0xbda6ef7c
jmp 0x406686
mov dword [ebp - 0x10], 0xbda6ef7c
jmp 0x405eee
push 0x45e06d
call fcn.00435bac
add esp, 4
push eax
push dword [ebp - 0x48]
call fcn.004045e8
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], 0x9bbcc365
jmp 0x405eee
add ebx, 0x60
shr ebx, 0x10
and ebx, 0xfffffff0
imul ebx, ebx, 0xbe
add ebx, 0xfff89400
push ebx
push 0x51de
call fcn.00404636
add esp, 8
mov eax, 0x6610955
cmp ebx, 0xfa
jb 0x406686
mov eax, 0x55701329
mov dword [ebp - 0x10], eax
jmp 0x405eee
cmp eax, 0xf4ed3cf2
jne 0x405eee
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret