Function at 0x401530
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push ebx
push esi
push edi
push 0x320
lea eax, [ebp - 0x334]
push 0
push eax
mov dword [ebp - 0x338], 0
call fcn.00402e00
mov esi, 0x1c6
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0x5d54
mov dword [ebp - 0x10], 0xd11
mov dword [ebp - 8], 0x8c
mov dword [ebp - 0xc], 0x7aec
xor edi, edi
inc edi
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x40159d
inc edi
cmp edi, 0x50f5
jl 0x401584
call fcn.004030f0
mov dword [ebp - 0x2dc], eax
mov ecx, 0x4ec9
mov eax, 0xb11fd3b9
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4015b5
lea eax, [ebp - 0x268]
push eax
push 0x1422
call fcn.00401260
lea eax, [ebp - 0x1ec]
push eax
push 0x1c56
call fcn.00401260
lea eax, [ebp - 0x1ec]
push 0x157ed55e
push eax
call fcn.00401bb0
add esp, 0x18
mov edi, 0x374f
mov eax, 0x5254e78f
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401605
mov eax, 0x7c80
mov edx, 0x68
mov ecx, 0x61
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x401627
mov ecx, 0x5f6b
mov eax, 0xb81702e1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401634
xor ebx, ebx
jmp 0x401650
inc ebx
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x40166b
inc ebx
cmp ebx, 0x5830
jl 0x401650
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x268]
push 9
push eax
call fcn.00402e60
add esp, 0xc
mov eax, 0x75ce
mov edx, 0x5b
xor ebx, ebx
mov ecx, 0x89
lea esp, [esp]
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4016a0
mov edi, 0x47d
lea ecx, [ecx]
mov eax, 0x634c0635
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4016b0
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402d80
lea eax, [ebp - 0x3c]
push eax
call fcn.004026b0
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x268]
push eax
push 0x3368
call fcn.00401260
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x268]
push 0x14
push eax
call fcn.00402e60
push edi
push edi
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x2e4]
lea eax, [ebp - 0x1fc]
push eax
call fcn.00402340
add esp, 0x34
mov dword [ebp - 0x24], eax
xor esi, esi
jmp 0x401730
inc esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x401749
inc esi
cmp esi, 0x754f
jl 0x401730
lea eax, [ebp - 0x2b8]
push eax
push 0x1c
lea eax, [ebp - 0x64]
push eax
push 0
call fcn.004030f0
push eax
push 0xffffffffffffffff
call dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
xor edi, edi
inc edi
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x40178b
add edi, 2
cmp edi, 0x1c34
jl 0x401770
mov eax, 0x26af
mov edx, 0xb9
mov edi, 0x6ab4
mov ecx, 0x88
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4017a7
cmp dword [ebp - 0x1c], ebx
jge 0x4017d7
mov ecx, 0x1d80
mov edx, 0xcd
mov eax, 0x57
cmp eax, 0xcd
cmovl eax, edx
dec ecx
jne 0x4017c3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x50], 0x40
jne 0x40188f
xor ebx, ebx
inc ebx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x4017fe
add ebx, 2
cmp ebx, 0x1c34
jl 0x4017e3
lea eax, [ebp - 0x268]
push eax
push 0x27a
call fcn.00401260
add esp, 8
mov eax, 0x624b
mov edx, 0x94
xor ebx, ebx
mov ecx, 0x1a
jmp 0x401830
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x401830
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x268]
push 0x16
push eax
call fcn.00402e60
add esp, 0xc
xor ecx, ecx
inc ecx
mov eax, ecx
and eax, 0x80000007
jns 0x401861
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401864
inc ecx
cmp ecx, 0x4e7e
jl 0x401852
push 0
push 0
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x2e4]
lea eax, [ebp - 0x1fc]
push eax
call fcn.00402340
add esp, 0x14
mov dword [ebp - 0x48], eax
call fcn.004030f0
mov dword [ebp - 0x204], eax
mov esi, 0x7486
nop
mov eax, 0x3949660b
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4018a0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2cc], eax
xor ecx, ecx
test edi, edi
je 0x4018e3
jmp 0x4018d0
mov eax, 0x44d72045
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4018d0
mov edx, dword [ebp - 0x204]
mov eax, dword [ecx + edx]
xor eax, 0x2aa994b
mov dword [ebp - 0x2f0], eax
cmp al, 0xcc
jne 0x401912
cmp ah, 0x7c
jne 0x401912
cmp byte [ebp - 0x2ee], 0x33
jne 0x401912
cmp byte [ebp - 0x2ed], 0x92
je 0x401944
test esi, esi
je 0x401930
mov eax, 0x92f11385
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401916
jmp 0x401930
inc ebx
cmp ebx, 0x7a88
jl 0x401930
inc ecx
cmp ecx, 0x18000
jb 0x4018c4
jmp 0x40194c
add ecx, edx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x2b0], 0xa1680d6
mov dword [ebp - 0x18], 0xa16a0d6
mov ecx, 0x7a9a
mov eax, 0x10624dd3
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401962
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x26c], 0xa1681d6
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x2d0], 0x42a00
mov dword [ebp - 0x1f0], 0x2000
nop
mov eax, 0x51eb851f
imul dword [ebp - 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x14], eax
jne 0x4019a0
mov eax, 0x786f
lea esp, [esp]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
test eax, eax
jne 0x4019c0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x401a48
lea ecx, [ebp - 0x278]
push ecx
push 0x40
lea ecx, [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x270]
push ecx
push 0xffffffffffffffff
call eax
mov ecx, 0x7c00
lea ecx, [ecx]
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401a00
mov eax, 0x5f2e
mov edx, 0xf5
mov ecx, 0x57
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x401a24
lea eax, [ebp - 0x278]
push eax
push 0x40
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x2dc]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x48]
mov ecx, 0x24cd
lea ecx, [ecx]
mov eax, 0xbfa02fe9
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401a50
lea eax, [ebp - 0x1ec]
push 0x2aa994b
push eax
call fcn.00401bb0
add esp, 8
mov eax, 0x75b0
mov edx, 0x34
mov ecx, 0x7b
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x401a88
mov eax, dword [ebp - 0x300]
test eax, eax
je 0x401ad0
lea ecx, [ebp - 0x1ec]
push ecx
push 0x42a00
push eax
call fcn.00402e60
add esp, 0xc
nop
mov eax, 0x51eb851f
imul dword [ebp - 0x10]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x10], eax
jne 0x401ab0
jmp 0x401ad0
mov eax, 0x36406c81
imul dword [ebp - 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x401ad0
call fcn.004030f0
mov dword [ebp - 0x2a4], eax
add eax, 0xfffffffe
push eax
push dword [ebp - 0x68]
call fcn.00401180
add esp, 8
mov eax, 0x6fde
mov edx, 0x44
mov ecx, 0xf3
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x401b10
lea eax, [ebp - 0x338]
push eax
push 0x42a00
push dword [ebp - 0x300]
call fcn.00401c50
mov esi, dword [ebp - 0x300]
add esp, 0xc
add esi, 0x2c370
mov dword [ebp - 4], esi
mov esi, 0x529b
mov eax, 0x38e38e39
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401b46
lea eax, [ebp - 0x338]
push 0x324
push eax
call section..text
mov esi, dword [ebp - 4]
add esp, 8
call esi
mov ecx, 0x66a2
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401b77
lea esp, [esp]
mov eax, 0x621b97c3
imul dword [ebp - 0xc]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc], eax
jne 0x401b90
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret