Function at 0x539322
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [0x67f178]
push edi
mov edi, ecx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp - 8], edi
call fcn.0042a1cb
xor ecx, ecx
xor ebx, ebx
cmp dword [eax + 4], ebx
sete cl
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ecx
je 0x53935c
push ebx
lea ecx, [ebp - 0x30]
call fcn.004fd6ba
cmp dword [ebp - 0x18], ebx
je 0x539396
lea eax, [edi + 0x53c]
xor edx, edx
mov ecx, eax
cmp dword [ecx], ebx
jne 0x539380
inc edx
add ecx, 0xc
cmp edx, 0x59
jl 0x53936b
push 1
pop eax
jmp 0x5395d5
push 0x42c
push ebx
push eax
call fcn.005fcf80
add esp, 0xc
xor eax, eax
jmp 0x5395d5
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0042a1cb
cmp dword [ebp - 0x24], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
je 0x5393b8
push ebx
lea ecx, [ebp - 0x28]
call fcn.004fd6ba
mov dword [ebp - 0x24], ebx
mov eax, dword [0x67f06c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
xor edi, edi
cmp edi, 0x36
jne 0x5393d3
push 0x2a
pop eax
jmp 0x5393d5
mov eax, edi
mov ecx, dword [ebp - 0x1c]
lea esi, [ecx + eax*8 + 0x104]
mov eax, dword [esi]
cmp eax, 1
mov dword [ebp - 0x14], ebx
je 0x539580
jle 0x539561
cmp eax, 3
jle 0x539406
cmp eax, 5
jg 0x539561
jmp 0x53959b
xor ecx, ecx
cmp eax, 2
setne cl
dec ecx
and ecx, 0xfffffffe
add ecx, 4
cmp ecx, 2
mov dword [ebp - 0xc], ecx
jne 0x53944b
mov eax, dword [esi + 4]
cdq
mov ecx, 0x2710
idiv ecx
cmp eax, 0xc8
je 0x53949a
cmp eax, 0xc9
je 0x53949a
cmp eax, 0xca
je 0x53949a
cmp eax, 0xcd
je 0x53949a
cmp eax, 0xd4
jne 0x539473
cmp dword [ebp - 0xc], 4
jne 0x53949a
mov ecx, dword [esi + 4]
mov eax, ecx
cdq
mov ebx, 0x2710
idiv ebx
sub eax, 0x194
je 0x539498
dec eax
je 0x53947b
dec eax
je 0x539471
dec eax
je 0x539471
sub eax, 5
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x53953c
mov eax, ecx
cdq
mov ecx, 0x3e8
idiv ecx
sub eax, 0xfd2
je 0x539471
dec eax
je 0x539471
dec eax
je 0x539471
dec eax
je 0x539471
dec eax
jmp 0x539471
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*4 + 0x1ce]
mov eax, dword [eax]
cmp eax, ebx
jne 0x5394b1
xor eax, eax
jmp 0x5394b4
mov eax, dword [eax - 4]
push 1
dec eax
pop ecx
cmp eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
jl 0x53950c
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.0042e2dd
cmp dword [ebp - 0x2c], 0
mov ebx, dword [eax + 4]
je 0x5394eb
push 0
lea ecx, [ebp - 0x30]
call fcn.004d7506
and dword [ebp - 0x2c], 0
test ebx, ebx
je 0x539501
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 4]
jne 0x539501
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
add dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x5394c2
mov ecx, dword [ebp - 8]
lea eax, [edi + edi*2]
lea ebx, [ecx + eax*4]
push 8
lea eax, [ebx + 0x53c]
push esi
push eax
call fcn.005fd3c0
add esp, 0xc
test eax, eax
jne 0x539536
mov eax, dword [ebp - 0x14]
cmp dword [ebx + 0x544], eax
je 0x53953a
and dword [ebp - 4], 0
xor ebx, ebx
mov ecx, dword [ebp - 8]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov ecx, dword [esi]
mov dword [eax + 0x53c], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x540], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x544], ecx
jmp 0x5395c8
mov ecx, dword [ebp - 8]
lea eax, [edi + edi*2]
cmp dword [ecx + eax*4 + 0x53c], ebx
lea eax, [ecx + eax*4 + 0x53c]
je 0x53957a
mov dword [ebp - 4], ebx
mov dword [eax], ebx
mov dword [esi], ebx
jmp 0x5395c8
mov ecx, dword [0x67ac28]
push ebx
push dword [esi + 4]
push dword [ebp - 0x18]
call fcn.0050b0cc
test eax, eax
jle 0x539561
cmp dword [esi + 4], ebx
je 0x539561
mov ecx, dword [ebp - 8]
lea eax, [edi + edi*2]
push 8
lea ebx, [ecx + eax*4 + 0x53c]
push esi
push ebx
call fcn.005fd3c0
add esp, 0xc
test eax, eax
je 0x5395bc
and dword [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
xor ebx, ebx
inc edi
cmp edi, 0x59
jl 0x5393c9
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret