Function at 0x42d8e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b10d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], 0x165
mov dword [ebp - 0x8c], 0xa9a2f8
cmp dword [ebp - 0x44], 0x24a
jle 0x42d9c1
and dword [ebp - 0x1c], 0
jmp 0x42d934
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e3c
jge 0x42d9c1
and dword [ebp - 0x24], 0
jmp 0x42d94e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2254
jge 0x42d9bc
and dword [ebp - 0x18], 0
jmp 0x42d964
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x71ff
jge 0x42d9ba
mov ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xb4]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a8d0
push eax
call fcn.0049b1a7
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.0040a8c6
jmp 0x42d95d
jmp 0x42d947
jmp 0x42d92d
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x42db3d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x42da54
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x42da32
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x42da4f
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.0040ad1e
mov dword [eax], 0xe9646b8d
jmp 0x42da27
jmp 0x42db3b
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.0040ad1e
cmp dword [eax], 0
jl 0x42da9c
mov dword [ebp - 0x30], 1
jmp 0x42daa0
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x7c7e
jl 0x42dab4
mov dword [ebp - 0x2c], 1
jmp 0x42dab8
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
imul esi, dword [ebp - 0x2c]
push 2
mov ecx, dword [ebp - 0x20]
call fcn.0040ad1e
cmp esi, dword [eax]
jle 0x42dad8
mov dword [ebp - 0x38], 1
jmp 0x42dadc
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x42daef
mov dword [ebp - 0x54], 1
jmp 0x42daf3
and dword [ebp - 0x54], 0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.0040ad1e
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x42db0f
mov dword [ebp - 0x34], 1
jmp 0x42db13
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jle 0x42db24
mov dword [ebp - 0x3c], 1
jmp 0x42db28
and dword [ebp - 0x3c], 0
imul esi, dword [ebp - 0x3c], 0x51ea
push 1
mov ecx, dword [ebp - 0x20]
call fcn.0040ad1e
mov dword [eax], esi
jmp 0x42db88
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
push 0xa3f
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
call fcn.004122f3
add esp, 0x20
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0xcc
jge 0x42dba1
push dword [ebp - 0x8c]
call fcn.0049b1a7
pop ecx
jmp 0x42dbbd
or dword [ebp - 4], 0xffffffff
jmp 0x42dbc7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret